Package EDU.purdue.jtb.parser.syntaxtree
Class JavaCCInput
- java.lang.Object
-
- EDU.purdue.jtb.parser.syntaxtree.JavaCCInput
-
- All Implemented Interfaces:
INode,java.io.Serializable
public class JavaCCInput extends java.lang.Object implements INode
JTB node class for the production JavaCCInput:
Corresponding grammar:
f0 -> JavaCCOptions()
f1 -> "PARSER_BEGIN"
f2 -> "("
f3 -> IdentifierAsString()
f4 -> ")"
f5 -> CompilationUnit()
f6 -> "PARSER_END"
f7 -> "("
f8 -> IdentifierAsString()
f9 -> ")"
f10 -> ( Production() )+
f11 -> < EOF >
s: 1465207473- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description JavaCCOptionsf0Child node 0Tokenf1Child node 1NodeListf10Child node 10Tokenf11Child node 11Tokenf2Child node 2IdentifierAsStringf3Child node 3Tokenf4Child node 4CompilationUnitf5Child node 5Tokenf6Child node 6Tokenf7Child node 7IdentifierAsStringf8Child node 8Tokenf9Child node 9
-
Constructor Summary
Constructors Constructor Description JavaCCInput(JavaCCOptions n0, Token n1, Token n2, IdentifierAsString n3, Token n4, CompilationUnit n5, Token n6, Token n7, IdentifierAsString n8, Token n9, NodeList n10, Token n11)Constructs the node with all its children nodes.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intaccept(IIntVisitor vis)Accepts aIIntVisitorvisitor with user return data.voidaccept(IVoidVisitor vis)Accepts aIVoidVisitorvisitor} visitor with user return data.
-
-
-
Field Detail
-
f0
public JavaCCOptions f0
Child node 0
-
f1
public Token f1
Child node 1
-
f2
public Token f2
Child node 2
-
f3
public IdentifierAsString f3
Child node 3
-
f4
public Token f4
Child node 4
-
f5
public CompilationUnit f5
Child node 5
-
f6
public Token f6
Child node 6
-
f7
public Token f7
Child node 7
-
f8
public IdentifierAsString f8
Child node 8
-
f9
public Token f9
Child node 9
-
f10
public NodeList f10
Child node 10
-
f11
public Token f11
Child node 11
-
-
Constructor Detail
-
JavaCCInput
public JavaCCInput(JavaCCOptions n0, Token n1, Token n2, IdentifierAsString n3, Token n4, CompilationUnit n5, Token n6, Token n7, IdentifierAsString n8, Token n9, NodeList n10, Token n11)
Constructs the node with all its children nodes.- Parameters:
n0- - first child noden1- - next child noden2- - next child noden3- - next child noden4- - next child noden5- - next child noden6- - next child noden7- - next child noden8- - next child noden9- - next child noden10- - next child noden11- - next child node
-
-
Method Detail
-
accept
public int accept(IIntVisitor vis)
Accepts aIIntVisitorvisitor with user return data.
-
accept
public void accept(IVoidVisitor vis)
Accepts aIVoidVisitorvisitor} visitor with user return data.
-
-