public class SymbolNode extends Node implements ILiteralNode, INameNode
containsVariableAssignment
Constructor and Description |
---|
SymbolNode(ISourcePosition position,
org.jruby.util.ByteList value) |
SymbolNode(ISourcePosition position,
String name) |
Modifier and Type | Method and Description |
---|---|
<T> T |
accept(NodeVisitor<T> iVisitor) |
List<Node> |
childNodes() |
org.jcodings.Encoding |
getEncoding() |
String |
getName()
Gets the name.
|
NodeType |
getNodeType() |
RubySymbol |
getSymbol(Ruby runtime) |
containsVariableAssignment, createList, createList, createList, createList, findFirstChild, getNodeName, getPosition, isNil, needsDefinitionCheck, setPosition, toString, toString
public SymbolNode(ISourcePosition position, String name)
public SymbolNode(ISourcePosition position, org.jruby.util.ByteList value)
public NodeType getNodeType()
getNodeType
in class Node
public <T> T accept(NodeVisitor<T> iVisitor)
public String getName()
public org.jcodings.Encoding getEncoding()
public List<Node> childNodes()
childNodes
in class Node
public RubySymbol getSymbol(Ruby runtime)
Copyright © 2001-2015 JRuby. All Rights Reserved.