org.jruby.ast
Class PreExe19Node

java.lang.Object
  extended by org.jruby.ast.Node
      extended by org.jruby.ast.IterNode
          extended by org.jruby.ast.PreExeNode
              extended by org.jruby.ast.PreExe19Node
All Implemented Interfaces:
ISourcePositionHolder

public class PreExe19Node
extends PreExeNode

A pre-execution construction (BEGIN { ... }).


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
PreExe19Node(ISourcePosition position, StaticScope scope, Node body)
           
 
Method Summary
 java.lang.Object accept(NodeVisitor iVisitor)
          Accept for the visitor pattern.
 NodeType getNodeType()
           
 IRubyObject interpret(Ruby runtime, ThreadContext context, IRubyObject self, Block aBlock)
           
 
Methods inherited from class org.jruby.ast.IterNode
childNodes, getArgumentType, getBlockBody, getBlockVarNode, getBodyNode, getScope, getVarNode
 
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

PreExe19Node

public PreExe19Node(ISourcePosition position,
                    StaticScope scope,
                    Node body)
Method Detail

getNodeType

public NodeType getNodeType()
Overrides:
getNodeType in class PreExeNode
Returns:
the nodeId

accept

public java.lang.Object accept(NodeVisitor iVisitor)
Description copied from class: IterNode
Accept for the visitor pattern.

Overrides:
accept in class PreExeNode
Parameters:
iVisitor - the visitor

interpret

public IRubyObject interpret(Ruby runtime,
                             ThreadContext context,
                             IRubyObject self,
                             Block aBlock)
Overrides:
interpret in class PreExeNode


Copyright © 2002-2009 JRuby Team. All Rights Reserved.