org.jruby.ast
Class Hash19Node

java.lang.Object
  extended by org.jruby.ast.Node
      extended by org.jruby.ast.HashNode
          extended by org.jruby.ast.Hash19Node
All Implemented Interfaces:
ISourcePositionHolder

public class Hash19Node
extends HashNode

A Literal Hash that can represent either a {a=&b, c=&d} type expression or the list of default values in a method call.


Constructor Summary
Hash19Node(ISourcePosition position, ListNode listNode)
           
 
Method Summary
protected  void aset(Ruby runtime, RubyHash hash, IRubyObject key, IRubyObject value)
           
 
Methods inherited from class org.jruby.ast.HashNode
accept, childNodes, getListNode, getNodeType, interpret
 
Methods inherited from class org.jruby.ast.Node
assign, createList, definition, getNodeName, getPosition, isInvisible, setPosition, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Hash19Node

public Hash19Node(ISourcePosition position,
                  ListNode listNode)
Method Detail

aset

protected void aset(Ruby runtime,
                    RubyHash hash,
                    IRubyObject key,
                    IRubyObject value)
Overrides:
aset in class HashNode


Copyright © 2002-2009 JRuby Team. All Rights Reserved.