|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jruby.ast.Node
org.jruby.ast.ListNode
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
Field Summary |
Fields inherited from class org.jruby.ast.Node |
instruction, nodeId |
Constructor Summary | |
BlockNode(ISourcePosition position)
|
Method Summary | |
Instruction |
accept(NodeVisitor iVisitor)
RubyMethod used by visitors. |
Methods inherited from class org.jruby.ast.ListNode |
add, addAll, addAll, childNodes, get, getLast, prepend, size, toString |
Methods inherited from class org.jruby.ast.Node |
addComment, addComments, createList, createList, createList, createList, getComments, getNodeName, getPosition, getPositionIncludingComments, hasComments, setPosition |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public BlockNode(ISourcePosition position)
Method Detail |
public Instruction accept(NodeVisitor iVisitor)
accept
in class ListNode
iVisitor
- the visitor to accept
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |