oscript.syntaxtree
Class CollectionForLoopStatement
java.lang.Object
oscript.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
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)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
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)
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