spiglet.syntaxtree
Class Procedure

java.lang.Object
  extended by 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

Field Summary
 IntegerLiteral integerLiteral
           
 Label label
           
 NodeToken nodeToken
           
 NodeToken nodeToken1
           
 StmtExp stmtExp
           
 
Constructor Summary
Procedure(Label n0, IntegerLiteral n1, StmtExp n2)
           
Procedure(Label n0, NodeToken n1, IntegerLiteral n2, NodeToken n3, StmtExp n4)
           
 
Method Summary
<R> R
accept(GJNoArguVisitor<R> v)
           
<R,A> R
accept(GJVisitor<R,A> v, A argu)
           
<A> void
accept(GJVoidVisitor<A> v, A argu)
           
 void accept(Visitor v)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

label

public Label label

nodeToken

public NodeToken nodeToken

integerLiteral

public IntegerLiteral integerLiteral

nodeToken1

public NodeToken nodeToken1

stmtExp

public StmtExp stmtExp
Constructor Detail

Procedure

public Procedure(Label n0,
                 NodeToken n1,
                 IntegerLiteral n2,
                 NodeToken n3,
                 StmtExp n4)

Procedure

public Procedure(Label n0,
                 IntegerLiteral n1,
                 StmtExp n2)
Method Detail

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