public class DSymbolNode extends DNode
| 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 |
|---|---|
Object |
accept(NodeVisitor visitor) |
NodeType |
getNodeType() |
IRubyObject |
interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
allocateString, appendToString, buildDynamicString, definition, getEncoding, is19, isSameEncodingadd, addAll, addAll, childNodes, get, getLast, prepend, sizeassign, createList, createList, createList, createList, getNodeName, getPosition, isNil, setPosition, toStringpublic DSymbolNode(ISourcePosition position, DStrNode node)
node - to be copiedpublic DSymbolNode(ISourcePosition position)
public NodeType getNodeType()
getNodeType in class ListNodepublic Object accept(NodeVisitor visitor)
public IRubyObject interpret(Ruby runtime, ThreadContext context, IRubyObject self, Block aBlock)
Copyright © 2001-2016 JRuby. All Rights Reserved.