org.jrubyparser.ast
Class UnnamedRestArgNode

java.lang.Object
  extended by org.jrubyparser.ast.Node
      extended by org.jrubyparser.ast.ArgumentNode
          extended by org.jrubyparser.ast.RestArgNode
              extended by org.jrubyparser.ast.UnnamedRestArgNode
All Implemented Interfaces:
ILocalVariable, INameMatchable, INameNode, IParameter, ISourcePositionHolder

public class UnnamedRestArgNode
extends RestArgNode

a bare '*'


Field Summary
 
Fields inherited from class org.jrubyparser.ast.RestArgNode
index
 
Constructor Summary
UnnamedRestArgNode(SourcePosition position, int index)
           
UnnamedRestArgNode(SourcePosition position, String name, int index)
           
 
Method Summary
 
Methods inherited from class org.jrubyparser.ast.RestArgNode
accept, getIndex, getNamePosition, getNodeType
 
Methods inherited from class org.jrubyparser.ast.ArgumentNode
getDeclaration, getDefinedScope, getDepth, getLexicalName, getLexicalNamePosition, getName, getOccurrences, isNameMatch, isSame, setName
 
Methods inherited from class org.jrubyparser.ast.Node
adopt, adopt, adoptUsingNodesPosition, childNodes, comparePositionWith, createList, getClosestIScope, getClosestModule, getGrandParent, getInlineComment, getInnermostIter, getMethodFor, getNodeAt, getNodeName, getOutermostIter, getParent, getPosition, getPositionIncludingComments, getPreviousComments, insertAfter, insertAll, insertBefore, insertNode, isBlockParameter, isDescendentOf, isLeaf, isMethodParameter, setParent, setPosition, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.jrubyparser.ast.ILocalVariable
getDeclaration, getDefinedScope, getOccurrences
 
Methods inherited from interface org.jrubyparser.ast.INameNode
getLexicalName, getLexicalNamePosition, getName, setName
 
Methods inherited from interface org.jrubyparser.ast.INameMatchable
isNameMatch
 

Constructor Detail

UnnamedRestArgNode

public UnnamedRestArgNode(SourcePosition position,
                          String name,
                          int index)

UnnamedRestArgNode

public UnnamedRestArgNode(SourcePosition position,
                          int index)


Copyright © 2013. All Rights Reserved.