|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jruby.ast.Node
org.jruby.ast.ListNode
org.jruby.ast.DSymbolNode
public class DSymbolNode
Node representing symbol in a form like ':"3jane"'.
Field Summary |
---|
Fields inherited from class org.jruby.ast.Node |
---|
instruction, nodeId |
Constructor Summary | |
---|---|
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). |
Method Summary | |
---|---|
Instruction |
accept(NodeVisitor visitor)
|
Methods inherited from class org.jruby.ast.ListNode |
---|
add, addAll, addAll, childNodes, get, getLast, prepend, size, toString |
Methods inherited from class org.jruby.ast.Node |
---|
addComment, addComments, createList, createList, createList, createList, getComments, getNodeName, getPosition, getPositionIncludingComments, hasComments, setPosition |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DSymbolNode(ISourcePosition position, DStrNode node)
node
- to be copiedpublic DSymbolNode(ISourcePosition position)
Method Detail |
---|
public Instruction accept(NodeVisitor visitor)
accept
in class ListNode
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |