public class FCallNode extends Node implements INameNode, IArgumentNode, BlockAcceptingNode
Modifier and Type | Field and Description |
---|---|
protected Node |
argsNode |
protected Node |
iterNode |
containsVariableAssignment
Constructor and Description |
---|
FCallNode(ISourcePosition position,
String name) |
FCallNode(ISourcePosition position,
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.
|
Node |
getIterNode()
Get the node that represents a block or a block variable.
|
String |
getName()
Gets the name.
|
NodeType |
getNodeType() |
Node |
setArgsNode(Node argsNode)
Set the argsNode.
|
Node |
setIterNode(Node iterNode) |
containsVariableAssignment, createList, createList, createList, createList, findFirstChild, getNodeName, getPosition, isNil, needsDefinitionCheck, setPosition, toString, toString
public FCallNode(ISourcePosition position, String name)
public FCallNode(ISourcePosition position, String name, Node argsNode, Node iterNode)
public NodeType getNodeType()
getNodeType
in class Node
public <T> T accept(NodeVisitor<T> iVisitor)
public 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
public String getName()
public List<Node> childNodes()
childNodes
in class Node
Copyright © 2001-2015 JRuby. All Rights Reserved.