Fantom

 

class

compiler::CompilationUnit

sys::Obj
  compiler::Node
    compiler::CompilationUnit

CompilationUnit models the top level compilation unit of a source file.

Slots

importedTypesSource

[Str:CType[]]? importedTypes

makeSource

new make(Loc loc, CPod pod)

podSource

CPod pod

printSource

override Void print(AstWriter out)

Overrides compiler::Node.print

Doc inherited from compiler::Node.print

Pretty print this node and it's descendants.

toStrSource

override Str toStr()

Overrides sys::Obj.toStr

Doc inherited from sys::Obj.toStr

Return a string representation of this object.

tokensSource

TokenVal[]? tokens

typesSource

TypeDef[] types

usingsSource

Using[] usings