public class IterNode extends Node
containsVariableAssignment| Constructor and Description |
|---|
IterNode(ISourcePosition position,
ArgsNode args,
Node body,
StaticScope scope)
Used for all non-for types of blocks.
|
IterNode(ISourcePosition position,
Node args,
StaticScope scope,
Node body)
Used by Truffle 'for' and by ForNode only.
|
| Modifier and Type | Method and Description |
|---|---|
<T> T |
accept(NodeVisitor<T> iVisitor)
Accept for the visitor pattern.
|
List<Node> |
childNodes() |
Node |
getBodyNode()
Gets the bodyNode.
|
NodeType |
getNodeType() |
StaticScope |
getScope() |
Node |
getVarNode()
Gets the varNode.
|
containsVariableAssignment, createList, createList, createList, createList, findFirstChild, getLine, getNodeName, getPosition, isNil, needsDefinitionCheck, setPosition, toString, toStringpublic IterNode(ISourcePosition position, Node args, StaticScope scope, Node body)
public IterNode(ISourcePosition position, ArgsNode args, Node body, StaticScope scope)
public NodeType getNodeType()
getNodeType in class Nodepublic <T> T accept(NodeVisitor<T> iVisitor)
public StaticScope getScope()
public Node getBodyNode()
public Node getVarNode()
public List<Node> childNodes()
childNodes in class NodeCopyright © 2001-2015 JRuby. All Rights Reserved.