public class Match3Node extends Node
| Modifier and Type | Field and Description |
|---|---|
CallSite |
callAdapter |
private Node |
receiverNode |
private Node |
valueNode |
EMPTY_LIST| Constructor and Description |
|---|
Match3Node(ISourcePosition position,
Node receiverNode,
Node valueNode) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
accept(NodeVisitor iVisitor)
Accept for the visitor pattern.
|
java.util.List<Node> |
childNodes() |
RubyString |
definition(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
NodeType |
getNodeType() |
Node |
getReceiverNode()
Gets the receiverNode.
|
Node |
getValueNode()
Gets the valueNode.
|
IRubyObject |
interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
assign, createList, createList, createList, createList, getNodeName, getPosition, isNil, setPosition, toStringprivate final Node receiverNode
private final Node valueNode
public final CallSite callAdapter
public Match3Node(ISourcePosition position, Node receiverNode, Node valueNode)
public NodeType getNodeType()
getNodeType in class Nodepublic java.lang.Object accept(NodeVisitor iVisitor)
public Node getReceiverNode()
public Node getValueNode()
public java.util.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 Node