Fantom

 

class compiler::ScanForUsingsAndTypes

sys::Obj
  compiler::CompilerSupport
    compiler::CompilerStep
      compiler::ScanForUsingsAndTypes

Source

ScanForUsingsAndTypes is the first phase in a two pass parser. Here we scan thru the tokens to parse using declarations and type definitions so that we can fully define the namespace of types. The result of this step is to populate each CompilationUnit's using and types, and the PodDef.typeDefs map.

make

new make(Compiler compiler)

Source

Constructor takes the associated Compiler

run

virtual override Void run()

Source

Run the step