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, isSameEncoding
add, addAll, addAll, childNodes, get, getLast, prepend, size
assign, createList, createList, createList, createList, getNodeName, getPosition, isNil, setPosition, toString
public DSymbolNode(ISourcePosition position, DStrNode node)
node
- to be copiedpublic DSymbolNode(ISourcePosition position)
public NodeType getNodeType()
getNodeType
in class ListNode
public Object accept(NodeVisitor visitor)
public IRubyObject interpret(Ruby runtime, ThreadContext context, IRubyObject self, Block aBlock)
Copyright © 2001-2016 JRuby. All Rights Reserved.