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