|
||||||||||
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.CallNode
public final class CallNode
A method or operator call.
Field Summary | |
---|---|
CallSite |
callAdapter
|
Fields inherited from class org.jruby.ast.Node |
---|
EMPTY_COMMENT_LIST, nodeId |
Constructor Summary | |
---|---|
CallNode(ISourcePosition position,
Node receiverNode,
java.lang.String name,
Node argsNode)
|
|
CallNode(ISourcePosition position,
Node receiverNode,
java.lang.String name,
Node argsNode,
Node iterNode)
|
Method Summary | |
---|---|
Instruction |
accept(NodeVisitor iVisitor)
Accept for the visitor pattern. |
java.util.List<Node> |
childNodes()
|
Node |
getArgsNode()
Gets the argsNode representing the method's arguments' value for this call. |
Node |
getIterNode()
|
java.lang.String |
getName()
Gets the name. |
Node |
getReceiverNode()
Gets the receiverNode. |
void |
setArgsNode(Node argsNode)
Set the argsNode |
void |
setIterNode(Node iterNode)
|
java.lang.String |
toString()
|
Methods inherited from class org.jruby.ast.Node |
---|
addComment, addComments, createList, getComments, getNodeName, getPosition, getPositionIncludingComments, hasComments, setPosition |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public CallSite callAdapter
Constructor Detail |
---|
public CallNode(ISourcePosition position, Node receiverNode, java.lang.String name, Node argsNode)
public CallNode(ISourcePosition position, Node receiverNode, java.lang.String name, Node argsNode, Node iterNode)
Method Detail |
---|
public Instruction accept(NodeVisitor iVisitor)
accept
in class Node
iVisitor
- the visitorpublic Node getIterNode()
getIterNode
in interface BlockAcceptingNode
public void setIterNode(Node iterNode)
setIterNode
in interface BlockAcceptingNode
public Node getArgsNode()
getArgsNode
in interface IArgumentNode
public void setArgsNode(Node argsNode)
setArgsNode
in interface IArgumentNode
argsNode
- set the arguments for this node.public java.lang.String getName()
getName
in interface INameNode
public Node getReceiverNode()
public java.util.List<Node> childNodes()
childNodes
in class Node
public java.lang.String toString()
toString
in class Node
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |