Package | Description |
---|---|
edu.illinois.cs.cogcomp.lbjava |
Modifier and Type | Field and Description |
---|---|
protected AST |
Pass.ast
Stores the same thing as
root , but this variable is declared as AST
. |
Modifier and Type | Method and Description |
---|---|
void |
SemanticAnalysis.run(AST ast)
Runs this pass on all nodes of the indicated type.
|
void |
TranslateToJava.run(AST ast)
Runs this pass on all nodes of the indicated type.
|
void |
Train.run(AST ast)
Runs this pass on all nodes of the indicated type.
|
void |
PrintAST.run(AST node)
Runs this pass on all nodes of the indicated type.
|
void |
Pass.run(AST node)
One of the recursive "helper" methods for
run() . |
void |
Clean.run(AST ast)
Runs this pass on all nodes of the indicated type.
|
void |
ClassifierCSE.run(AST ast)
Runs this pass on all nodes of the indicated type.
|
static void |
SemanticAnalysis.runAndRestore(AST ast)
Running an instance of this pass overwrites the static member
variables; use this method to run an instance of this pass and then restore the static member
variables to their states before the pass was run.
|
static void |
Main.runSemanticAnalysis(AST ast)
Runs the semantic analysis pass on the specified AST, then prints errors and warnings if they
exist, and finally sets the
Main.generatedSourceDirectory and Main.classDirectory
variables. |
Constructor and Description |
---|
ClassifierCSE(AST ast)
Instantiates a pass that runs on an entire
AST . |
Clean(AST ast)
Instantiates a pass that runs on an entire
AST . |
DeclarationNames(AST ast)
Instantiates a pass that runs on an entire
AST . |
PrintAST(AST ast)
Instantiates a pass that runs on an entire
AST . |
RevisionAnalysis(AST ast)
Instantiates a pass that runs on an entire
AST . |
SemanticAnalysis(AST ast)
Instantiates a pass that runs on an entire
AST . |
Train(AST ast,
int output)
Instantiates a pass that runs on an entire
AST . |
TranslateToJava(AST ast)
Associates an AST with this pass.
|
Copyright © 2016. All rights reserved.