org.jruby.internal.runtime.methods
Class CallConfiguration

java.lang.Object
  extended by org.jruby.internal.runtime.methods.CallConfiguration

public abstract class CallConfiguration
extends java.lang.Object

Author:
headius

Field Summary
static CallConfiguration BACKTRACE_AND_SCOPE
           
static CallConfiguration BACKTRACE_ONLY
           
static CallConfiguration FRAME_AND_SCOPE
           
static CallConfiguration FRAME_ONLY
           
static CallConfiguration NO_FRAME_NO_SCOPE
           
static CallConfiguration SCOPE_ONLY
           
 
Method Summary
static CallConfiguration getCallConfig(boolean frame, boolean scope, boolean backtrace)
           
static CallConfiguration getCallConfigByAnno(JRubyMethod anno)
           
 boolean isNoop()
           
abstract  java.lang.String name()
           
abstract  void post(ThreadContext context)
           
abstract  void pre(ThreadContext context, IRubyObject self, RubyModule implementer, java.lang.String name, Block block, StaticScope scope, JumpTarget jumpTarget)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FRAME_AND_SCOPE

public static final CallConfiguration FRAME_AND_SCOPE

FRAME_ONLY

public static final CallConfiguration FRAME_ONLY

SCOPE_ONLY

public static final CallConfiguration SCOPE_ONLY

NO_FRAME_NO_SCOPE

public static final CallConfiguration NO_FRAME_NO_SCOPE

BACKTRACE_ONLY

public static final CallConfiguration BACKTRACE_ONLY

BACKTRACE_AND_SCOPE

public static final CallConfiguration BACKTRACE_AND_SCOPE
Method Detail

getCallConfigByAnno

public static CallConfiguration getCallConfigByAnno(JRubyMethod anno)

getCallConfig

public static CallConfiguration getCallConfig(boolean frame,
                                              boolean scope,
                                              boolean backtrace)

pre

public abstract void pre(ThreadContext context,
                         IRubyObject self,
                         RubyModule implementer,
                         java.lang.String name,
                         Block block,
                         StaticScope scope,
                         JumpTarget jumpTarget)

post

public abstract void post(ThreadContext context)

name

public abstract java.lang.String name()

isNoop

public boolean isNoop()


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