public class DRegexpNode extends DNode implements ILiteralNode
ASSIGNMENT_BYTELIST, CLASS_VARIABLE_BYTELIST, CONSTANT_BYTELIST, EXPRESSION_BYTELIST, FALSE_BYTELIST, GLOBAL_VARIABLE_BYTELIST, INSTANCE_VARIABLE_BYTELIST, LOCAL_VARIABLE_BYTELIST, LOCAL_VARIABLE_IN_BLOCK_BYTELIST, METHOD_BYTELIST, NIL_BYTELIST, SELF_BYTELIST, SUPER_BYTELIST, TRUE_BYTELIST, YIELD_BYTELIST
Constructor and Description |
---|
DRegexpNode(ISourcePosition position,
RegexpOptions options) |
DRegexpNode(ISourcePosition position,
RegexpOptions options,
boolean is19) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
accept(NodeVisitor iVisitor)
Accept for the visitor pattern.
|
protected RubyString |
allocateString(Ruby runtime) |
NodeType |
getNodeType() |
boolean |
getOnce()
Gets the once.
|
RegexpOptions |
getOptions()
Gets the options.
|
IRubyObject |
interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
boolean |
is19() |
appendToString, buildDynamicString, definition, isSameEncoding
add, addAll, addAll, childNodes, get, getLast, prepend, size
assign, createList, getNodeName, getPosition, isInvisible, setPosition, toString
public DRegexpNode(ISourcePosition position, RegexpOptions options)
public DRegexpNode(ISourcePosition position, RegexpOptions options, boolean is19)
public NodeType getNodeType()
getNodeType
in class ListNode
protected RubyString allocateString(Ruby runtime)
allocateString
in class DNode
public java.lang.Object accept(NodeVisitor iVisitor)
public boolean getOnce()
public RegexpOptions getOptions()
public IRubyObject interpret(Ruby runtime, ThreadContext context, IRubyObject self, Block aBlock)
Copyright © 2002-2009 JRuby Team. All Rights Reserved.