org.jruby.ast
Class HashNode

java.lang.Object
  extended byorg.jruby.ast.AbstractNode
      extended byorg.jruby.ast.HashNode
All Implemented Interfaces:
INode, java.io.Serializable

public class HashNode
extends AbstractNode

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

Version:
$Revision: 1.3 $
Author:
jpetersen
See Also:
Serialized Form

Constructor Summary
HashNode(IListNode listNode)
           
HashNode(ISourcePosition position, IListNode listNode)
           
 
Method Summary
 void accept(INodeVisitor iVisitor)
          Accept for the visitor pattern.
 IListNode getListNode()
          Gets the listNode.
 
Methods inherited from class org.jruby.ast.AbstractNode
getPosition
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HashNode

public HashNode(IListNode listNode)

HashNode

public HashNode(ISourcePosition position,
                IListNode listNode)
Method Detail

accept

public void accept(INodeVisitor iVisitor)
Accept for the visitor pattern.

Parameters:
iVisitor - the visitor

getListNode

public IListNode getListNode()
Gets the listNode.

Returns:
Returns a IListNode


Copyright © 2002 Jan Arne Petersen. All Rights Reserved.