|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object polyglot.visit.NodeVisitor jif.parse.UnwrapVisitor
public class UnwrapVisitor
An UnwrapVisitor
rewrites the AST to remove any Wrapped
nodes resulting from the parser.
A visitor which tries to unwrap every Wrapper
object in
the node it visits.
Constructor Summary | |
---|---|
UnwrapVisitor()
|
Method Summary | |
---|---|
boolean |
isError()
|
polyglot.ast.Node |
override(polyglot.ast.Node n)
|
Methods inherited from class polyglot.visit.NodeVisitor |
---|
begin, copy, enter, enter, finish, finish, leave, leave, override, toString, visitEdge, visitEdgeNoOverride |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public UnwrapVisitor()
Method Detail |
---|
public boolean isError()
public polyglot.ast.Node override(polyglot.ast.Node n)
override
in class polyglot.visit.NodeVisitor
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |