| Package | Description |
|---|---|
| org.jruby | |
| org.jruby.ir | |
| org.jruby.ir.interpreter | |
| org.jruby.runtime |
| Modifier and Type | Method and Description |
|---|---|
static EvalType |
EvalType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EvalType[] |
EvalType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
IRubyObject |
RubyBasicObject.evalUnder(ThreadContext context,
RubyModule under,
RubyString src,
String file,
int line,
EvalType evalType)
Evaluates the string src with self set to the current object,
using the module under as the context.
|
IRubyObject |
RubyBasicObject.specificEval(ThreadContext context,
RubyModule mod,
Block block,
EvalType evalType)
specific_eval
Evaluates the block or string inside of the context of this
object, using the supplied arguments.
|
IRubyObject |
RubyObject.specificEval(ThreadContext context,
RubyModule mod,
IRubyObject[] args,
Block block,
EvalType evalType)
Deprecated.
|
IRubyObject |
RubyBasicObject.specificEval(ThreadContext context,
RubyModule mod,
IRubyObject arg,
Block block,
EvalType evalType)
specific_eval
Evaluates the block or string inside of the context of this
object, using the supplied arguments.
|
IRubyObject |
RubyBasicObject.specificEval(ThreadContext context,
RubyModule mod,
IRubyObject arg0,
IRubyObject arg1,
Block block,
EvalType evalType)
specific_eval
Evaluates the block or string inside of the context of this
object, using the supplied arguments.
|
IRubyObject |
RubyBasicObject.specificEval(ThreadContext context,
RubyModule mod,
IRubyObject arg0,
IRubyObject arg1,
IRubyObject arg2,
Block block,
EvalType evalType)
specific_eval
Evaluates the block or string inside of the context of this
object, using the supplied arguments.
|
protected IRubyObject |
RubyBasicObject.yieldUnder(ThreadContext context,
RubyModule under,
Block block,
EvalType evalType)
Will yield to the specific block changing the self to be the
current object instead of the self that is part of the frame
saved in the block frame.
|
protected IRubyObject |
RubyBasicObject.yieldUnder(ThreadContext context,
RubyModule under,
IRubyObject[] args,
Block block,
EvalType evalType)
Will yield to the specific block changing the self to be the
current object instead of the self that is part of the frame
saved in the block frame.
|
| Constructor and Description |
|---|
IREvalScript(IRManager manager,
IRScope lexicalParent,
String fileName,
int lineNumber,
StaticScope staticScope,
EvalType evalType) |
| Modifier and Type | Method and Description |
|---|---|
static IRubyObject |
Interpreter.evalSimple(ThreadContext context,
RubyModule under,
IRubyObject self,
RubyString src,
String file,
int lineNumber,
EvalType evalType)
Evaluate the given string.
|
| Modifier and Type | Field and Description |
|---|---|
protected ThreadLocal<EvalType> |
IRBlockBody.evalType |
| Modifier and Type | Method and Description |
|---|---|
EvalType |
IRBlockBody.getEvalType() |
EvalType |
DynamicScope.getEvalType() |
EvalType |
Block.getEvalType() |
| Modifier and Type | Method and Description |
|---|---|
Block |
Block.cloneBlockForEval(IRubyObject self,
EvalType evalType) |
static DynamicScope |
DynamicScope.newDynamicScope(StaticScope staticScope,
DynamicScope parent,
EvalType evalType) |
void |
MixedModeIRBlockBody.setEvalType(EvalType evalType) |
void |
MethodBlockBody.setEvalType(EvalType evalType) |
void |
IRBlockBody.setEvalType(EvalType evalType) |
void |
DynamicScope.setEvalType(EvalType evalType) |
void |
BlockBody.setEvalType(EvalType evalType) |
void |
Block.setEvalType(EvalType evalType) |
Copyright © 2001-2016 JRuby. All Rights Reserved.