public class IterNode extends Node
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() |
int |
getArgumentType() |
Node |
getBodyNode()
Gets the bodyNode.
|
NodeType |
getNodeType() |
StaticScope |
getScope() |
Node |
getVarNode()
Gets the varNode.
|
createList, createList, createList, createList, findFirstChild, getNodeName, getPosition, isNil, needsDefinitionCheck, setPosition, toString, toString
public IterNode(ISourcePosition position, Node args, StaticScope scope, Node body)
public IterNode(ISourcePosition position, ArgsNode args, Node body, StaticScope scope)
public int getArgumentType()
public NodeType getNodeType()
getNodeType
in class Node
public <T> T accept(NodeVisitor<T> iVisitor)
public StaticScope getScope()
public Node getBodyNode()
public Node getVarNode()
public List<Node> childNodes()
childNodes
in class Node
Copyright © 2001-2015 JRuby. All Rights Reserved.