public class DSymbolNode extends DNode
containsVariableAssignment, newline
Constructor and Description |
---|
DSymbolNode(ISourcePosition position) |
DSymbolNode(ISourcePosition position,
DStrNode node)
For mutating from a DStr to a DSym (we just create a new one with same contents).
|
Modifier and Type | Method and Description |
---|---|
<T> T |
accept(NodeVisitor<T> visitor) |
NodeType |
getNodeType() |
getEncoding
add, addAll, addAll, addAll, addAllInternal, addInternal, childNodes, children, get, getLast, growList, isEmpty, iterator, size
containsVariableAssignment, createList, createList, createList, createList, findFirstChild, getFile, getLine, getNodeName, getPosition, isNewline, isNil, needsDefinitionCheck, setNewline, setPosition, toString, toString, toStringInternal
public DSymbolNode(ISourcePosition position, DStrNode node)
node
- to be copiedpublic DSymbolNode(ISourcePosition position)
public NodeType getNodeType()
getNodeType
in class ListNode
public <T> T accept(NodeVisitor<T> visitor)
Copyright © 2001-2018 JRuby. All Rights Reserved.