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, getVarNodeassign, createList, definition, getNodeName, getPosition, setPosition, toStringpublic final CallSite callAdapter
public ForNode(ISourcePosition position, Node varNode, Node bodyNode, Node iterNode, StaticScope scope)
public NodeType getNodeType()
getNodeType in class IterNodepublic Node getIterNode()
public Object accept(NodeVisitor iVisitor)
public List<Node> childNodes()
childNodes in class IterNodepublic IRubyObject interpret(Ruby runtime, ThreadContext context, IRubyObject self, Block aBlock)
Copyright © 2001-2013 JRuby. All Rights Reserved.