|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--jltools.frontend.Job
A Job
encapsulates work done by the compiler on behalf of
one source file. It includes all information carried between phases
of the compiler.
Field Summary | |
protected Node |
ast
The AST constructed from the source file. |
protected Compiler |
compiler
The compiler which performs work for the job. |
protected ImportTable |
it
The import table constructed from the source file. |
protected Source |
source
The source file for the job. |
Constructor Summary | |
Job(Source s,
Compiler c)
Construct a new job for a given source and compiler. |
Method Summary | |
Node |
ast()
Get the job's AST. |
void |
ast(Node ast)
Set the job's AST. |
abstract Pass |
buildPass()
The build types pass. |
Compiler |
compiler()
The compiler which performs work for the job. |
abstract Pass |
disambTypesPass()
The disambiguate types pass. |
void |
dump(CodeWriter cw)
|
boolean |
equals(java.lang.Object o)
|
int |
hashCode()
|
ImportTable |
importTable()
The import table constructed from the source file. |
Source |
source()
The source file for the job. |
java.lang.String |
toString()
|
abstract Pass |
translatePass()
The translate pass. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
protected Source source
protected Compiler compiler
protected ImportTable it
protected Node ast
Constructor Detail |
public Job(Source s, Compiler c)
Method Detail |
public Node ast()
public void ast(Node ast)
public abstract Pass buildPass()
public abstract Pass disambTypesPass()
public abstract Pass translatePass()
public java.lang.String toString()
toString
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public Compiler compiler()
public ImportTable importTable()
public Source source()
public void dump(CodeWriter cw)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |