spiglet.syntaxtree
Class Procedure
java.lang.Object
spiglet.syntaxtree.Procedure
- All Implemented Interfaces:
- java.io.Serializable, Node
public class Procedure
- extends java.lang.Object
- implements Node
Grammar production:
label -> Label()
nodeToken -> "["
integerLiteral -> IntegerLiteral()
nodeToken1 -> "]"
stmtExp -> StmtExp()
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
label
public Label label
nodeToken
public NodeToken nodeToken
integerLiteral
public IntegerLiteral integerLiteral
nodeToken1
public NodeToken nodeToken1
stmtExp
public StmtExp stmtExp
Procedure
public Procedure(Label n0,
NodeToken n1,
IntegerLiteral n2,
NodeToken n3,
StmtExp n4)
Procedure
public Procedure(Label n0,
IntegerLiteral n1,
StmtExp n2)
accept
public void accept(Visitor v)
- Specified by:
accept
in interface Node
accept
public <R,A> R accept(GJVisitor<R,A> v,
A argu)
- Specified by:
accept
in interface Node
accept
public <R> R accept(GJNoArguVisitor<R> v)
- Specified by:
accept
in interface Node
accept
public <A> void accept(GJVoidVisitor<A> v,
A argu)
- Specified by:
accept
in interface Node