public class CallNode extends Node implements INameNode, IArgumentNode, BlockAcceptingNode
| Modifier and Type | Field and Description |
|---|---|
protected Node |
iterNode |
containsVariableAssignment| Constructor and Description |
|---|
CallNode(ISourcePosition position,
Node receiverNode,
String name,
Node argsNode,
Node iterNode) |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
accept(NodeVisitor<T> iVisitor)
Accept for the visitor pattern.
|
List<Node> |
childNodes() |
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.
|
Node |
setArgsNode(Node argsNode)
Set the argsNode.
|
Node |
setIterNode(Node iterNode) |
containsVariableAssignment, createList, createList, createList, createList, findFirstChild, getLine, getNodeName, getPosition, isNil, needsDefinitionCheck, setPosition, toString, toStringprotected Node iterNode
public CallNode(ISourcePosition position, Node receiverNode, String name, Node argsNode, Node iterNode)
public NodeType getNodeType()
getNodeType in class Nodepublic <T> T accept(NodeVisitor<T> 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 NodeCopyright © 2001-2015 JRuby. All Rights Reserved.