oscript.syntaxtree
Class CollectionForLoopStatement

java.lang.Object
  extended byoscript.syntaxtree.CollectionForLoopStatement
All Implemented Interfaces:
Node, java.io.Serializable

public class CollectionForLoopStatement
extends java.lang.Object
implements Node

Grammar production:


 f0 -> "for"
 f1 -> "("
 f2 -> PreLoopStatement()
 f3 -> ":"
 f4 -> Expression()
 f5 -> ")"
 f6 -> EvaluationUnit()
 

See Also:
Serialized Form

Field Summary
 NodeToken f0
           
 NodeToken f1
           
 PreLoopStatement f2
           
 NodeToken f3
           
 Expression f4
           
 NodeToken f5
           
 EvaluationUnit f6
           
 boolean hasFxnInScope
           
 boolean hasVarInScope
           
 Node translated
           
 
Constructor Summary
CollectionForLoopStatement(NodeToken n0, NodeToken n1, PreLoopStatement n2, NodeToken n3, Expression n4, NodeToken n5, EvaluationUnit n6, boolean hasVarInScope, boolean hasFxnInScope)
           
CollectionForLoopStatement(PreLoopStatement n0, Expression n1, EvaluationUnit n2)
           
 
Method Summary
 java.lang.Object accept(ObjectVisitor v, java.lang.Object 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

f0

public NodeToken f0

f1

public NodeToken f1

f2

public PreLoopStatement f2

f3

public NodeToken f3

f4

public Expression f4

f5

public NodeToken f5

f6

public EvaluationUnit f6

hasVarInScope

public boolean hasVarInScope

hasFxnInScope

public boolean hasFxnInScope

translated

public Node translated
Constructor Detail

CollectionForLoopStatement

public CollectionForLoopStatement(NodeToken n0,
                                  NodeToken n1,
                                  PreLoopStatement n2,
                                  NodeToken n3,
                                  Expression n4,
                                  NodeToken n5,
                                  EvaluationUnit n6,
                                  boolean hasVarInScope,
                                  boolean hasFxnInScope)

CollectionForLoopStatement

public CollectionForLoopStatement(PreLoopStatement n0,
                                  Expression n1,
                                  EvaluationUnit n2)
Method Detail

accept

public void accept(Visitor v)
Specified by:
accept in interface Node

accept

public java.lang.Object accept(ObjectVisitor v,
                               java.lang.Object argu)
Specified by:
accept in interface Node