public class RegexpNode extends Node implements ILiteralNode
Constructor and Description |
---|
RegexpNode(ISourcePosition position,
org.jruby.util.ByteList value,
RegexpOptions options) |
Modifier and Type | Method and Description |
---|---|
Object |
accept(NodeVisitor iVisitor) |
List<Node> |
childNodes() |
org.jcodings.Encoding |
getEncoding() |
NodeType |
getNodeType() |
RegexpOptions |
getOptions()
Gets the options.
|
RubyRegexp |
getPattern() |
org.jruby.util.ByteList |
getValue()
Gets the value.
|
IRubyObject |
interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
RubyRegexp |
loadPattern(Ruby runtime) |
void |
setPattern(RubyRegexp p) |
assign, createList, createList, createList, createList, definition, getNodeName, getPosition, isNil, setPosition, toString
public RegexpNode(ISourcePosition position, org.jruby.util.ByteList value, RegexpOptions options)
public org.jcodings.Encoding getEncoding()
public NodeType getNodeType()
getNodeType
in class Node
public Object accept(NodeVisitor iVisitor)
public RegexpOptions getOptions()
public org.jruby.util.ByteList getValue()
public RubyRegexp loadPattern(Ruby runtime)
public void setPattern(RubyRegexp p)
public RubyRegexp getPattern()
public List<Node> childNodes()
childNodes
in class Node
public IRubyObject interpret(Ruby runtime, ThreadContext context, IRubyObject self, Block aBlock)
Copyright © 2001-2014 JRuby. All Rights Reserved.