public class ForNode extends IterNode
IterNodecontainsVariableAssignment, 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, getScope, getVarNodecontainsVariableAssignment, createList, createList, createList, createList, findFirstChild, getLine, getNodeName, getPosition, isNewline, isNil, needsDefinitionCheck, setNewline, setPosition, toString, toStringpublic ForNode(ISourcePosition position, Node varNode, Node bodyNode, Node iterNode, StaticScope scope)
public ArgsNode getArgsNode()
DefNodegetArgsNode in interface DefNodegetArgsNode in class IterNodepublic NodeType getNodeType()
getNodeType in class IterNodepublic Node getIterNode()
public <T> T accept(NodeVisitor<T> iVisitor)
public List<Node> childNodes()
childNodes in class IterNodeCopyright © 2001-2016 JRuby. All Rights Reserved.