|
||||||||||
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 class CallNode
A method or operator call.
Field Summary | |
---|---|
CallSite |
callAdapter
|
protected Node |
iterNode
|
Fields inherited from class org.jruby.ast.Node |
---|
ASSIGNMENT_BYTELIST, CLASS_VARIABLE_BYTELIST, CONSTANT_BYTELIST, EXPRESSION_BYTELIST, FALSE_BYTELIST, GLOBAL_VARIABLE_BYTELIST, INSTANCE_VARIABLE_BYTELIST, LOCAL_VARIABLE_BYTELIST, LOCAL_VARIABLE_IN_BLOCK_BYTELIST, METHOD_BYTELIST, NIL_BYTELIST, SELF_BYTELIST, SUPER_BYTELIST, TRUE_BYTELIST, YIELD_BYTELIST |
Constructor Summary | |
---|---|
CallNode(ISourcePosition position,
Node receiverNode,
java.lang.String name,
Node argsNode)
Deprecated. |
|
CallNode(ISourcePosition position,
Node receiverNode,
java.lang.String name,
Node argsNode,
Node iterNode)
|
Method Summary | |
---|---|
java.lang.Object |
accept(NodeVisitor iVisitor)
Accept for the visitor pattern. |
IRubyObject |
assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value,
Block block,
boolean checkArity)
|
java.util.List<Node> |
childNodes()
|
org.jruby.util.ByteList |
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()
|
java.lang.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)
|
Methods inherited from class org.jruby.ast.Node |
---|
createList, getNodeName, getPosition, isInvisible, setPosition, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected Node iterNode
public CallSite callAdapter
Constructor Detail |
---|
@Deprecated 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 NodeType getNodeType()
getNodeType
in class Node
public java.lang.Object accept(NodeVisitor iVisitor)
accept
in class Node
iVisitor
- the visitorpublic Node getIterNode()
getIterNode
in interface BlockAcceptingNode
public Node setIterNode(Node iterNode)
setIterNode
in interface BlockAcceptingNode
public Node getArgsNode()
getArgsNode
in interface IArgumentNode
public Node 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 IRubyObject interpret(Ruby runtime, ThreadContext context, IRubyObject self, Block aBlock)
interpret
in class Node
public IRubyObject assign(Ruby runtime, ThreadContext context, IRubyObject self, IRubyObject value, Block block, boolean checkArity)
assign
in class Node
public org.jruby.util.ByteList definition(Ruby runtime, ThreadContext context, IRubyObject self, Block aBlock)
definition
in class Node
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |