public class SymbolNode extends Node implements ILiteralNode, INameNode, IEqlNode
Constructor and Description |
---|
SymbolNode(ISourcePosition position,
org.jruby.util.ByteList value) |
SymbolNode(ISourcePosition position,
String name) |
Modifier and Type | Method and Description |
---|---|
Object |
accept(NodeVisitor iVisitor) |
List<Node> |
childNodes() |
boolean |
eql(IRubyObject otherValue,
ThreadContext context,
Ruby runtime,
IRubyObject self,
Block aBlock) |
org.jcodings.Encoding |
getEncoding() |
String |
getName()
Gets the name.
|
NodeType |
getNodeType() |
RubySymbol |
getSymbol(Ruby runtime) |
IRubyObject |
interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
assign, createList, createList, createList, createList, definition, getNodeName, getPosition, isNil, setPosition, toString
public SymbolNode(ISourcePosition position, String name)
public SymbolNode(ISourcePosition position, org.jruby.util.ByteList value)
public NodeType getNodeType()
getNodeType
in class Node
public Object accept(NodeVisitor iVisitor)
public String getName()
public org.jcodings.Encoding getEncoding()
public List<Node> childNodes()
childNodes
in class Node
public RubySymbol getSymbol(Ruby runtime)
public IRubyObject interpret(Ruby runtime, ThreadContext context, IRubyObject self, Block aBlock)
public boolean eql(IRubyObject otherValue, ThreadContext context, Ruby runtime, IRubyObject self, Block aBlock)
Copyright © 2001-2016 JRuby. All Rights Reserved.