| Modifier and Type | Field and Description |
|---|---|
| private Node | |
| private final boolean | |
| protected Node | |
| private RubySymbol | |
| private final Node |
| Access | Constructor and Description |
|---|---|
| public | CallNode(int line, Node receiverNode, RubySymbol name, Node argsNode, Node iterNode, boolean isLazy)
|
| Modifier and Type | Method and Description |
|---|---|
| public <T> T | accept(NodeVisitor<T>
the visitor iVisitor)Implements abstract org. Accept for the visitor pattern. |
| public List | |
| public Node | Returns: argsNodeImplements org. Gets the argsNode representing the method's arguments' value for this call. |
| public Node | |
| public RubySymbol | |
| public NodeType | |
| public Node | |
| public boolean | Returns: true if so.Is this call lazily execute because it was on right hand side of the lonely (&.) operator? |
| public Node | setArgsNode(Node
set the arguments for this node. argsNode)Implements org. Set the argsNode. |
| public Node | |
| protected String | toStringInternal()
Overrides org. Overridden by nodes that have additional internal state to be displated in toString. |
| argsNode | back to summary |
|---|---|
| private Node argsNode | |
| isLazy | back to summary |
|---|---|
| private final boolean isLazy | |
| iterNode | back to summary |
|---|---|
| protected Node iterNode | |
| name | back to summary |
|---|---|
| private RubySymbol name | |
| receiverNode | back to summary |
|---|---|
| private final Node receiverNode | |
| CallNode | back to summary |
|---|---|
| public CallNode(int line, Node receiverNode, RubySymbol name, Node argsNode, Node iterNode, boolean isLazy) | |
| accept | back to summary |
|---|---|
| public <T> T accept(NodeVisitor<T> iVisitor) Implements abstract org. Accept for the visitor pattern.
| |
| childNodes | back to summary |
|---|---|
| public List Implements abstract org. | |
| getArgsNode | back to summary |
|---|---|
| public Node getArgsNode() Implements org. Gets the argsNode representing the method's arguments' value for this call.
| |
| getIterNode | back to summary |
|---|---|
| public Node getIterNode() Implements org. | |
| getName | back to summary |
|---|---|
| public RubySymbol getName() Implements org. Gets the name. name is the name of the method called
| |
| getNodeType | back to summary |
|---|---|
| public NodeType getNodeType() Implements abstract org.
| |
| getReceiverNode | back to summary |
|---|---|
| public Node getReceiverNode() Gets the receiverNode. receiverNode is the object on which the method is being called
| |
| isLazy | back to summary |
|---|---|
| public boolean isLazy() Is this call lazily execute because it was on right hand side of the lonely (&.) operator?
| |
| setArgsNode | back to summary |
|---|---|
| public Node setArgsNode(Node argsNode) Implements org. Set the argsNode. This is for re-writer and not general interpretation.
| |
| setIterNode | back to summary |
|---|---|
| public Node setIterNode(Node iterNode) Implements org. | |
| toStringInternal | back to summary |
|---|---|
| protected String toStringInternal() Overrides org. Doc from org. Overridden by nodes that have additional internal state to be displated in toString. For nodes that have it, name is handled separately, by implementing INameNode. Child nodes are handled via iterating #childNodes. | |