public class ForNode extends IterNode
IterNodecontainsVariableAssignment, newline| Constructor and Description |
|---|
ForNode(ISourcePosition position,
Node varNode,
Node bodyNode,
Node iterNode,
StaticScope scope,
int endLine) |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
accept(NodeVisitor<T> iVisitor)
Accept for the visitor pattern.
|
java.util.List<Node> |
childNodes() |
ArgsNode |
getArgsNode()
Gets the argsNode.
|
Node |
getIterNode() |
NodeType |
getNodeType() |
getBodyNode, getEndLine, getScope, getVarNodecontainsVariableAssignment, createList, createList, createList, createList, executesOnce, findFirstChild, getFile, getLine, getNodeName, getPosition, isNewline, isNil, needsDefinitionCheck, setNewline, setPosition, toString, toString, toStringInternalpublic ForNode(ISourcePosition position, Node varNode, Node bodyNode, Node iterNode, StaticScope scope, int endLine)
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 java.util.List<Node> childNodes()
childNodes in class IterNodeCopyright © 2001-2021 JRuby. All Rights Reserved.