Modifier and Type | Method and Description |
---|---|
IRubyObject |
Ruby.evalScriptlet(java.lang.String script,
DynamicScope scope)
Evaluates a script under the current scope (perhaps the top-level
scope) and returns the result (generally the last value calculated).
|
Node |
Ruby.parse(org.jruby.util.ByteList content,
java.lang.String file,
DynamicScope scope,
int lineNumber,
boolean extraPositionInformation) |
Node |
Ruby.parse(java.lang.String content,
java.lang.String file,
DynamicScope scope,
int lineNumber,
boolean extraPositionInformation)
Deprecated.
|
Node |
Ruby.parseEval(org.jruby.util.ByteList content,
java.lang.String file,
DynamicScope scope,
int lineNumber) |
Node |
Ruby.parseEval(java.lang.String content,
java.lang.String file,
DynamicScope scope,
int lineNumber) |
Node |
Ruby.parseFile(java.io.InputStream in,
java.lang.String file,
DynamicScope scope) |
Node |
Ruby.parseFile(java.io.InputStream in,
java.lang.String file,
DynamicScope scope,
int lineNumber) |
ParseResult |
Ruby.parseFile(java.lang.String file,
java.io.InputStream in,
DynamicScope scope) |
ParseResult |
Ruby.parseFile(java.lang.String file,
java.io.InputStream in,
DynamicScope scope,
int lineNumber) |
Node |
Ruby.parseFileFromMain(java.io.InputStream in,
java.lang.String file,
DynamicScope scope) |
ParseResult |
Ruby.parseFileFromMain(java.lang.String file,
java.io.InputStream in,
DynamicScope scope) |
Node |
Ruby.parseInline(java.io.InputStream in,
java.lang.String file,
DynamicScope scope) |
Modifier and Type | Method and Description |
---|---|
DynamicScope |
RootNode.getScope()
Return the dynamic scope for this AST.
|
Constructor and Description |
---|
RootNode(ISourcePosition position,
DynamicScope scope,
Node bodyNode,
java.lang.String file) |
RootNode(ISourcePosition position,
DynamicScope scope,
Node bodyNode,
java.lang.String file,
int endPosition)
Deprecated.
|
RootNode(ISourcePosition position,
DynamicScope scope,
Node bodyNode,
java.lang.String file,
int endPosition,
boolean needsCodeCoverage) |
Modifier and Type | Method and Description |
---|---|
DynamicScope |
IRScriptBody.getScriptDynamicScope() |
Modifier and Type | Method and Description |
---|---|
void |
IRScriptBody.setScriptDynamicScope(DynamicScope tlbScope) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
SearchConstInstr.cache(ThreadContext context,
StaticScope currScope,
DynamicScope currDynScope,
IRubyObject self,
java.lang.Object[] temp) |
IRubyObject |
RuntimeHelperCall.callHelper(ThreadContext context,
StaticScope currScope,
DynamicScope currDynScope,
IRubyObject self,
java.lang.Object[] temp,
Block.Type blockType) |
void |
CheckForLJEInstr.check(ThreadContext context,
DynamicScope dynamicScope,
Block.Type blockType) |
java.lang.Object |
YieldInstr.interpret(ThreadContext context,
StaticScope currScope,
DynamicScope currDynScope,
IRubyObject self,
java.lang.Object[] temp) |
java.lang.Object |
PutFieldInstr.interpret(ThreadContext context,
StaticScope currScope,
DynamicScope currDynScope,
IRubyObject self,
java.lang.Object[] temp) |
java.lang.Object |
CallBase.interpret(ThreadContext context,
StaticScope currScope,
DynamicScope dynamicScope,
IRubyObject self,
java.lang.Object[] temp) |
java.lang.Object |
BacktickInstr.interpret(ThreadContext context,
StaticScope currScope,
DynamicScope currDynScope,
IRubyObject self,
java.lang.Object[] temp) |
java.lang.Object |
GetClassVarContainerModuleInstr.interpret(ThreadContext context,
StaticScope currScope,
DynamicScope currDynScope,
IRubyObject self,
java.lang.Object[] temp) |
java.lang.Object |
BlockGivenInstr.interpret(ThreadContext context,
StaticScope currScope,
DynamicScope currDynScope,
IRubyObject self,
java.lang.Object[] temp) |
java.lang.Object |
AttrAssignInstr.interpret(ThreadContext context,
StaticScope currScope,
DynamicScope dynamicScope,
IRubyObject self,
java.lang.Object[] temp) |
java.lang.Object |
DefineInstanceMethodInstr.interpret(ThreadContext context,
StaticScope currScope,
DynamicScope currDynScope,
IRubyObject self,
java.lang.Object[] temp) |
java.lang.Object |
DefineModuleInstr.interpret(ThreadContext context,
StaticScope currScope,
DynamicScope currDynScope,
IRubyObject self,
java.lang.Object[] temp) |
java.lang.Object |
ReqdArgMultipleAsgnInstr.interpret(ThreadContext context,
StaticScope currScope,
DynamicScope currDynScope,
IRubyObject self,
java.lang.Object[] temp) |
java.lang.Object |
DefineClassInstr.interpret(ThreadContext context,
StaticScope currScope,
DynamicScope currDynScope,
IRubyObject self,
java.lang.Object[] temp) |
java.lang.Object |
UnresolvedSuperInstr.interpret(ThreadContext context,
StaticScope currScope,
DynamicScope currDynScope,
IRubyObject self,
java.lang.Object[] temp) |
java.lang.Object |
BuildLambdaInstr.interpret(ThreadContext context,
StaticScope currScope,
DynamicScope currDynScope,
IRubyObject self,
java.lang.Object[] temp) |
java.lang.Object |
PutGlobalVarInstr.interpret(ThreadContext context,
StaticScope currScope,
DynamicScope currDynScope,
IRubyObject self,
java.lang.Object[] temp) |
java.lang.Object |
SearchConstInstr.interpret(ThreadContext context,
StaticScope currScope,
DynamicScope currDynScope,
IRubyObject self,
java.lang.Object[] temp) |
java.lang.Object |
ArgScopeDepthInstr.interpret(ThreadContext context,
StaticScope currScope,
DynamicScope currDynScope,
IRubyObject self,
java.lang.Object[] temp) |
java.lang.Object |
InheritanceSearchConstInstr.interpret(ThreadContext context,
StaticScope currScope,
DynamicScope currDynScope,
IRubyObject self,
java.lang.Object[] temp) |
java.lang.Object |
DefineClassMethodInstr.interpret(ThreadContext context,
StaticScope currScope,
DynamicScope currDynScope,
IRubyObject self,
java.lang.Object[] temp) |
java.lang.Object |
GetFieldInstr.interpret(ThreadContext context,
StaticScope currScope,
DynamicScope currDynScope,
IRubyObject self,
java.lang.Object[] temp) |
java.lang.Object |
DefineMetaClassInstr.interpret(ThreadContext context,
StaticScope currScope,
DynamicScope currDynScope,
IRubyObject self,
java.lang.Object[] temp) |
java.lang.Object |
GetClassVariableInstr.interpret(ThreadContext context,
StaticScope currScope,
DynamicScope currDynScope,
IRubyObject self,
java.lang.Object[] temp) |
java.lang.Object |
RescueEQQInstr.interpret(ThreadContext context,
StaticScope currScope,
DynamicScope currDynScope,
IRubyObject self,
java.lang.Object[] temp) |
java.lang.Object |
BuildDynRegExpInstr.interpret(ThreadContext context,
StaticScope currScope,
DynamicScope currDynScope,
IRubyObject self,
java.lang.Object[] temp) |
java.lang.Object |
InstanceSuperInstr.interpret(ThreadContext context,
StaticScope currScope,
DynamicScope currDynScope,
IRubyObject self,
java.lang.Object[] temp) |
java.lang.Object |
PutConstInstr.interpret(ThreadContext context,
StaticScope currScope,
DynamicScope currDynScope,
IRubyObject self,
java.lang.Object[] temp) |
java.lang.Object |
EQQInstr.interpret(ThreadContext context,
StaticScope currScope,
DynamicScope currDynScope,
IRubyObject self,
java.lang.Object[] temp) |
java.lang.Object |
BuildCompoundArrayInstr.interpret(ThreadContext context,
StaticScope currScope,
DynamicScope currDynScope,
IRubyObject self,
java.lang.Object[] temp) |
java.lang.Object |
OptArgMultipleAsgnInstr.interpret(ThreadContext context,
StaticScope currScope,
DynamicScope currDynScope,
IRubyObject self,
java.lang.Object[] temp) |
java.lang.Object |
AliasInstr.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 |
ClassSuperInstr.interpret(ThreadContext context,
StaticScope currScope,
DynamicScope currDynScope,
IRubyObject self,
java.lang.Object[] temp) |
java.lang.Object |
UndefMethodInstr.interpret(ThreadContext context,
StaticScope currScope,
DynamicScope currDynScope,
IRubyObject self,
java.lang.Object[] temp) |
java.lang.Object |
GetGlobalVariableInstr.interpret(ThreadContext context,
StaticScope currScope,
DynamicScope currDynScope,
IRubyObject self,
java.lang.Object[] temp) |
java.lang.Object |
PutClassVariableInstr.interpret(ThreadContext context,
StaticScope currScope,
DynamicScope currDynScope,
IRubyObject self,
java.lang.Object[] temp) |
java.lang.Object |
BuildBackrefInstr.interpret(ThreadContext context,
StaticScope currScope,
DynamicScope currDynScope,
IRubyObject self,
java.lang.Object[] temp) |
java.lang.Object |
NopInstr.interpret(ThreadContext context,
StaticScope currScope,
DynamicScope currDynScope,
IRubyObject self,
java.lang.Object[] temp) |
java.lang.Object |
GetEncodingInstr.interpret(ThreadContext context,
StaticScope currScope,
DynamicScope currDynScope,
IRubyObject self,
java.lang.Object[] temp) |
java.lang.Object |
TraceInstr.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 |
ArrayDerefInstr.interpret(ThreadContext context,
StaticScope currScope,
DynamicScope dynamicScope,
IRubyObject self,
java.lang.Object[] temp) |
java.lang.Object |
ThreadPollInstr.interpret(ThreadContext context,
StaticScope currScope,
DynamicScope currDynScope,
IRubyObject self,
java.lang.Object[] temp) |
java.lang.Object |
BuildCompoundStringInstr.interpret(ThreadContext context,
StaticScope currScope,
DynamicScope currDynScope,
IRubyObject self,
java.lang.Object[] temp) |
java.lang.Object |
SearchModuleForConstInstr.interpret(ThreadContext context,
StaticScope currScope,
DynamicScope currDynScope,
IRubyObject self,
java.lang.Object[] temp) |
java.lang.Object |
StoreLocalVarInstr.interpret(ThreadContext context,
StaticScope currScope,
DynamicScope currDynScope,
IRubyObject self,
java.lang.Object[] temp) |
java.lang.Object |
CheckArgsArrayArityInstr.interpret(ThreadContext context,
StaticScope currScope,
DynamicScope currDynScope,
IRubyObject self,
java.lang.Object[] temp) |
java.lang.Object |
BuildRangeInstr.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) |
java.lang.Object |
RestArgMultipleAsgnInstr.interpret(ThreadContext context,
StaticScope currScope,
DynamicScope currDynScope,
IRubyObject self,
java.lang.Object[] temp) |
java.lang.Object |
RaiseRequiredKeywordArgumentError.interpret(ThreadContext context,
StaticScope currScope,
DynamicScope currDynScope,
IRubyObject self,
java.lang.Object[] temp) |
java.lang.Object |
ReifyClosureInstr.interpret(ThreadContext context,
StaticScope currScope,
DynamicScope currDynScope,
IRubyObject self,
java.lang.Object[] temp) |
java.lang.Object |
ThrowExceptionInstr.interpret(ThreadContext context,
StaticScope currScope,
DynamicScope currDynScope,
IRubyObject self,
java.lang.Object[] temp) |
java.lang.Object |
LexicalSearchConstInstr.interpret(ThreadContext context,
StaticScope currScope,
DynamicScope currDynScope,
IRubyObject self,
java.lang.Object[] temp) |
java.lang.Object |
ConstMissingInstr.interpret(ThreadContext context,
StaticScope currScope,
DynamicScope currDynScope,
IRubyObject self,
java.lang.Object[] temp) |
java.lang.Object |
RecordEndBlockInstr.interpret(ThreadContext context,
StaticScope currScope,
DynamicScope currDynScope,
IRubyObject self,
java.lang.Object[] temp) |
java.lang.Object |
ZSuperInstr.interpret(ThreadContext context,
StaticScope currScope,
DynamicScope currDynScope,
IRubyObject self,
java.lang.Object[] temp) |
java.lang.Object |
GVarAliasInstr.interpret(ThreadContext context,
StaticScope currScope,
DynamicScope currDynScope,
IRubyObject self,
java.lang.Object[] temp) |
java.lang.Object |
RaiseArgumentErrorInstr.interpret(ThreadContext context,
StaticScope currScope,
DynamicScope currDynScope,
IRubyObject self,
java.lang.Object[] temp) |
java.lang.Object |
ToAryInstr.interpret(ThreadContext context,
StaticScope currScope,
DynamicScope currDynScope,
IRubyObject self,
java.lang.Object[] temp) |
java.lang.Object |
BuildSplatInstr.interpret(ThreadContext context,
StaticScope currScope,
DynamicScope currDynScope,
IRubyObject self,
java.lang.Object[] temp) |
java.lang.Object |
ProcessModuleBodyInstr.interpret(ThreadContext context,
StaticScope currScope,
DynamicScope currDynScope,
IRubyObject self,
java.lang.Object[] temp) |
int |
BSwitchInstr.interpretAndGetNewIPC(ThreadContext context,
DynamicScope currDynScope,
StaticScope currScope,
IRubyObject self,
java.lang.Object[] temp,
int ipc) |
int |
ModuleVersionGuardInstr.interpretAndGetNewIPC(ThreadContext context,
DynamicScope currDynScope,
StaticScope currScope,
IRubyObject self,
java.lang.Object[] temp,
int ipc) |
int |
BUndefInstr.interpretAndGetNewIPC(ThreadContext context,
DynamicScope currDynScope,
StaticScope currScope,
IRubyObject self,
java.lang.Object[] temp,
int ipc) |
int |
BNilInstr.interpretAndGetNewIPC(ThreadContext context,
DynamicScope currDynScope,
StaticScope currScope,
IRubyObject self,
java.lang.Object[] temp,
int ipc) |
int |
Instr.interpretAndGetNewIPC(ThreadContext context,
DynamicScope currDynScope,
StaticScope currScope,
IRubyObject self,
java.lang.Object[] temp,
int ipc) |
int |
BFalseInstr.interpretAndGetNewIPC(ThreadContext context,
DynamicScope currDynScope,
StaticScope currScope,
IRubyObject self,
java.lang.Object[] temp,
int ipc) |
int |
BNEInstr.interpretAndGetNewIPC(ThreadContext context,
DynamicScope currDynScope,
StaticScope currScope,
IRubyObject self,
java.lang.Object[] temp,
int ipc) |
int |
BTrueInstr.interpretAndGetNewIPC(ThreadContext context,
DynamicScope currDynScope,
StaticScope currScope,
IRubyObject self,
java.lang.Object[] temp,
int ipc) |
protected IRubyObject[] |
CallBase.prepareArguments(ThreadContext context,
IRubyObject self,
StaticScope currScope,
DynamicScope dynamicScope,
java.lang.Object[] temp) |
protected IRubyObject[] |
CallBase.prepareArgumentsComplex(ThreadContext context,
IRubyObject self,
StaticScope currScope,
DynamicScope currDynScope,
java.lang.Object[] temp) |
protected IRubyObject[] |
CallBase.prepareArgumentsSimple(ThreadContext context,
IRubyObject self,
StaticScope currScope,
DynamicScope currDynScope,
java.lang.Object[] temp) |
Block |
CallBase.prepareBlock(ThreadContext context,
IRubyObject self,
StaticScope currScope,
DynamicScope currDynScope,
java.lang.Object[] temp) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
GetErrorInfoInstr.interpret(ThreadContext context,
StaticScope currScope,
DynamicScope currDynScope,
IRubyObject self,
java.lang.Object[] temp) |
java.lang.Object |
RestoreErrorInfoInstr.interpret(ThreadContext context,
StaticScope currScope,
DynamicScope currDynScope,
IRubyObject self,
java.lang.Object[] temp) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
OneFloatArgNoBlockCallInstr.interpret(ThreadContext context,
StaticScope currScope,
DynamicScope dynamicScope,
IRubyObject self,
java.lang.Object[] temp) |
java.lang.Object |
OneFixnumArgNoBlockCallInstr.interpret(ThreadContext context,
StaticScope currScope,
DynamicScope dynamicScope,
IRubyObject self,
java.lang.Object[] temp) |
java.lang.Object |
OneOperandArgNoBlockCallInstr.interpret(ThreadContext context,
StaticScope currScope,
DynamicScope dynamicScope,
IRubyObject self,
java.lang.Object[] temp) |
java.lang.Object |
TwoOperandArgNoBlockCallInstr.interpret(ThreadContext context,
StaticScope currScope,
DynamicScope dynamicScope,
IRubyObject self,
java.lang.Object[] temp) |
java.lang.Object |
OneOperandArgBlockCallInstr.interpret(ThreadContext context,
StaticScope currScope,
DynamicScope dynamicScope,
IRubyObject self,
java.lang.Object[] temp) |
java.lang.Object |
OneArgOperandAttrAssignInstr.interpret(ThreadContext context,
StaticScope currScope,
DynamicScope dynamicScope,
IRubyObject self,
java.lang.Object[] temp) |
java.lang.Object |
ZeroOperandArgNoBlockCallInstr.interpret(ThreadContext context,
StaticScope currScope,
DynamicScope dynamicScope,
IRubyObject self,
java.lang.Object[] temp) |
java.lang.Object |
OneOperandArgNoBlockNoResultCallInstr.interpret(ThreadContext context,
StaticScope currScope,
DynamicScope dynamicScope,
IRubyObject self,
java.lang.Object[] temp) |
Modifier and Type | Method and Description |
---|---|
DynamicScope |
ClosureInterpreterContext.newDynamicScope(ThreadContext context)
Blocks have more complicated logic for pushing a dynamic scope (see InterpretedIRBlockBody).
|
DynamicScope |
InterpreterContext.newDynamicScope(ThreadContext context)
Get a new dynamic scope.
|
Modifier and Type | Method and Description |
---|---|
protected static void |
InterpreterEngine.processBookKeepingOp(ThreadContext context,
Block block,
Instr instr,
Operation operation,
java.lang.String name,
IRubyObject[] args,
IRubyObject self,
Block blockArg,
RubyModule implClass,
DynamicScope currDynScope,
java.lang.Object[] temp,
StaticScope currScope) |
protected static void |
InterpreterEngine.processCall(ThreadContext context,
Instr instr,
Operation operation,
DynamicScope currDynScope,
StaticScope currScope,
java.lang.Object[] temp,
IRubyObject self) |
protected static void |
StartupInterpreterEngine.processOtherOp(ThreadContext context,
Block block,
Instr instr,
Operation operation,
DynamicScope currDynScope,
StaticScope currScope,
java.lang.Object[] temp,
IRubyObject self) |
protected static void |
InterpreterEngine.processOtherOp(ThreadContext context,
Block block,
Instr instr,
Operation operation,
DynamicScope currDynScope,
StaticScope currScope,
java.lang.Object[] temp,
IRubyObject self,
double[] floats,
long[] fixnums,
boolean[] booleans) |
protected static IRubyObject |
InterpreterEngine.processReturnOp(ThreadContext context,
Block block,
Instr instr,
Operation operation,
DynamicScope currDynScope,
java.lang.Object[] temp,
IRubyObject self,
StaticScope currScope) |
protected static void |
InterpreterEngine.receiveArg(ThreadContext context,
Instr i,
Operation operation,
IRubyObject[] args,
boolean acceptsKeywordArgument,
DynamicScope currDynScope,
java.lang.Object[] temp,
java.lang.Object exception,
Block blockArg) |
protected static java.lang.Object |
InterpreterEngine.retrieveOp(Operand r,
ThreadContext context,
IRubyObject self,
DynamicScope currDynScope,
StaticScope currScope,
java.lang.Object[] temp) |
protected static void |
InterpreterEngine.setResult(java.lang.Object[] temp,
DynamicScope currDynScope,
Instr instr,
java.lang.Object result) |
protected static void |
InterpreterEngine.setResult(java.lang.Object[] temp,
DynamicScope currDynScope,
Variable resultVar,
java.lang.Object result) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
UnexecutableNil.retrieve(ThreadContext context,
IRubyObject self,
StaticScope currScope,
DynamicScope currDynScope,
java.lang.Object[] temp) |
java.lang.Object |
Operand.retrieve(ThreadContext context,
IRubyObject self,
StaticScope currScope,
DynamicScope currDynScope,
java.lang.Object[] temp) |
java.lang.Object |
TemporaryLocalVariable.retrieve(ThreadContext context,
IRubyObject self,
StaticScope currScope,
DynamicScope currDynScope,
java.lang.Object[] temp) |
java.lang.Object |
StringLiteral.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) |
java.lang.Object |
CurrentScope.retrieve(ThreadContext context,
IRubyObject self,
StaticScope currScope,
DynamicScope currDynScope,
java.lang.Object[] temp) |
java.lang.Object |
Self.retrieve(ThreadContext context,
IRubyObject self,
StaticScope currScope,
DynamicScope currDynScope,
java.lang.Object[] temp) |
java.lang.Object |
Array.retrieve(ThreadContext context,
IRubyObject self,
StaticScope currScope,
DynamicScope currDynScope,
java.lang.Object[] temp) |
java.lang.Object |
UndefinedValue.retrieve(ThreadContext context,
IRubyObject self,
StaticScope currScope,
DynamicScope currDynScope,
java.lang.Object[] temp) |
java.lang.Object |
Filename.retrieve(ThreadContext context,
IRubyObject self,
StaticScope currScope,
DynamicScope currDynScope,
java.lang.Object[] temp) |
java.lang.Object |
SValue.retrieve(ThreadContext context,
IRubyObject self,
StaticScope currScope,
DynamicScope currDynScope,
java.lang.Object[] temp) |
java.lang.Object |
Hash.retrieve(ThreadContext context,
IRubyObject self,
StaticScope currScope,
DynamicScope currDynScope,
java.lang.Object[] temp) |
java.lang.Object |
ObjectClass.retrieve(ThreadContext context,
IRubyObject self,
StaticScope currScope,
DynamicScope currDynScope,
java.lang.Object[] temp) |
java.lang.Object |
ScopeModule.retrieve(ThreadContext context,
IRubyObject self,
StaticScope currScope,
DynamicScope currDynScope,
java.lang.Object[] temp) |
java.lang.Object |
AsString.retrieve(ThreadContext context,
IRubyObject self,
StaticScope currScope,
DynamicScope currDynScope,
java.lang.Object[] temp) |
java.lang.Object |
DynamicSymbol.retrieve(ThreadContext context,
IRubyObject self,
StaticScope currScope,
DynamicScope currDynScope,
java.lang.Object[] temp) |
T |
ImmutableLiteral.retrieve(ThreadContext context,
IRubyObject self,
StaticScope currScope,
DynamicScope currDynScope,
java.lang.Object[] temp)
retrieve the live value represented by this immutable literal.
|
java.lang.Object |
WrappedIRClosure.retrieve(ThreadContext context,
IRubyObject self,
StaticScope currScope,
DynamicScope currDynScope,
java.lang.Object[] temp) |
java.lang.Object |
LocalVariable.retrieve(ThreadContext context,
IRubyObject self,
StaticScope currScope,
DynamicScope currDynScope,
java.lang.Object[] temp) |
java.lang.Object |
Splat.retrieve(ThreadContext context,
IRubyObject self,
StaticScope currScope,
DynamicScope currDynScope,
java.lang.Object[] temp) |
java.lang.Object |
NthRef.retrieve(ThreadContext context,
IRubyObject self,
StaticScope currScope,
DynamicScope currDynScope,
java.lang.Object[] temp) |
java.lang.Object |
StandardError.retrieve(ThreadContext context,
IRubyObject self,
StaticScope currScope,
DynamicScope currDynScope,
java.lang.Object[] temp) |
IRubyObject[] |
Array.retrieveArrayElts(ThreadContext context,
IRubyObject self,
StaticScope currScope,
DynamicScope currDynScope,
java.lang.Object[] temp) |
Modifier and Type | Field and Description |
---|---|
DynamicScope |
IRReturnJump.methodToReturnFrom |
DynamicScope |
IRBreakJump.scopeToReturnTo |
Modifier and Type | Method and Description |
---|---|
static DynamicScope |
IRRuntimeHelpers.prepareScriptScope(ThreadContext context,
StaticScope scope) |
static DynamicScope |
IRRuntimeHelpers.pushBlockDynamicScopeIfNeeded(ThreadContext context,
Block block,
boolean pushNewDynScope,
boolean reuseParentDynScope) |
Modifier and Type | Method and Description |
---|---|
static void |
IRRuntimeHelpers.checkForLJE(ThreadContext context,
DynamicScope dynScope,
boolean definedWithinMethod,
Block.Type blockType) |
static IRBreakJump |
IRBreakJump.create(DynamicScope scopeToReturnTo,
IRubyObject rv)
Deprecated.
|
static IRBreakJump |
IRBreakJump.create(DynamicScope scopeToReturnTo,
IRubyObject rv,
boolean breakInEval) |
static IRReturnJump |
IRReturnJump.create(DynamicScope scopeToReturnFrom,
java.lang.Object rv) |
static void |
IRRuntimeHelpers.defCompiledInstanceMethod(ThreadContext context,
java.lang.invoke.MethodHandle handle,
IRScope method,
DynamicScope currDynScope,
IRubyObject self) |
static void |
IRRuntimeHelpers.defCompiledInstanceMethod(ThreadContext context,
java.lang.invoke.MethodHandle variable,
java.lang.invoke.MethodHandle specific,
int specificArity,
IRScope method,
DynamicScope currDynScope,
IRubyObject self) |
static void |
IRRuntimeHelpers.defineAlias(ThreadContext context,
IRubyObject self,
DynamicScope currDynScope,
IRubyObject newName,
IRubyObject oldName) |
static void |
IRRuntimeHelpers.defInterpretedInstanceMethod(ThreadContext context,
IRScope method,
DynamicScope currDynScope,
IRubyObject self) |
static RubyModule |
IRRuntimeHelpers.findInstanceMethodContainer(ThreadContext context,
DynamicScope currDynScope,
IRubyObject self) |
static IRubyObject |
IRRuntimeHelpers.handleBreakAndReturnsInLambdas(ThreadContext context,
StaticScope scope,
DynamicScope dynScope,
java.lang.Object exc,
Block.Type blockType) |
static IRubyObject |
IRRuntimeHelpers.handleNonlocalReturn(StaticScope scope,
DynamicScope dynScope,
java.lang.Object rjExc,
Block.Type blockType) |
static IRubyObject |
IRRuntimeHelpers.handlePropagatedBreak(ThreadContext context,
DynamicScope dynScope,
java.lang.Object bjExc,
Block.Type blockType) |
static IRubyObject |
IRRuntimeHelpers.initiateBreak(ThreadContext context,
DynamicScope dynScope,
IRubyObject breakValue,
Block block) |
static IRubyObject |
IRRuntimeHelpers.initiateNonLocalReturn(ThreadContext context,
DynamicScope dynScope,
Block block,
IRubyObject returnValue) |
static Block |
IRRuntimeHelpers.prepareBlock(ThreadContext context,
IRubyObject self,
DynamicScope scope,
BlockBody body) |
static IRubyObject |
IRRuntimeHelpers.undefMethod(ThreadContext context,
java.lang.Object nameArg,
DynamicScope currDynScope,
IRubyObject self) |
Modifier and Type | Method and Description |
---|---|
static Binding |
Bootstrap.frameBinding(ThreadContext context,
IRubyObject self,
DynamicScope scope) |
static Binding |
Bootstrap.frameScopeBinding(ThreadContext context,
IRubyObject self,
DynamicScope scope) |
static Binding |
Bootstrap.scopeBinding(ThreadContext context,
IRubyObject self,
DynamicScope scope) |
static Binding |
Bootstrap.selfBinding(ThreadContext context,
IRubyObject self,
DynamicScope scope) |
Modifier and Type | Method and Description |
---|---|
DynamicScope |
StaticScope.construct(DynamicScope parent) |
DynamicScope |
StaticScope.getDummyScope() |
DynamicScope |
RubyParserResult.getScope() |
DynamicScope |
ParserConfiguration.getScope(java.lang.String file)
This method returns the appropriate first scope for the parser.
|
Modifier and Type | Method and Description |
---|---|
DynamicScope |
StaticScope.construct(DynamicScope parent) |
Node |
Parser.parse(java.lang.String file,
byte[] content,
DynamicScope blockScope,
ParserConfiguration configuration) |
Node |
Parser.parse(java.lang.String file,
org.jruby.util.ByteList content,
DynamicScope blockScope,
ParserConfiguration configuration) |
Node |
Parser.parse(java.lang.String file,
java.io.InputStream content,
DynamicScope blockScope,
ParserConfiguration configuration) |
Node |
Parser.parse(java.lang.String file,
LexerSource lexerSource,
DynamicScope blockScope,
ParserConfiguration configuration) |
void |
ParserConfiguration.parseAsBlock(DynamicScope existingScope)
If we are performing an eval we should pass existing scope in.
|
void |
RubyParserResult.setScope(DynamicScope scope) |
Modifier and Type | Field and Description |
---|---|
protected DynamicScope |
DynamicScope.parent |
Modifier and Type | Method and Description |
---|---|
DynamicScope |
Block.allocScope(DynamicScope parentScope) |
DynamicScope |
DynamicScope.cloneScope()
Deprecated.
|
DynamicScope |
ThreadContext.getCurrentScope() |
DynamicScope |
Binding.getDummyScope(StaticScope staticScope) |
DynamicScope |
Binding.getDynamicScope()
Gets the dynamicVariables that are local to this block.
|
DynamicScope |
Binding.getEvalScope(Ruby runtime) |
DynamicScope |
DynamicScope.getFlipScope()
Find the scope to use for flip-flops.
|
DynamicScope |
DynamicScope.getNextCapturedScope()
Deprecated.
|
DynamicScope |
DynamicScope.getNthParentScope(int n)
Returns the n-th parent scope of this scope.
|
DynamicScope |
DynamicScope.getParentScope()
Get parent (capturing) scope.
|
static DynamicScope |
DynamicScope.newDummyScope(StaticScope staticScope,
DynamicScope parent) |
static DynamicScope |
DynamicScope.newDynamicScope(StaticScope staticScope) |
static DynamicScope |
DynamicScope.newDynamicScope(StaticScope staticScope,
DynamicScope parent) |
static DynamicScope |
DynamicScope.newDynamicScope(StaticScope staticScope,
DynamicScope parent,
EvalType evalType) |
Modifier and Type | Method and Description |
---|---|
DynamicScope |
Block.allocScope(DynamicScope parentScope) |
Binding |
ThreadContext.currentBinding(IRubyObject self,
DynamicScope scope)
Return a binding representing the current call's state but with the
specified scope and self.
|
Binding |
ThreadContext.currentBinding(IRubyObject self,
Visibility visibility,
DynamicScope scope)
Return a binding representing the current call's state but with the
specified visibility, scope, and self.
|
static DynamicScope |
DynamicScope.newDummyScope(StaticScope staticScope,
DynamicScope parent) |
static DynamicScope |
DynamicScope.newDynamicScope(StaticScope staticScope,
DynamicScope parent) |
static DynamicScope |
DynamicScope.newDynamicScope(StaticScope staticScope,
DynamicScope parent,
EvalType evalType) |
void |
ThreadContext.preEvalScriptlet(DynamicScope scope) |
void |
ThreadContext.preScopedBody(DynamicScope scope) |
void |
ThreadContext.pushScope(DynamicScope scope) |
boolean |
ThreadContext.scopeExistsOnCallStack(DynamicScope scope)
Check if a static scope is present on the call stack.
|
Constructor and Description |
---|
Binding(Frame frame,
DynamicScope dynamicScope,
BacktraceElement backtrace)
Deprecated.
|
Binding(Frame frame,
DynamicScope dynamicScope,
java.lang.String method,
java.lang.String filename,
int line) |
Binding(IRubyObject self,
DynamicScope dynamicScope) |
Binding(IRubyObject self,
Frame frame,
Visibility visibility,
DynamicScope dynamicScope) |
Binding(IRubyObject self,
Frame frame,
Visibility visibility,
DynamicScope dynamicScope,
BacktraceElement backtrace)
Deprecated.
|
Binding(IRubyObject self,
Frame frame,
Visibility visibility,
DynamicScope dynamicScope,
java.lang.String method,
java.lang.String filename,
int line) |
DynamicScope(StaticScope staticScope,
DynamicScope parent) |
Modifier and Type | Class and Description |
---|---|
class |
ManyVarsDynamicScope
Represents the the dynamic portion of scoping information.
|
Modifier and Type | Method and Description |
---|---|
DynamicScope |
ManyVarsDynamicScope.cloneScope()
Deprecated.
|
Constructor and Description |
---|
ManyVarsDynamicScope(StaticScope staticScope,
DynamicScope parent) |
Copyright © 2001-2018 JRuby. All Rights Reserved.