org.jrubyparser.parser
Class ArgsTailHolder
java.lang.Object
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.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ArgsTailHolder
public ArgsTailHolder(SourcePosition position,
ListNode keywordArgs,
KeywordRestArgNode keywordRestArg,
BlockArgNode blockArg)
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.