Top Description Fields Constructors Methods
org.jruby.ast

public Class DSymbolNode

extends DNode
Class Inheritance
Imports
org.jruby.ast.visitor.NodeVisitor

Node representing symbol in a form like ':"3jane"'.

Field Summary

Inherited from org.jruby.ast.DNode:
encoding

Constructor Summary

AccessConstructor and Description
public
DSymbolNode(int line, DStrNode
to be copied
node
)

For mutating from a DStr to a DSym (we just create a new one with same contents).

public
DSymbolNode(int line)

Method Summary

Modifier and TypeMethod and Description
public <T> T
public NodeType
Inherited from org.jruby.ast.DNode:
getEncoding

Constructor Detail

DSymbolNodeback to summary
public DSymbolNode(int line, DStrNode node)

For mutating from a DStr to a DSym (we just create a new one with same contents).

Parameters
node:DStrNode

to be copied

DSymbolNodeback to summary
public DSymbolNode(int line)

Method Detail

acceptback to summary
public <T> T accept(NodeVisitor<T> visitor)

Overrides org.jruby.ast.ListNode.accept.

Annotations
@Override
getNodeTypeback to summary
public NodeType getNodeType()

Overrides org.jruby.ast.ListNode.getNodeType.

Returns:NodeType

Doc from org.jruby.ast.Node.getNodeType.

the nodeId

Annotations
@Override