|
||||||||||
| 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.FCallNode
public class FCallNode
Represents a method call with self as an implicit receiver.
| Field Summary | |
|---|---|
CallSite |
callAdapter
|
| Fields inherited from class org.jruby.ast.Node |
|---|
EMPTY_COMMENT_LIST, INVALID_POSITION, nodeId |
| Constructor Summary | |
|---|---|
FCallNode(ISourcePosition position,
java.lang.String name,
Node argsNode)
|
|
FCallNode(ISourcePosition position,
java.lang.String name,
Node argsNode,
Node iterNode)
|
|
| Method Summary | |
|---|---|
Instruction |
accept(NodeVisitor iVisitor)
Accept for the visitor pattern. |
java.util.List<Node> |
childNodes()
|
java.lang.String |
definition(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock)
|
Node |
getArgsNode()
Gets the argsNode. |
Block |
getBlock(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock)
|
Block |
getBlock(ThreadContext context,
IRubyObject self)
|
Node |
getIterNode()
Get the node that represents a block or a block variable. |
java.lang.String |
getName()
Gets the name. |
IRubyObject |
interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock)
|
Node |
setArgsNode(Node argsNode)
Set the argsNode. |
Node |
setIterNode(Node iterNode)
|
java.lang.String |
toString()
|
| Methods inherited from class org.jruby.ast.Node |
|---|
addComment, addComments, assign, createList, getComments, getNodeName, getPosition, getPositionIncludingComments, hasComments, isInvisible, 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 FCallNode(ISourcePosition position,
java.lang.String name,
Node argsNode)
public FCallNode(ISourcePosition position,
java.lang.String name,
Node argsNode,
Node iterNode)
| Method Detail |
|---|
public Instruction accept(NodeVisitor iVisitor)
accept in class NodeiVisitor - the visitorpublic 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 java.lang.String getName()
getName in interface INameNodepublic java.util.List<Node> childNodes()
childNodes in class Nodepublic java.lang.String toString()
toString in class Node
public IRubyObject interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock)
interpret in class Node
public Block getBlock(ThreadContext context,
IRubyObject self)
public Block getBlock(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock)
public java.lang.String 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 | |||||||||