public class ForNode extends IterNode
IterNode
containsVariableAssignment, newline
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() |
ArgsNode |
getArgsNode()
Gets the argsNode.
|
Node |
getIterNode() |
NodeType |
getNodeType() |
getBodyNode, getEndLine, getScope, getVarNode
containsVariableAssignment, createList, createList, createList, createList, findFirstChild, getLine, getNodeName, getPosition, isNewline, isNil, needsDefinitionCheck, setNewline, setPosition, toString, toString, toStringInternal
public ForNode(ISourcePosition position, Node varNode, Node bodyNode, Node iterNode, StaticScope scope)
public ArgsNode getArgsNode()
DefNode
getArgsNode
in interface DefNode
getArgsNode
in class IterNode
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-2016 JRuby. All Rights Reserved.