public class StrNode extends Node implements ILiteralNode
Constructor and Description |
---|
StrNode(ISourcePosition position,
org.jruby.util.ByteList value) |
StrNode(ISourcePosition position,
org.jruby.util.ByteList value,
int codeRange) |
StrNode(ISourcePosition position,
StrNode head,
StrNode tail) |
Modifier and Type | Method and Description |
---|---|
Object |
accept(NodeVisitor iVisitor)
Accept for the visitor pattern.
|
List<Node> |
childNodes() |
int |
getCodeRange()
Get the string's coderange.
|
NodeType |
getNodeType() |
org.jruby.util.ByteList |
getValue()
Gets the value.
|
IRubyObject |
interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
assign, createList, createList, createList, createList, definition, getNodeName, getPosition, isNil, setPosition, toString
public StrNode(ISourcePosition position, org.jruby.util.ByteList value)
public StrNode(ISourcePosition position, org.jruby.util.ByteList value, int codeRange)
public StrNode(ISourcePosition position, StrNode head, StrNode tail)
public NodeType getNodeType()
getNodeType
in class Node
public Object accept(NodeVisitor iVisitor)
public org.jruby.util.ByteList getValue()
public int getCodeRange()
public List<Node> childNodes()
childNodes
in class Node
public IRubyObject interpret(Ruby runtime, ThreadContext context, IRubyObject self, Block aBlock)
Copyright © 2001-2016 JRuby. All Rights Reserved.