class
Run
A compiler run. Exports various methods to compile source files
Constructors
Run
(
comp:
Compiler
)
Run
(
implicit
ctx:
Context
)
Members
def
compile
(
fileNames:
List
[
String
]
)
: Unit
def
compile
(
sourceCode:
String
)
: Unit
TODO: There's a fundamental design problem here: We assemble phases using squash
when we first build the compiler. But we modify them with -Yskip, -Yst...
TODO: There's a fundamental design problem here: We assemble phases using squash
when we first build the compiler. But we modify them with -Yskip, -Ystop
on each run. That modification needs to either transform the tree structure,
or we need to assemble phases on each run, and take -Yskip, -Ystop into
account. I think the latter would be preferable.
protected
def
compileUnits
(
)
: Unit
Print summary; return # of errors encountered
Print summary; return # of errors encountered
The context created for this run
The context created for this run