Package jtb.syntaxtree
Class CompilationUnit
- Object
-
- CompilationUnit
-
- All Implemented Interfaces:
Serializable
,Node
public class CompilationUnit extends Object implements Node
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description NodeOptional
f0
NodeListOptional
f1
NodeListOptional
f2
NodeOptional
f3
NodeOptional
f4
NodeToken
f5
-
Constructor Summary
Constructors Constructor Description CompilationUnit(NodeOptional n0, NodeListOptional n1, NodeListOptional n2, NodeOptional n3, NodeOptional n4)
CompilationUnit(NodeOptional n0, NodeListOptional n1, NodeListOptional n2, NodeOptional n3, NodeOptional n4, NodeToken n5)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <R> R
accept(GJNoArguVisitor<R> v)
<R,A>
Raccept(GJVisitor<R,A> v, A argu)
<A> void
accept(GJVoidVisitor<A> v, A argu)
void
accept(Visitor v)
Node
getParent()
void
setParent(Node n)
-
-
-
Field Detail
-
f0
public NodeOptional f0
-
f1
public NodeListOptional f1
-
f2
public NodeListOptional f2
-
f3
public NodeOptional f3
-
f4
public NodeOptional f4
-
-
Constructor Detail
-
CompilationUnit
public CompilationUnit(NodeOptional n0, NodeListOptional n1, NodeListOptional n2, NodeOptional n3, NodeOptional n4, NodeToken n5)
-
CompilationUnit
public CompilationUnit(NodeOptional n0, NodeListOptional n1, NodeListOptional n2, NodeOptional n3, NodeOptional n4)
-
-
Method Detail
-
accept
public <R> R accept(GJNoArguVisitor<R> v)
-
accept
public <A> void accept(GJVoidVisitor<A> v, A argu)
-
-