org.jruby.ast
Class PreExeNode
java.lang.Object
org.jruby.ast.Node
org.jruby.ast.IterNode
org.jruby.ast.PreExeNode
- All Implemented Interfaces:
- ISourcePositionHolder
public class PreExeNode
- extends IterNode
A pre-execution construction (BEGIN { ... }).
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
PreExeNode
public PreExeNode(ISourcePosition position,
StaticScope scope,
Node body)
getNodeType
public NodeType getNodeType()
- Overrides:
getNodeType
in class IterNode
- 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 IterNode
- Parameters:
iVisitor
- the visitor
interpret
public IRubyObject interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock)
- Overrides:
interpret
in class IterNode
Copyright © 2002-2007 JRuby Team. All Rights Reserved.