|
||||||||||
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 |
---|
ASSIGNMENT_BYTELIST, CLASS_VARIABLE_BYTELIST, CONSTANT_BYTELIST, EXPRESSION_BYTELIST, FALSE_BYTELIST, GLOBAL_VARIABLE_BYTELIST, INSTANCE_VARIABLE_BYTELIST, LOCAL_VARIABLE_BYTELIST, LOCAL_VARIABLE_IN_BLOCK_BYTELIST, METHOD_BYTELIST, NIL_BYTELIST, SELF_BYTELIST, SUPER_BYTELIST, TRUE_BYTELIST, YIELD_BYTELIST |
Constructor Summary | |
---|---|
BlockNode(ISourcePosition position)
|
Method Summary | |
---|---|
java.lang.Object |
accept(NodeVisitor iVisitor)
RubyMethod used by visitors. |
NodeType |
getNodeType()
|
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 |
Methods inherited from class org.jruby.ast.Node |
---|
assign, createList, definition, getNodeName, getPosition, isInvisible, setPosition, toString |
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 NodeType getNodeType()
getNodeType
in class ListNode
public java.lang.Object 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 |