diff options
Diffstat (limited to 'src/piglet/syntaxtree/NodeListInterface.java')
-rw-r--r-- | src/piglet/syntaxtree/NodeListInterface.java | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/piglet/syntaxtree/NodeListInterface.java b/src/piglet/syntaxtree/NodeListInterface.java new file mode 100644 index 0000000..7fbd7a8 --- /dev/null +++ b/src/piglet/syntaxtree/NodeListInterface.java @@ -0,0 +1,22 @@ +// +// Generated by JTB 1.3.2 +//
+
+package piglet.syntaxtree; + +/** + * The interface which NodeList, NodeListOptional, and NodeSequence + * implement. + */ +public interface NodeListInterface extends Node { + public void addNode(Node n); + public Node elementAt(int i); + public java.util.Enumeration<Node> elements(); + public int size(); + + public void accept(piglet.visitor.Visitor v); + public <R,A> R accept(piglet.visitor.GJVisitor<R,A> v, A argu); + public <R> R accept(piglet.visitor.GJNoArguVisitor<R> v); + public <A> void accept(piglet.visitor.GJVoidVisitor<A> v, A argu); +} +
|