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,
java.lang.String name,
org.jcodings.Encoding encoding,
int cr) |
Modifier and Type | Method and Description |
---|---|
<T> T |
accept(NodeVisitor<T> iVisitor) |
java.util.List<Node> |
childNodes() |
boolean |
equals(java.lang.Object other) |
org.jruby.util.ByteList |
getBytes() |
org.jcodings.Encoding |
getEncoding() |
java.lang.String |
getName()
Gets the name.
|
NodeType |
getNodeType() |
containsVariableAssignment, createList, createList, createList, createList, findFirstChild, getFile, getLine, getNodeName, getPosition, isNewline, isNil, needsDefinitionCheck, setNewline, setPosition, toString, toString, toStringInternal
public SymbolNode(ISourcePosition position, java.lang.String name, org.jcodings.Encoding encoding, int cr)
public SymbolNode(ISourcePosition position, org.jruby.util.ByteList value)
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
public NodeType getNodeType()
getNodeType
in class Node
public <T> T accept(NodeVisitor<T> iVisitor)
public java.lang.String getName()
public org.jcodings.Encoding getEncoding()
public java.util.List<Node> childNodes()
childNodes
in class Node
public org.jruby.util.ByteList getBytes()
Copyright © 2001-2017 JRuby. All Rights Reserved.