diff options
author | Iru Cai <mytbk920423@gmail.com> | 2014-10-08 21:15:43 +0800 |
---|---|---|
committer | Iru Cai <mytbk920423@gmail.com> | 2014-10-08 21:15:43 +0800 |
commit | 748308e11e6791284b302f61e5bc0d99a0957b6a (patch) | |
tree | 31b88d40d043f39d54ab90393656300656aaa209 /src/piglet/syntaxtree/NodeListInterface.java | |
download | minijava-748308e11e6791284b302f61e5bc0d99a0957b6a.tar.xz |
First commit
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); +} +
|