public class ForNode extends IterNode
IterNode
containsVariableAssignment
Constructor and Description |
---|
ForNode(ISourcePosition position,
Node varNode,
Node bodyNode,
Node iterNode,
StaticScope scope) |
Modifier and Type | Method and Description |
---|---|
<T> T |
accept(NodeVisitor<T> iVisitor)
Accept for the visitor pattern.
|
List<Node> |
childNodes() |
Node |
getIterNode() |
NodeType |
getNodeType() |
getBodyNode, getScope, getVarNode
containsVariableAssignment, createList, createList, createList, createList, findFirstChild, getLine, getNodeName, getPosition, isNil, needsDefinitionCheck, setPosition, toString, toString
public ForNode(ISourcePosition position, Node varNode, Node bodyNode, Node iterNode, StaticScope scope)
public NodeType getNodeType()
getNodeType
in class IterNode
public Node getIterNode()
public <T> T accept(NodeVisitor<T> iVisitor)
public List<Node> childNodes()
childNodes
in class IterNode
Copyright © 2001-2015 JRuby. All Rights Reserved.