|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jruby.ast.AbstractNode
org.jruby.ast.BlockArgNode
a block argument.
A block argument, when present in a function declaration is the last argument
and it is preceded by an ampersand:
def tutu(a, b, &c)
in this example c is a BlockArgNode
Constructor Summary | |
BlockArgNode(ISourcePosition position,
int count)
|
Method Summary | |
void |
accept(INodeVisitor iVisitor)
Accept for the visitor pattern. |
int |
getCount()
Gets the count. |
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 |
public BlockArgNode(ISourcePosition position, int count)
Method Detail |
public void accept(INodeVisitor iVisitor)
iVisitor
- the visitorpublic int getCount()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |