org.jruby.ast
Class ExpandArrayNode

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

public class ExpandArrayNode
extends AbstractNode

Represents an expanded argument (*expr). this can be used in a method call, in an array reference or in a right hand side of an assignment (of course all those are variations on the method call theme with operator flavors). MRI: ArgsCatNode, ArgsPushNode

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

Constructor Summary
ExpandArrayNode(INode expandNode)
           
ExpandArrayNode(ISourcePosition position, INode expandNode)
          Constructor for ExpandArrayNode.
 
Method Summary
 void accept(INodeVisitor iVisitor)
           
 INode getExpandNode()
          Gets the expandNode.
 
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

ExpandArrayNode

public ExpandArrayNode(INode expandNode)

ExpandArrayNode

public ExpandArrayNode(ISourcePosition position,
                       INode expandNode)
Constructor for ExpandArrayNode.

Parameters:
position -
Method Detail

accept

public void accept(INodeVisitor iVisitor)
See Also:
INode.accept(INodeVisitor)

getExpandNode

public INode getExpandNode()
Gets the expandNode.

Returns:
Returns a INode


Copyright © 2002 Jan Arne Petersen. All Rights Reserved.