|
||||||||||
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.IterNode
org.jruby.ast.PreExeNode
public class PreExeNode
A pre-execution construction (BEGIN { ... }).
Field Summary |
---|
Fields inherited from class org.jruby.ast.Node |
---|
EMPTY_COMMENT_LIST, INVALID_POSITION, nodeId |
Constructor Summary | |
---|---|
PreExeNode(ISourcePosition position,
StaticScope scope,
Node body)
|
Method Summary | |
---|---|
Instruction |
accept(NodeVisitor iVisitor)
Accept for the visitor pattern. |
IRubyObject |
interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock)
|
Methods inherited from class org.jruby.ast.IterNode |
---|
childNodes, getBlockBody, getBodyNode, getScope, getVarNode |
Methods inherited from class org.jruby.ast.Node |
---|
addComment, addComments, assign, createList, definition, getComments, getNodeName, getPosition, getPositionIncludingComments, hasComments, isInvisible, setPosition, toString, when |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public PreExeNode(ISourcePosition position, StaticScope scope, Node body)
Method Detail |
---|
public Instruction accept(NodeVisitor iVisitor)
IterNode
accept
in class IterNode
iVisitor
- the visitorpublic IRubyObject interpret(Ruby runtime, ThreadContext context, IRubyObject self, Block aBlock)
interpret
in class IterNode
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |