public class HashNode extends Node
Constructor and Description |
---|
HashNode(ISourcePosition position,
ListNode listNode) |
Modifier and Type | Method and Description |
---|---|
Object |
accept(NodeVisitor iVisitor)
Accept for the visitor pattern.
|
protected void |
aset(Ruby runtime,
RubyHash hash,
IRubyObject key,
IRubyObject value) |
protected void |
asetSmall(Ruby runtime,
RubyHash hash,
IRubyObject key,
IRubyObject value) |
List<Node> |
childNodes() |
ListNode |
getListNode()
Gets the listNode.
|
NodeType |
getNodeType() |
IRubyObject |
interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
assign, createList, createList, createList, createList, definition, getNodeName, getPosition, isNil, setPosition, toString
public HashNode(ISourcePosition position, ListNode listNode)
public NodeType getNodeType()
getNodeType
in class Node
public Object accept(NodeVisitor iVisitor)
public ListNode getListNode()
public List<Node> childNodes()
childNodes
in class Node
public IRubyObject interpret(Ruby runtime, ThreadContext context, IRubyObject self, Block aBlock)
protected void aset(Ruby runtime, RubyHash hash, IRubyObject key, IRubyObject value)
protected void asetSmall(Ruby runtime, RubyHash hash, IRubyObject key, IRubyObject value)
Copyright © 2001-2014 JRuby. All Rights Reserved.