|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectpolyglot.visit.NodeVisitor
polyglot.visit.ConstantFolder
Visitor which performs constant folding.
Constructor Summary | |
ConstantFolder(TypeSystem ts,
NodeFactory nf)
|
Method Summary | |
Node |
leave(Node old,
Node n,
NodeVisitor v_)
|
NodeFactory |
nodeFactory()
|
TypeSystem |
typeSystem()
|
Methods inherited from class polyglot.visit.NodeVisitor |
begin, enter, enter, finish, finish, leave, override, override, toString, visitEdge |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public ConstantFolder(TypeSystem ts, NodeFactory nf)
Method Detail |
public TypeSystem typeSystem()
public NodeFactory nodeFactory()
public Node leave(Node old, Node n, NodeVisitor v_)
leave
in class NodeVisitor
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |