public class StrNode extends Node implements ILiteralNode, LiteralValue, SideEffectFree
containsVariableAssignment, newline| Constructor and Description |
|---|
StrNode(int line,
ByteList value) |
StrNode(int line,
ByteList value,
int codeRange) |
StrNode(int line,
StrNode head,
StrNode tail) |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
accept(NodeVisitor<T> iVisitor)
Accept for the visitor pattern.
|
java.util.List<Node> |
childNodes() |
boolean |
equals(java.lang.Object o) |
int |
getCodeRange()
Get the string's coderange.
|
NodeType |
getNodeType() |
ByteList |
getValue()
Gets the value.
|
int |
hashCode() |
boolean |
isFrozen() |
IRubyObject |
literalValue(Ruby runtime) |
void |
setFrozen(boolean frozen) |
containsVariableAssignment, createList, createList, createList, createList, executesOnce, findFirstChild, getFile, getLine, getNodeName, isNewline, isNil, needsDefinitionCheck, setLine, setNewline, toString, toString, toStringExtraInfo, toStringInternal, unsetNewlinepublic StrNode(int line,
ByteList value)
public StrNode(int line,
ByteList value,
int codeRange)
public NodeType getNodeType()
getNodeType in class Nodepublic <T> T accept(NodeVisitor<T> iVisitor)
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic ByteList getValue()
public int getCodeRange()
public java.util.List<Node> childNodes()
childNodes in class Nodepublic boolean isFrozen()
public void setFrozen(boolean frozen)
public IRubyObject literalValue(Ruby runtime)
literalValue in interface LiteralValueCopyright © 2001-2022 JRuby. All Rights Reserved.