public class ClassifierCSE extends Pass
ClassifierName
s and LearningClassifierExpression
s.ast, canAddErrorsAndWarnings, fatalError, root
Constructor and Description |
---|
ClassifierCSE(AST ast)
Instantiates a pass that runs on an entire
AST . |
Modifier and Type | Method and Description |
---|---|
void |
run(AST ast)
Runs this pass on all nodes of the indicated type.
|
void |
run(ClassifierAssignment ca)
Runs this pass on all nodes of the indicated type.
|
void |
run(ClassifierCastExpression cce)
Runs this pass on all nodes of the indicated type.
|
void |
run(CodedClassifier cc)
Runs this pass on all nodes of the indicated type.
|
void |
run(CompositeGenerator cg)
Runs this pass on all nodes of the indicated type.
|
void |
run(Conjunction c)
Runs this pass on all nodes of the indicated type.
|
void |
run(ConstraintDeclaration c)
Runs this pass on all nodes of the indicated type.
|
void |
run(InferenceDeclaration i)
Runs this pass on all nodes of the indicated type.
|
void |
run(InferenceInvocation i)
Runs this pass on all nodes of the indicated type.
|
void |
run(LearningClassifierExpression lce)
Runs this pass on all nodes of the indicated type.
|
printErrorsAndWarnings, reportError, reportWarning, run, run, run, run, run, run, run, run, run, run, run, run, run, run, run, run, run, run, run, run, run, run, run, run, run, run, run, run, run, run, run, run, run, run, run, run, run, run, run, run, run, run, run, run, run, run, run, run, run, run, run, run, run, run, run, run, run, run, run, run, run, run, run, run, run, run, run, run, run, run, run, run, run, runOnChildren, setRoot
public ClassifierCSE(AST ast)
AST
.ast
- The program to run this pass on.public void run(AST ast)
public void run(ClassifierAssignment ca)
public void run(ClassifierCastExpression cce)
public void run(CodedClassifier cc)
public void run(CompositeGenerator cg)
public void run(Conjunction c)
public void run(InferenceInvocation i)
public void run(LearningClassifierExpression lce)
public void run(ConstraintDeclaration c)
public void run(InferenceDeclaration i)
Copyright © 2016. All rights reserved.