public class CallNode extends Node implements INameNode, IArgumentNode, BlockAcceptingNode
| Modifier and Type | Field and Description |
|---|---|
CallSite |
callAdapter |
protected Node |
iterNode |
| Constructor and Description |
|---|
CallNode(ISourcePosition position,
Node receiverNode,
String name,
Node argsNode)
Deprecated.
|
CallNode(ISourcePosition position,
Node receiverNode,
String name,
Node argsNode,
Node iterNode) |
| Modifier and Type | Method and Description |
|---|---|
Object |
accept(NodeVisitor iVisitor)
Accept for the visitor pattern.
|
IRubyObject |
assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value,
Block block,
boolean checkArity) |
List<Node> |
childNodes() |
RubyString |
definition(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
Node |
getArgsNode()
Gets the argsNode representing the method's arguments' value for this call.
|
Node |
getIterNode() |
String |
getName()
Gets the name.
|
NodeType |
getNodeType() |
Node |
getReceiverNode()
Gets the receiverNode.
|
IRubyObject |
interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
Node |
setArgsNode(Node argsNode)
Set the argsNode.
|
Node |
setIterNode(Node iterNode) |
createList, getNodeName, getPosition, setPosition, toString@Deprecated public CallNode(ISourcePosition position, Node receiverNode, String name, Node argsNode)
public CallNode(ISourcePosition position, Node receiverNode, String name, Node argsNode, Node iterNode)
public NodeType getNodeType()
getNodeType in class Nodepublic Object accept(NodeVisitor iVisitor)
public Node getIterNode()
getIterNode in interface BlockAcceptingNodepublic Node setIterNode(Node iterNode)
setIterNode in interface BlockAcceptingNodepublic Node getArgsNode()
getArgsNode in interface IArgumentNodepublic Node setArgsNode(Node argsNode)
setArgsNode in interface IArgumentNodeargsNode - set the arguments for this node.public String getName()
public Node getReceiverNode()
public List<Node> childNodes()
childNodes in class Nodepublic IRubyObject interpret(Ruby runtime, ThreadContext context, IRubyObject self, Block aBlock)
public IRubyObject assign(Ruby runtime, ThreadContext context, IRubyObject self, IRubyObject value, Block block, boolean checkArity)
public RubyString definition(Ruby runtime, ThreadContext context, IRubyObject self, Block aBlock)
definition in class NodeCopyright © 2001-2013 JRuby. All Rights Reserved.