public class ForNode extends IterNode
IterNode
Modifier and Type | Field and Description |
---|---|
CallSite |
callAdapter |
Constructor and Description |
---|
ForNode(ISourcePosition position,
Node varNode,
Node bodyNode,
Node iterNode,
StaticScope scope) |
Modifier and Type | Method and Description |
---|---|
Object |
accept(NodeVisitor iVisitor)
Accept for the visitor pattern.
|
List<Node> |
childNodes() |
Node |
getIterNode() |
NodeType |
getNodeType() |
IRubyObject |
interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
getArgumentType, getBlockBody, getBlockVarNode, getBodyNode, getScope, getVarNode
assign, createList, createList, createList, createList, definition, getNodeName, getPosition, isNil, setPosition, toString
public final CallSite callAdapter
public ForNode(ISourcePosition position, Node varNode, Node bodyNode, Node iterNode, StaticScope scope)
public NodeType getNodeType()
getNodeType
in class IterNode
public Node getIterNode()
public Object accept(NodeVisitor iVisitor)
public List<Node> childNodes()
childNodes
in class IterNode
public IRubyObject interpret(Ruby runtime, ThreadContext context, IRubyObject self, Block aBlock)
Copyright © 2001-2014 JRuby. All Rights Reserved.