|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jruby.ast.Node
org.jruby.ast.BlockPassNode
public class BlockPassNode
Block passed explicitly as an argument in a method call. A block passing argument in a method call (last argument prefixed by an ampersand).
Constructor Summary | |
---|---|
BlockPassNode(ISourcePosition position,
Node bodyNode)
|
Method Summary | |
---|---|
java.lang.Object |
accept(NodeVisitor iVisitor)
Accept for the visitor pattern. |
java.util.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. |
Methods inherited from class org.jruby.ast.Node |
---|
assign, createList, definition, getNodeName, getPosition, isInvisible, setPosition, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public BlockPassNode(ISourcePosition position, Node bodyNode)
Method Detail |
---|
public NodeType getNodeType()
getNodeType
in class Node
public java.lang.Object accept(NodeVisitor iVisitor)
accept
in class Node
iVisitor
- the visitorpublic Node getBodyNode()
public Node getArgsNode()
public void setArgsNode(Node argsNode)
argsNode
- The argsNode to setpublic java.util.List<Node> childNodes()
childNodes
in class Node
public IRubyObject interpret(Ruby runtime, ThreadContext context, IRubyObject self, Block block)
interpret
in class Node
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |