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 JavaCCOptions
f0
Child node 0Token
f1
Child node 1NodeList
f10
Child node 10Token
f11
Child node 11Token
f2
Child node 2IdentifierAsString
f3
Child node 3Token
f4
Child node 4CompilationUnit
f5
Child node 5Token
f6
Child node 6Token
f7
Child node 7IdentifierAsString
f8
Child node 8Token
f9
Child 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 int
accept(IIntVisitor vis)
Accepts aIIntVisitor
visitor with user return data.void
accept(IVoidVisitor vis)
Accepts aIVoidVisitor
visitor} 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 aIIntVisitor
visitor with user return data.
-
accept
public void accept(IVoidVisitor vis)
Accepts aIVoidVisitor
visitor} visitor with user return data.
-
-