public class NthRefNode extends Node
| Modifier and Type | Field and Description |
|---|---|
private DefinedMessage |
definedMessage
ByteList representing the name of this numbered nth ref
|
private int |
matchNumber |
EMPTY_LIST| Constructor and Description |
|---|
NthRefNode(ISourcePosition position,
int matchNumber) |
| 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) |
int |
getMatchNumber()
Gets the matchNumber.
|
NodeType |
getNodeType() |
IRubyObject |
interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
assign, createList, createList, createList, createList, getNodeName, getPosition, isNil, setPosition, toStringprivate final int matchNumber
private final DefinedMessage definedMessage
public NthRefNode(ISourcePosition position, int matchNumber)
public NodeType getNodeType()
getNodeType in class Nodepublic java.lang.Object accept(NodeVisitor iVisitor)
public int getMatchNumber()
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