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, definition, getNodeName, getPosition, setPosition, toStringpublic RegexpNode(ISourcePosition position, org.jruby.util.ByteList value, RegexpOptions options)
public org.jcodings.Encoding getEncoding()
public NodeType getNodeType()
getNodeType in class Nodepublic 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 Nodepublic IRubyObject interpret(Ruby runtime, ThreadContext context, IRubyObject self, Block aBlock)
Copyright © 2001-2013 JRuby. All Rights Reserved.