org.jruby.ast
Class RestArgNode

java.lang.Object
  extended by org.jruby.ast.Node
      extended by org.jruby.ast.ArgumentNode
          extended by org.jruby.ast.RestArgNode
All Implemented Interfaces:
INameNode, ISourcePositionHolder
Direct Known Subclasses:
UnnamedRestArgNode

public class RestArgNode
extends ArgumentNode
implements INameNode


Field Summary
protected  int index
           
 
Fields inherited from class org.jruby.ast.Node
EMPTY_COMMENT_LIST, INVALID_POSITION, nodeId
 
Constructor Summary
RestArgNode(ISourcePosition position, java.lang.String name, int index)
           
 
Method Summary
 Instruction accept(NodeVisitor iVisitor)
           
 int getIndex()
           
 
Methods inherited from class org.jruby.ast.ArgumentNode
childNodes, getName, setName
 
Methods inherited from class org.jruby.ast.Node
addComment, addComments, assign, createList, definition, getComments, getNodeName, getPosition, getPositionIncludingComments, hasComments, interpret, isInvisible, setPosition, toString, when
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.jruby.ast.types.INameNode
getName
 

Field Detail

index

protected int index
Constructor Detail

RestArgNode

public RestArgNode(ISourcePosition position,
                   java.lang.String name,
                   int index)
Method Detail

accept

public Instruction accept(NodeVisitor iVisitor)
Overrides:
accept in class ArgumentNode

getIndex

public int getIndex()


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