ant.compiler.trafo
Class ProcTransformer
java.lang.Object
ant.compiler.ast.AbstractVisitor
ant.compiler.ast.Transformer
ant.compiler.trafo.ProcTransformer
- All Implemented Interfaces:
- Tree.Visitor
- public class ProcTransformer
- extends Transformer
Visitor that computes the transformation for procedure
statements in the Ant Control Language.
proc name(pram, ...) {statements};
License: GPL
- Author:
- Bernhard Haumacher
Fields inherited from class ant.compiler.ast.Transformer |
|
Methods inherited from class ant.compiler.ast.AbstractVisitor |
visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visitBinaryExpression, visitExpression |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
ErrorLog log
root
Tree root
semantic
SemanticAnalyzer semantic
version
int version
currentCall
Tree.Call currentCall
currentProc
Tree.Proc currentProc
versionizer
NameTransformer versionizer
ProcTransformer
public ProcTransformer(ErrorLog log,
Tree root)
afterUpdate
protected void afterUpdate(Tree before,
Tree after)
- Overrides:
afterUpdate
in class Transformer
visit
public void visit(Tree.Proc tree)
- Specified by:
visit
in interface Tree.Visitor
- Overrides:
visit
in class AbstractVisitor
visit
public void visit(Tree.Call tree)
- Specified by:
visit
in interface Tree.Visitor
- Overrides:
visit
in class AbstractVisitor