public class SymbolNode extends Node implements ILiteralNode, INameNode, IEqlNode
Constructor and Description |
---|
SymbolNode(ISourcePosition position,
org.jruby.util.ByteList value) |
SymbolNode(ISourcePosition position,
java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
accept(NodeVisitor iVisitor) |
java.util.List<Node> |
childNodes() |
boolean |
eql(IRubyObject otherValue,
ThreadContext context,
Ruby runtime,
IRubyObject self,
Block aBlock) |
org.jcodings.Encoding |
getEncoding() |
java.lang.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, java.lang.String name)
public SymbolNode(ISourcePosition position, org.jruby.util.ByteList value)
public NodeType getNodeType()
getNodeType
in class Node
public java.lang.Object accept(NodeVisitor iVisitor)
public java.lang.String getName()
public org.jcodings.Encoding getEncoding()
public java.util.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 © 2002-2009 JRuby Team. All Rights Reserved.