org.jruby.ast
Interface BlockAcceptingNode

All Known Implementing Classes:
CallNode, FCallNode, SuperNode, ZSuperNode

public interface BlockAcceptingNode

Any thing which implements this represents a callable-like node which can have a block associated with it as part of that call. The calls which can be this are: CallNode, FCallNode, VCallNode, and SuperNode. Blocks (the IterNode that this interface refers to can be either an IterNode ( {...} or do ... end ) or a BlockPassNode (&block). It is likely we can remove this interface once the parser explicitly passes all iters into the callable node during construction.


Method Summary
 Node getIterNode()
           
 void setIterNode(Node iterNode)
           
 

Method Detail

getIterNode

Node getIterNode()

setIterNode

void setIterNode(Node iterNode)


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