public class SymbolNode extends Node implements ILiteralNode, INameNode, IEqlNode
Constructor and Description |
---|
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) |
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 NodeType getNodeType()
getNodeType
in class Node
public Object accept(NodeVisitor iVisitor)
public String getName()
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-2014 JRuby. All Rights Reserved.