public class FCallNode extends Node implements INameNode, IArgumentNode, BlockAcceptingNode
| Modifier and Type | Field and Description |
|---|---|
protected Node |
argsNode |
CallSite |
callAdapter |
protected Node |
iterNode |
| Modifier | Constructor and Description |
|---|---|
|
FCallNode(ISourcePosition position,
String name,
Node argsNode)
Deprecated.
|
protected |
FCallNode(ISourcePosition position,
String name,
Node argsNode,
Node iterNode) |
| Modifier and Type | Method and Description |
|---|---|
Object |
accept(NodeVisitor iVisitor)
Accept for the visitor pattern.
|
List<Node> |
childNodes() |
RubyString |
definition(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
Node |
getArgsNode()
Gets the argsNode.
|
Node |
getIterNode()
Get the node that represents a block or a block variable.
|
String |
getName()
Gets the name.
|
NodeType |
getNodeType() |
IRubyObject |
interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
Node |
setArgsNode(Node argsNode)
Set the argsNode.
|
Node |
setIterNode(Node iterNode) |
assign, createList, createList, createList, createList, getNodeName, getPosition, isNil, setPosition, toStringprotected Node argsNode
protected Node iterNode
public CallSite callAdapter
@Deprecated public FCallNode(ISourcePosition position, String name, Node argsNode)
protected FCallNode(ISourcePosition position, 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 List<Node> childNodes()
childNodes in class Nodepublic IRubyObject interpret(Ruby runtime, ThreadContext context, IRubyObject self, Block aBlock)
public RubyString definition(Ruby runtime, ThreadContext context, IRubyObject self, Block aBlock)
definition in class NodeCopyright © 2001-2014 JRuby. All Rights Reserved.