|
|||||||||||
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.BlockNode
A structuring node (linked list of other nodes).
This type of node is used to structure the AST.
Used in many places it is created throught the appendToBlock
method
Constructor Summary | |
BlockNode(ISourcePosition position)
|
Method Summary | |
void |
accept(INodeVisitor iVisitor)
Method used by visitors. |
IListNode |
add(INode node)
|
java.util.Iterator |
iterator()
|
int |
size()
|
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 |
Methods inherited from interface org.ablaf.ast.INode |
getPosition |
Constructor Detail |
public BlockNode(ISourcePosition position)
Method Detail |
public IListNode add(INode node)
add
in interface IListNode
IListNode.add(INode)
public java.util.Iterator iterator()
iterator
in interface IListNode
IListNode.iterator()
public int size()
size
in interface IListNode
IListNode.size()
public void accept(INodeVisitor iVisitor)
accept
in interface INode
iVisitor
- the visitor to accept
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |