public class SymbolNode extends Node implements ILiteralNode, INameNode, SideEffectFree
containsVariableAssignment, newline| Constructor and Description |
|---|
SymbolNode(ISourcePosition position,
org.jruby.util.ByteList value) |
SymbolNode(ISourcePosition position,
String name,
org.jcodings.Encoding encoding,
int cr) |
| 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() |
containsVariableAssignment, createList, createList, createList, createList, findFirstChild, getLine, getNodeName, getPosition, isNewline, isNil, needsDefinitionCheck, setNewline, setPosition, toString, toStringpublic SymbolNode(ISourcePosition position, String name, org.jcodings.Encoding encoding, int cr)
public SymbolNode(ISourcePosition position, org.jruby.util.ByteList value)
public NodeType getNodeType()
getNodeType in class Nodepublic <T> T accept(NodeVisitor<T> iVisitor)
public String getName()
public org.jcodings.Encoding getEncoding()
public List<Node> childNodes()
childNodes in class NodeCopyright © 2001-2016 JRuby. All Rights Reserved.