org.jrubyparser.parser
Class ArgsTailHolder

java.lang.Object
  extended by org.jrubyparser.parser.ArgsTailHolder
All Implemented Interfaces:
ISourcePositionHolder

public class ArgsTailHolder
extends Object
implements ISourcePositionHolder

Simple struct to hold values until they can be inserted into the AST.


Constructor Summary
ArgsTailHolder(SourcePosition position, ListNode keywordArgs, KeywordRestArgNode keywordRestArg, BlockArgNode blockArg)
           
 
Method Summary
 BlockArgNode getBlockArg()
           
 ListNode getKeywordArgs()
           
 KeywordRestArgNode getKeywordRestArgNode()
           
 SourcePosition getPosition()
           
 boolean hasKeywordArgs()
          Does this holder support either keyword argument types
 void setPosition(SourcePosition position)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArgsTailHolder

public ArgsTailHolder(SourcePosition position,
                      ListNode keywordArgs,
                      KeywordRestArgNode keywordRestArg,
                      BlockArgNode blockArg)
Method Detail

getPosition

public SourcePosition getPosition()
Specified by:
getPosition in interface ISourcePositionHolder

setPosition

public void setPosition(SourcePosition position)
Specified by:
setPosition in interface ISourcePositionHolder

getBlockArg

public BlockArgNode getBlockArg()

getKeywordArgs

public ListNode getKeywordArgs()

getKeywordRestArgNode

public KeywordRestArgNode getKeywordRestArgNode()

hasKeywordArgs

public boolean hasKeywordArgs()
Does this holder support either keyword argument types



Copyright © 2013. All Rights Reserved.