public class ForNode extends IterNode
IterNode
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() |
int |
getArgumentType() |
Node |
getIterNode() |
NodeType |
getNodeType() |
getBodyNode, getScope, getVarNode
createList, createList, createList, createList, findFirstChild, 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 int getArgumentType()
getArgumentType
in class IterNode
public <T> T accept(NodeVisitor<T> iVisitor)
public List<Node> childNodes()
childNodes
in class IterNode
Copyright © 2001-2015 JRuby. All Rights Reserved.