public class StrNode extends Node implements ILiteralNode, SideEffectFree
containsVariableAssignment, newline
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 |
---|---|
<T> T |
accept(NodeVisitor<T> 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.
|
boolean |
isFrozen() |
void |
setFrozen(boolean frozen) |
containsVariableAssignment, createList, createList, createList, createList, findFirstChild, getLine, getNodeName, getPosition, isNewline, isNil, needsDefinitionCheck, setNewline, setPosition, toString, 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 <T> T accept(NodeVisitor<T> iVisitor)
public org.jruby.util.ByteList getValue()
public int getCodeRange()
public List<Node> childNodes()
childNodes
in class Node
public boolean isFrozen()
public void setFrozen(boolean frozen)
Copyright © 2001-2016 JRuby. All Rights Reserved.