type

Document

@Js
class Document : Block

Document is the root node of the AST

constructors

fields

file

Get the file this document was generated from, or null if not known

methods

withFile

Set the file that was used to generate this document

Slot Details

file

File? file { private set }

Get the file this document was generated from, or null if not known

make

new make()

withFile

This withFile(File file)

Set the file that was used to generate this document