Package jtb.syntaxtree
Class IfStatement
- Object
-
- IfStatement
-
- All Implemented Interfaces:
Serializable
,Node
public class IfStatement extends Object implements Node
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description IfStatement(Expression n0, Statement n1, NodeOptional n2)
IfStatement(NodeToken n0, NodeToken n1, Expression n2, NodeToken n3, Statement n4, NodeOptional 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)
-
-
-
Constructor Detail
-
IfStatement
public IfStatement(NodeToken n0, NodeToken n1, Expression n2, NodeToken n3, Statement n4, NodeOptional n5)
-
IfStatement
public IfStatement(Expression n0, Statement n1, NodeOptional n2)
-
-
Method Detail
-
accept
public <R> R accept(GJNoArguVisitor<R> v)
-
accept
public <A> void accept(GJVoidVisitor<A> v, A argu)
-
-