public class DRegexpNode extends DNode implements ILiteralNode
| Modifier and Type | Field and Description |
|---|---|
private RubyRegexp |
onceRegexp |
private RegexpOptions |
options |
EMPTY_LIST| Constructor and Description |
|---|
DRegexpNode(ISourcePosition position,
RegexpOptions options) |
DRegexpNode(ISourcePosition position,
RegexpOptions options,
org.jcodings.Encoding encoding) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
accept(NodeVisitor iVisitor)
Accept for the visitor pattern.
|
private RubyString |
buildDRegexpString19(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
NodeType |
getNodeType() |
boolean |
getOnce()
Gets the once.
|
RegexpOptions |
getOptions()
Gets the options.
|
RubyString |
getString(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock,
RubyString string,
Node node) |
IRubyObject |
interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
allocateString, appendToString, buildDynamicString, definition, getEncoding, is19, isSameEncodingadd, addAll, addAll, childNodes, get, getLast, prepend, sizeassign, createList, createList, createList, createList, getNodeName, getPosition, isNil, setPosition, toStringprivate final RegexpOptions options
private RubyRegexp onceRegexp
public DRegexpNode(ISourcePosition position, RegexpOptions options)
public DRegexpNode(ISourcePosition position, RegexpOptions options, org.jcodings.Encoding encoding)
public NodeType getNodeType()
getNodeType in class ListNodepublic java.lang.Object accept(NodeVisitor iVisitor)
public boolean getOnce()
public RegexpOptions getOptions()
public IRubyObject interpret(Ruby runtime, ThreadContext context, IRubyObject self, Block aBlock)
private RubyString buildDRegexpString19(Ruby runtime, ThreadContext context, IRubyObject self, Block aBlock)
public RubyString getString(Ruby runtime, ThreadContext context, IRubyObject self, Block aBlock, RubyString string, Node node)