| Modifier and Type | Field and Description |
|---|---|
| pack-priv static int | |
| public static final Logger | |
| public static final String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static void | |
| private static IRubyObject | evalCommon(ThreadContext context, DynamicScope evalScope, IRubyObject self, IRubyObject src, String file, int lineNumber, String name, Block blockArg, EvalType evalType, boolean bindingGiven)
|
| public static String | |
| public static IRubyObject | Returns: An IRubyObject result from the evaluationthe current thread's context context, RubyModule under, IRubyObject the self to evaluate under self, RubyString The string containing the text to be evaluated src, String The filename to use when reporting errors during the evaluation file, int that the eval supposedly starts from lineNumber, EvalType evalType)Evaluate the given string. |
| public static IRubyObject | Returns: An IRubyObject result from the evaluationthe thread context for the current thread context, IRubyObject the self against which eval was called; used as self in the eval in 1.9 mode self, IRubyObject The string containing the text to be evaluated src, Binding The binding object under which to perform the evaluation binding, boolean bindingGiven)Evaluate the given string under the specified binding object. |
| protected IRubyObject | execute(ThreadContext context, IRScriptBody irScope, IRubyObject self)
Implements abstract org.
|
| public static IRubyObject | INTERPRET_BLOCK(ThreadContext context, Block block, IRubyObject self, InterpreterContext ic, IRubyObject[] args, String name, Block blockArg)
|
| public static IRubyObject | |
| public static IRubyObject | INTERPRET_EVAL(ThreadContext context, IRubyObject self, InterpreterContext ic, RubyModule clazz, IRubyObject[] args, String name, Block blockArg)
|
| public static IRubyObject | INTERPRET_METACLASS(ThreadContext context, IRScope body, RubyModule clazz, String name, Visibility visibility)
|
| public static IRubyObject | INTERPRET_METHOD(ThreadContext context, IRScope body, RubyModule implClass, IRubyObject self, String name, IRubyObject[] args, Block block)
|
| public static IRubyObject | INTERPRET_METHOD(ThreadContext context, IRScope body, RubyModule implClass, IRubyObject self, String name, Block block)
|
| public static IRubyObject | INTERPRET_METHOD(ThreadContext context, IRScope body, RubyModule implClass, IRubyObject self, String name, IRubyObject arg0, Block block)
|
| public static IRubyObject | INTERPRET_METHOD(ThreadContext context, IRScope body, RubyModule implClass, IRubyObject self, String name, IRubyObject arg0, IRubyObject arg1, Block block)
|
| public static IRubyObject | INTERPRET_METHOD(ThreadContext context, IRScope body, RubyModule implClass, IRubyObject self, String name, IRubyObject arg0, IRubyObject arg1, IRubyObject arg2, Block block)
|
| public static IRubyObject | |
| public static IRubyObject | INTERPRET_ROOT(ThreadContext context, IRubyObject self, InterpreterContext ic, RubyModule clazz, String name)
|
| private static IRubyObject | interpretFrameScope(ThreadContext context, Block selfBlock, IRScope body, RubyModule clazz, DynamicScope parentScope, Visibility visibility, IRubyObject self, String frameName, String passedName, IRubyObject[] args, Block block)
|
| public static void | |
| public static void | preFrameScope(InterpreterContext ic, ThreadContext context, IRubyObject self, String name, Block block, RubyModule implClass, DynamicScope parentScope, Visibility visibility)
|
| private static InterpreterContext | prepareIC(ThreadContext context, DynamicScope evalScope, IRubyObject src, String file, int lineNumber, EvalType evalType, boolean bindingGiven)
|
| interpInstrsCount | back to summary |
|---|---|
| pack-priv static int interpInstrsCount | |
| LOG | back to summary |
|---|---|
| public static final Logger LOG | |
| ROOT | back to summary |
|---|---|
| public static final String ROOT | |
| Interpreter | back to summary |
|---|---|
| public Interpreter() | |
| dumpStats | back to summary |
|---|---|
| public static void dumpStats() | |
| evalCommon | back to summary |
|---|---|
| private static IRubyObject evalCommon(ThreadContext context, DynamicScope evalScope, IRubyObject self, IRubyObject src, String file, int lineNumber, String name, Block blockArg, EvalType evalType, boolean bindingGiven) | |
| evalName | back to summary |
|---|---|
| public static String evalName(String file, int line) | |
| evalSimple | back to summary |
|---|---|
| public static IRubyObject evalSimple(ThreadContext context, RubyModule under, IRubyObject self, RubyString src, String file, int lineNumber, EvalType evalType) Evaluate the given string.
| |
| evalWithBinding | back to summary |
|---|---|
| public static IRubyObject evalWithBinding(ThreadContext context, IRubyObject self, IRubyObject src, Binding binding, boolean bindingGiven) Evaluate the given string under the specified binding object. If the binding is not a Proc or Binding object (RubyProc or RubyBinding) throw an appropriate type error.
| |
| execute | back to summary |
|---|---|
| protected IRubyObject execute(ThreadContext context, IRScriptBody irScope, IRubyObject self) Implements abstract org.
| |
| INTERPRET_BLOCK | back to summary |
|---|---|
| public static IRubyObject INTERPRET_BLOCK(ThreadContext context, Block block, IRubyObject self, InterpreterContext ic, IRubyObject[] args, String name, Block blockArg) | |
| INTERPRET_CLASS | back to summary |
|---|---|
| public static IRubyObject INTERPRET_CLASS(ThreadContext context, IRScope body, RubyModule clazz, String name) | |
| INTERPRET_EVAL | back to summary |
|---|---|
| public static IRubyObject INTERPRET_EVAL(ThreadContext context, IRubyObject self, InterpreterContext ic, RubyModule clazz, IRubyObject[] args, String name, Block blockArg) | |
| INTERPRET_METACLASS | back to summary |
|---|---|
| public static IRubyObject INTERPRET_METACLASS(ThreadContext context, IRScope body, RubyModule clazz, String name, Visibility visibility) | |
| INTERPRET_METHOD | back to summary |
|---|---|
| public static IRubyObject INTERPRET_METHOD(ThreadContext context, IRScope body, RubyModule implClass, IRubyObject self, String name, IRubyObject[] args, Block block) | |
| INTERPRET_METHOD | back to summary |
|---|---|
| public static IRubyObject INTERPRET_METHOD(ThreadContext context, IRScope body, RubyModule implClass, IRubyObject self, String name, Block block) | |
| INTERPRET_METHOD | back to summary |
|---|---|
| public static IRubyObject INTERPRET_METHOD(ThreadContext context, IRScope body, RubyModule implClass, IRubyObject self, String name, IRubyObject arg0, Block block) | |
| INTERPRET_METHOD | back to summary |
|---|---|
| public static IRubyObject INTERPRET_METHOD(ThreadContext context, IRScope body, RubyModule implClass, IRubyObject self, String name, IRubyObject arg0, IRubyObject arg1, Block block) | |
| INTERPRET_METHOD | back to summary |
|---|---|
| public static IRubyObject INTERPRET_METHOD(ThreadContext context, IRScope body, RubyModule implClass, IRubyObject self, String name, IRubyObject arg0, IRubyObject arg1, IRubyObject arg2, Block block) | |
| INTERPRET_MODULE | back to summary |
|---|---|
| public static IRubyObject INTERPRET_MODULE(ThreadContext context, IRScope body, RubyModule clazz, String name) | |
| INTERPRET_ROOT | back to summary |
|---|---|
| public static IRubyObject INTERPRET_ROOT(ThreadContext context, IRubyObject self, InterpreterContext ic, RubyModule clazz, String name) | |
| interpretFrameScope | back to summary |
|---|---|
| private static IRubyObject interpretFrameScope(ThreadContext context, Block selfBlock, IRScope body, RubyModule clazz, DynamicScope parentScope, Visibility visibility, IRubyObject self, String frameName, String passedName, IRubyObject[] args, Block block) | |
| postFrameScope | back to summary |
|---|---|
| public static void postFrameScope(InterpreterContext ic, ThreadContext context) | |
| preFrameScope | back to summary |
|---|---|
| public static void preFrameScope(InterpreterContext ic, ThreadContext context, IRubyObject self, String name, Block block, RubyModule implClass, DynamicScope parentScope, Visibility visibility) | |
| prepareIC | back to summary |
|---|---|
| private static InterpreterContext prepareIC(ThreadContext context, DynamicScope evalScope, IRubyObject src, String file, int lineNumber, EvalType evalType, boolean bindingGiven) | |