001// 002// Generated by JTB 1.3.2 003// 004 005package jtb.syntaxtree; 006 007// The interface which all syntax tree classes must implement. 008public interface Node extends java.io.Serializable { 009 public void accept(jtb.visitor.Visitor v); 010 public <R,A> R accept(jtb.visitor.GJVisitor<R,A> v, A argu); 011 public <R> R accept(jtb.visitor.GJNoArguVisitor<R> v); 012 public <A> void accept(jtb.visitor.GJVoidVisitor<A> v, A argu); 013 // It is the responsibility of each implementing class to call 014 // setParent() on each of its child Nodes. 015 public void setParent(Node n); 016 public Node getParent(); 017} 018