public class BlockPassNode extends Node
Constructor and Description |
---|
BlockPassNode(ISourcePosition position,
Node bodyNode) |
Modifier and Type | Method and Description |
---|---|
Object |
accept(NodeVisitor iVisitor)
Accept for the visitor pattern.
|
List<Node> |
childNodes() |
Node |
getArgsNode()
Gets the argsNode.
|
Node |
getBodyNode()
Gets the bodyNode.
|
NodeType |
getNodeType() |
IRubyObject |
interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block block) |
void |
setArgsNode(Node argsNode)
Sets the argsNode.
|
assign, createList, createList, createList, createList, definition, getNodeName, getPosition, isNil, setPosition, toString
public BlockPassNode(ISourcePosition position, Node bodyNode)
public NodeType getNodeType()
getNodeType
in class Node
public Object accept(NodeVisitor iVisitor)
public Node getBodyNode()
public Node getArgsNode()
public void setArgsNode(Node argsNode)
argsNode
- The argsNode to setpublic List<Node> childNodes()
childNodes
in class Node
public IRubyObject interpret(Ruby runtime, ThreadContext context, IRubyObject self, Block block)
Copyright © 2001-2015 JRuby. All Rights Reserved.