|
||||||||||
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
public class BlockNode
Represents a block of nodes (read that as list).
Field Summary |
---|
Fields inherited from class org.jruby.ast.Node |
---|
EMPTY_COMMENT_LIST, INVALID_POSITION, nodeId |
Constructor Summary | |
---|---|
BlockNode(ISourcePosition position)
|
Method Summary | |
---|---|
Instruction |
accept(NodeVisitor iVisitor)
RubyMethod used by visitors. |
IRubyObject |
interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock)
|
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, assign, createList, definition, getComments, getNodeName, getPosition, getPositionIncludingComments, hasComments, isInvisible, setPosition, when |
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 acceptpublic IRubyObject interpret(Ruby runtime, ThreadContext context, IRubyObject self, Block aBlock)
interpret
in class Node
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |