public class StrNode extends Node implements ILiteralNode, SideEffectFree
containsVariableAssignment, newline
Constructor and Description |
---|
StrNode(ISourcePosition position,
ByteList value) |
StrNode(ISourcePosition position,
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.
|
java.util.List<Node> |
childNodes() |
int |
getCodeRange()
Get the string's coderange.
|
NodeType |
getNodeType() |
ByteList |
getValue()
Gets the value.
|
boolean |
isFrozen() |
void |
setFrozen(boolean frozen) |
containsVariableAssignment, createList, createList, createList, createList, findFirstChild, getFile, getLine, getNodeName, getPosition, isNewline, isNil, needsDefinitionCheck, setNewline, setPosition, toString, toString, toStringInternal
public StrNode(ISourcePosition position, ByteList value)
public StrNode(ISourcePosition position, 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 ByteList getValue()
public int getCodeRange()
public java.util.List<Node> childNodes()
childNodes
in class Node
public boolean isFrozen()
public void setFrozen(boolean frozen)
Copyright © 2001-2018 JRuby. All Rights Reserved.