Package | Description |
---|---|
org.jruby.ir.instructions | |
org.jruby.ir.operands | |
org.jruby.ir.runtime | |
org.jruby.runtime |
Modifier and Type | Method and Description |
---|---|
Operation |
Instr.getOperation() |
java.lang.Object |
YieldInstr.interpret(ThreadContext context,
StaticScope currScope,
DynamicScope currDynScope,
IRubyObject self,
java.lang.Object[] temp) |
java.lang.Object |
LoadLocalVarInstr.interpret(ThreadContext context,
StaticScope currScope,
DynamicScope currDynScope,
IRubyObject self,
java.lang.Object[] temp) |
java.lang.Object |
Instr.interpret(ThreadContext context,
StaticScope currScope,
DynamicScope currDynScope,
IRubyObject self,
java.lang.Object[] temp) |
java.lang.Object |
SetCapturedVarInstr.interpret(ThreadContext context,
StaticScope currScope,
DynamicScope currDynScope,
IRubyObject self,
java.lang.Object[] temp) |
int |
Instr.interpretAndGetNewIPC(ThreadContext context,
DynamicScope currDynScope,
StaticScope currScope,
IRubyObject self,
java.lang.Object[] temp,
int ipc) |
boolean |
Instr.isDead() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
Operand.retrieve(ThreadContext context,
IRubyObject self,
StaticScope currScope,
DynamicScope currDynScope,
java.lang.Object[] temp) |
java.lang.Object |
GlobalVariable.retrieve(ThreadContext context,
IRubyObject self,
StaticScope currScope,
DynamicScope currDynScope,
java.lang.Object[] temp) |
Modifier and Type | Method and Description |
---|---|
static IRubyObject |
IRRuntimeHelpers.classSuper(ThreadContext context,
IRubyObject self,
java.lang.String id,
RubyModule definingModule,
IRubyObject[] args,
Block block) |
static void |
IRRuntimeHelpers.defInterpretedClassMethod(ThreadContext context,
IRScope method,
IRubyObject obj) |
static void |
IRRuntimeHelpers.defInterpretedInstanceMethod(ThreadContext context,
IRScope method,
DynamicScope currDynScope,
IRubyObject self) |
static RubyString |
IRRuntimeHelpers.freezeLiteralString(RubyString string) |
static RubyString |
IRRuntimeHelpers.freezeLiteralString(RubyString string,
ThreadContext context,
java.lang.String file,
int line) |
static RubyString |
IRRuntimeHelpers.getFileNameStringFromScope(ThreadContext context,
StaticScope currScope) |
static IRubyObject |
IRRuntimeHelpers.instanceSuper(ThreadContext context,
IRubyObject self,
java.lang.String id,
RubyModule definingModule,
IRubyObject[] args,
Block block) |
static IRubyObject |
IRRuntimeHelpers.isDefinedBackref(ThreadContext context,
IRubyObject definedMessage) |
static IRubyObject |
IRRuntimeHelpers.isDefinedCall(ThreadContext context,
IRubyObject self,
IRubyObject receiver,
java.lang.String name,
IRubyObject definedMessage) |
static IRubyObject |
IRRuntimeHelpers.isDefinedClassVar(ThreadContext context,
RubyModule receiver,
java.lang.String name,
IRubyObject definedMessage) |
static IRubyObject |
IRRuntimeHelpers.isDefinedConstantOrMethod(ThreadContext context,
IRubyObject receiver,
java.lang.String name,
IRubyObject definedConstantMessage,
IRubyObject definedMethodMessage) |
static IRubyObject |
IRRuntimeHelpers.isDefinedGlobal(ThreadContext context,
java.lang.String name,
IRubyObject definedMessage) |
static IRubyObject |
IRRuntimeHelpers.isDefinedInstanceVar(ThreadContext context,
IRubyObject receiver,
java.lang.String name,
IRubyObject definedMessage) |
static IRubyObject |
IRRuntimeHelpers.isDefinedMethod(ThreadContext context,
IRubyObject receiver,
java.lang.String name,
boolean checkIfPublic,
IRubyObject definedMessage) |
static IRubyObject |
IRRuntimeHelpers.isDefinedNthRef(ThreadContext context,
int matchNumber,
IRubyObject definedMessage) |
static IRubyObject |
IRRuntimeHelpers.isDefinedSuper(ThreadContext context,
IRubyObject receiver,
IRubyObject definedMessage) |
static IRubyObject |
IRRuntimeHelpers.mergeKeywordArguments(ThreadContext context,
IRubyObject restKwarg,
IRubyObject explicitKwarg) |
static DynamicMethod |
IRRuntimeHelpers.newInterpretedClassBody(ThreadContext context,
IRScope irClassBody,
java.lang.Object container,
java.lang.Object superClass) |
static DynamicMethod |
IRRuntimeHelpers.newInterpretedMetaClass(Ruby runtime,
IRScope metaClassBody,
IRubyObject obj)
Construct a new DynamicMethod to wrap the given IRModuleBody and singletonizable object.
|
static DynamicMethod |
IRRuntimeHelpers.newInterpretedModuleBody(ThreadContext context,
IRScope irModule,
java.lang.Object rubyContainer)
Construct a new DynamicMethod to wrap the given IRModuleBody and singletonizable object.
|
static RubyProc |
IRRuntimeHelpers.newSymbolProc(ThreadContext context,
RubySymbol symbol)
Create a new Symbol.to_proc for the given symbol name and encoding.
|
static IRubyObject[] |
IRRuntimeHelpers.prepareBlockArgs(ThreadContext context,
Block block,
IRubyObject[] args,
boolean usesKwArgs) |
static IRubyObject[] |
IRRuntimeHelpers.prepareFixedBlockArgs(ThreadContext context,
Block block,
IRubyObject[] args) |
static IRubyObject[] |
IRRuntimeHelpers.prepareNoBlockArgs(ThreadContext context,
Block block,
IRubyObject[] args)
Check whether incoming args are zero length for a lambda, and no-op for non-lambda.
|
static IRubyObject[] |
IRRuntimeHelpers.prepareSingleBlockArgs(ThreadContext context,
Block block,
IRubyObject[] args) |
static DynamicScope |
IRRuntimeHelpers.pushBlockDynamicScopeIfNeeded(ThreadContext context,
Block block,
boolean pushNewDynScope,
boolean reuseParentDynScope) |
static IRubyObject |
IRRuntimeHelpers.receivePostReqdArg(ThreadContext context,
IRubyObject[] args,
int pre,
int opt,
boolean rest,
int post,
int argIndex,
boolean acceptsKeywordArgument) |
static RubyArray |
IRRuntimeHelpers.splatArray(ThreadContext context,
IRubyObject ary,
boolean dupArray)
Call to_ary to get Array or die typing.
|
static IRubyObject |
IRRuntimeHelpers.updateBlockState(Block block,
IRubyObject self) |
Modifier and Type | Method and Description |
---|---|
static IRubyObject |
Helpers.getDefinedConstantOrBoundMethod(IRubyObject left,
java.lang.String name,
IRubyObject definedConstantMessage,
IRubyObject definedMethodMessage) |
Copyright © 2001-2018 JRuby. All Rights Reserved.