public class DRegexpNode extends DNode implements ILiteralNode
Constructor and Description |
---|
DRegexpNode(ISourcePosition position,
RegexpOptions options) |
DRegexpNode(ISourcePosition position,
RegexpOptions options,
org.jcodings.Encoding encoding) |
Modifier and Type | Method and Description |
---|---|
Object |
accept(NodeVisitor iVisitor)
Accept for the visitor pattern.
|
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, isSameEncoding
add, addAll, addAll, childNodes, get, getLast, prepend, size
assign, createList, createList, createList, createList, getNodeName, getPosition, isNil, setPosition, toString
public DRegexpNode(ISourcePosition position, RegexpOptions options)
public DRegexpNode(ISourcePosition position, RegexpOptions options, org.jcodings.Encoding encoding)
public NodeType getNodeType()
getNodeType
in class ListNode
public Object accept(NodeVisitor iVisitor)
public boolean getOnce()
public RegexpOptions getOptions()
public IRubyObject interpret(Ruby runtime, ThreadContext context, IRubyObject self, Block aBlock)
public RubyString getString(Ruby runtime, ThreadContext context, IRubyObject self, Block aBlock, RubyString string, Node node)
Copyright © 2001-2014 JRuby. All Rights Reserved.