public class DeepCopyVisitor extends DoNothingVisitor implements ParserVisitor
Constructor and Description |
---|
DeepCopyVisitor() |
Modifier and Type | Method and Description |
---|---|
Node |
deepCopy(Node node,
XJep xj)
Creates a deepCopy of a Node
|
Object |
visit(ASTConstant node,
Object data) |
Object |
visit(ASTFunNode node,
Object data) |
Object |
visit(ASTVarNode node,
Object data) |
visit, visit
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
visit, visit
public Node deepCopy(Node node, XJep xj) throws ParseException
ParseException
public Object visit(ASTConstant node, Object data) throws ParseException
visit
in interface ParserVisitor
visit
in class DoNothingVisitor
ParseException
public Object visit(ASTVarNode node, Object data) throws ParseException
visit
in interface ParserVisitor
visit
in class DoNothingVisitor
ParseException
public Object visit(ASTFunNode node, Object data) throws ParseException
visit
in interface ParserVisitor
visit
in class DoNothingVisitor
ParseException
Jas4pp 1.5 © Java Analysis Studio for Particle Physics