Modifier and Type | Field and Description |
---|---|
protected StaticScope |
MethodDefNode.scope |
Modifier and Type | Method and Description |
---|---|
StaticScope |
SClassNode.getScope()
Gets the scope of this class
|
StaticScope |
ModuleNode.getScope()
Get the static scoping information.
|
StaticScope |
MethodDefNode.getScope()
Get the static scoping information.
|
StaticScope |
IterNode.getScope() |
StaticScope |
ClassNode.getScope()
Get the static scoping information.
|
StaticScope |
RootNode.getStaticScope()
The static scoping relationships that should get set first thing before interpretation
of the code represented by this AST.
|
Constructor and Description |
---|
ClassNode(ISourcePosition position,
Colon3Node cpath,
StaticScope scope,
Node bodyNode,
Node superNode) |
DefnNode(ISourcePosition position,
ArgumentNode nameNode,
ArgsNode argsNode,
StaticScope scope,
Node bodyNode) |
DefsNode(ISourcePosition position,
Node receiverNode,
ArgumentNode nameNode,
ArgsNode argsNode,
StaticScope scope,
Node bodyNode) |
ForNode(ISourcePosition position,
Node varNode,
Node bodyNode,
Node iterNode,
StaticScope scope) |
IterNode(ISourcePosition position,
ArgsNode args,
Node body,
StaticScope scope)
Used for all non-for types of blocks.
|
IterNode(ISourcePosition position,
Node args,
StaticScope scope,
Node body)
Used by Truffle 'for' and by ForNode only.
|
LambdaNode(ISourcePosition position,
ArgsNode args,
Node body,
StaticScope scope) |
MethodDefNode(ISourcePosition position,
ArgumentNode nameNode,
ArgsNode argsNode,
StaticScope scope,
Node bodyNode) |
ModuleNode(ISourcePosition position,
Colon3Node cpath,
StaticScope scope,
Node bodyNode) |
PreExe19Node(ISourcePosition position,
StaticScope scope,
Node body) |
PreExeNode(ISourcePosition position,
StaticScope scope,
Node body) |
SClassNode(ISourcePosition position,
Node recvNode,
StaticScope scope,
Node bodyNode) |
Modifier and Type | Field and Description |
---|---|
StaticScope[] |
RuntimeCache.scopes |
Modifier and Type | Method and Description |
---|---|
StaticScope |
RuntimeCache.getScope(int index) |
StaticScope |
AbstractScript.getScope(int i) |
StaticScope |
RuntimeCache.getScope(ThreadContext context,
StaticScope parent,
String varNamesDescriptor,
int index) |
StaticScope |
AbstractScript.getScope(ThreadContext context,
StaticScope parent,
String varNamesDescriptor,
int i) |
StaticScope |
AbstractScript.getScope0() |
StaticScope |
AbstractScript.getScope0(ThreadContext context,
StaticScope parent,
String varNamesDescriptor) |
StaticScope |
AbstractScript.getScope1() |
StaticScope |
AbstractScript.getScope1(ThreadContext context,
StaticScope parent,
String varNamesDescriptor) |
StaticScope |
AbstractScript.getScope2() |
StaticScope |
AbstractScript.getScope2(ThreadContext context,
StaticScope parent,
String varNamesDescriptor) |
StaticScope |
AbstractScript.getScope3() |
StaticScope |
AbstractScript.getScope3(ThreadContext context,
StaticScope parent,
String varNamesDescriptor) |
StaticScope |
AbstractScript.getScope4() |
StaticScope |
AbstractScript.getScope4(ThreadContext context,
StaticScope parent,
String varNamesDescriptor) |
StaticScope |
AbstractScript.getScope5() |
StaticScope |
AbstractScript.getScope5(ThreadContext context,
StaticScope parent,
String varNamesDescriptor) |
StaticScope |
AbstractScript.getScope6() |
StaticScope |
AbstractScript.getScope6(ThreadContext context,
StaticScope parent,
String varNamesDescriptor) |
StaticScope |
AbstractScript.getScope7() |
StaticScope |
AbstractScript.getScope7(ThreadContext context,
StaticScope parent,
String varNamesDescriptor) |
StaticScope |
AbstractScript.getScope8() |
StaticScope |
AbstractScript.getScope8(ThreadContext context,
StaticScope parent,
String varNamesDescriptor) |
StaticScope |
AbstractScript.getScope9() |
StaticScope |
AbstractScript.getScope9(ThreadContext context,
StaticScope parent,
String varNamesDescriptor) |
Modifier and Type | Field and Description |
---|---|
protected StaticScope |
RipperParserBase.currentScope |
Modifier and Type | Method and Description |
---|---|
StaticScope |
RipperParserBase.getCurrentScope() |
Modifier and Type | Field and Description |
---|---|
protected StaticScope |
JavaMethod.staticScope |
Modifier and Type | Method and Description |
---|---|
StaticScope |
MixedModeIRMethod.getStaticScope() |
StaticScope |
JavaMethod.getStaticScope() |
StaticScope |
InterpretedIRMethod.getStaticScope() |
StaticScope |
CompiledIRMethod.getStaticScope() |
Modifier and Type | Method and Description |
---|---|
void |
JavaMethod.init(RubyModule implementationClass,
Arity arity,
Visibility visibility,
StaticScope staticScope,
CallConfiguration callConfig) |
protected void |
CompiledIRMethod.pre(ThreadContext context,
StaticScope staticScope,
RubyModule implementationClass,
IRubyObject self,
String name,
Block block) |
protected void |
CompiledIRMetaClassBody.pre(ThreadContext context,
StaticScope staticScope,
RubyModule implementationClass,
IRubyObject self,
String name,
Block block) |
Modifier and Type | Method and Description |
---|---|
StaticScope |
IRScope.getStaticScope() |
Constructor and Description |
---|
IRClassBody(IRManager manager,
IRScope lexicalParent,
String name,
int lineNumber,
StaticScope scope) |
IRClassBody(IRManager manager,
IRScope lexicalParent,
String name,
String fileName,
int lineNumber,
StaticScope scope) |
IRClosure(IRManager manager,
IRScope lexicalParent,
int lineNumber,
StaticScope staticScope,
Signature signature) |
IRClosure(IRManager manager,
IRScope lexicalParent,
int lineNumber,
StaticScope staticScope,
Signature signature,
String prefix) |
IRClosure(IRManager manager,
IRScope lexicalParent,
int lineNumber,
StaticScope staticScope,
Signature signature,
String prefix,
boolean isBeginEndBlock) |
IRClosure(IRManager manager,
IRScope lexicalParent,
String fileName,
int lineNumber,
StaticScope staticScope,
String prefix) |
IREvalScript(IRManager manager,
IRScope lexicalParent,
String fileName,
int lineNumber,
StaticScope staticScope,
EvalType evalType) |
IRFor(IRManager manager,
IRScope lexicalParent,
int lineNumber,
StaticScope staticScope,
Signature signature) |
IRFor(IRManager manager,
IRScope lexicalParent,
int lineNumber,
StaticScope staticScope,
Signature signature,
String labelPrefix) |
IRMetaClassBody(IRManager manager,
IRScope lexicalParent,
String name,
int lineNumber,
StaticScope scope) |
IRMetaClassBody(IRManager manager,
IRScope lexicalParent,
String name,
String fileName,
int lineNumber,
StaticScope scope) |
IRMethod(IRManager manager,
IRScope lexicalParent,
MethodDefNode defn,
String name,
boolean isInstanceMethod,
int lineNumber,
StaticScope staticScope) |
IRModuleBody(IRManager manager,
IRScope lexicalParent,
String name,
int lineNumber,
StaticScope scope) |
IRModuleBody(IRManager manager,
IRScope lexicalParent,
String name,
String fileName,
int lineNumber,
StaticScope staticScope) |
IRScope(IRManager manager,
IRScope lexicalParent,
String name,
String fileName,
int lineNumber,
StaticScope staticScope) |
IRScriptBody(IRManager manager,
String sourceName,
StaticScope staticScope) |
Modifier and Type | Method and Description |
---|---|
Object |
SearchConstInstr.cache(ThreadContext context,
StaticScope currScope,
DynamicScope currDynScope,
IRubyObject self,
Object[] temp) |
IRubyObject |
RuntimeHelperCall.callHelper(ThreadContext context,
StaticScope currScope,
DynamicScope currDynScope,
IRubyObject self,
Object[] temp,
Block.Type blockType) |
Object |
ZSuperInstr.interpret(ThreadContext context,
StaticScope currScope,
DynamicScope currDynScope,
IRubyObject self,
Object[] temp) |
Object |
YieldInstr.interpret(ThreadContext context,
StaticScope currScope,
DynamicScope currDynScope,
IRubyObject self,
Object[] temp) |
Object |
UnresolvedSuperInstr.interpret(ThreadContext context,
StaticScope currScope,
DynamicScope currDynScope,
IRubyObject self,
Object[] temp) |
Object |
UndefMethodInstr.interpret(ThreadContext context,
StaticScope currScope,
DynamicScope currDynScope,
IRubyObject self,
Object[] temp) |
Object |
TraceInstr.interpret(ThreadContext context,
StaticScope currScope,
DynamicScope currDynScope,
IRubyObject self,
Object[] temp) |
Object |
ToAryInstr.interpret(ThreadContext context,
StaticScope currScope,
DynamicScope currDynScope,
IRubyObject self,
Object[] temp) |
Object |
ThrowExceptionInstr.interpret(ThreadContext context,
StaticScope currScope,
DynamicScope currDynScope,
IRubyObject self,
Object[] temp) |
Object |
ThreadPollInstr.interpret(ThreadContext context,
StaticScope currScope,
DynamicScope currDynScope,
IRubyObject self,
Object[] temp) |
Object |
StoreLocalVarInstr.interpret(ThreadContext context,
StaticScope currScope,
DynamicScope currDynScope,
IRubyObject self,
Object[] temp) |
Object |
SetCapturedVarInstr.interpret(ThreadContext context,
StaticScope currScope,
DynamicScope currDynScope,
IRubyObject self,
Object[] temp) |
Object |
SearchConstInstr.interpret(ThreadContext context,
StaticScope currScope,
DynamicScope currDynScope,
IRubyObject self,
Object[] temp) |
Object |
RestArgMultipleAsgnInstr.interpret(ThreadContext context,
StaticScope currScope,
DynamicScope currDynScope,
IRubyObject self,
Object[] temp) |
Object |
RescueEQQInstr.interpret(ThreadContext context,
StaticScope currScope,
DynamicScope currDynScope,
IRubyObject self,
Object[] temp) |
Object |
ReqdArgMultipleAsgnInstr.interpret(ThreadContext context,
StaticScope currScope,
DynamicScope currDynScope,
IRubyObject self,
Object[] temp) |
Object |
ReifyClosureInstr.interpret(ThreadContext context,
StaticScope currScope,
DynamicScope currDynScope,
IRubyObject self,
Object[] temp) |
Object |
RecordEndBlockInstr.interpret(ThreadContext context,
StaticScope currScope,
DynamicScope currDynScope,
IRubyObject self,
Object[] temp) |
Object |
RaiseRequiredKeywordArgumentError.interpret(ThreadContext context,
StaticScope currScope,
DynamicScope currDynScope,
IRubyObject self,
Object[] temp) |
Object |
RaiseArgumentErrorInstr.interpret(ThreadContext context,
StaticScope currScope,
DynamicScope currDynScope,
IRubyObject self,
Object[] temp) |
Object |
PutGlobalVarInstr.interpret(ThreadContext context,
StaticScope currScope,
DynamicScope currDynScope,
IRubyObject self,
Object[] temp) |
Object |
PutFieldInstr.interpret(ThreadContext context,
StaticScope currScope,
DynamicScope currDynScope,
IRubyObject self,
Object[] temp) |
Object |
PutConstInstr.interpret(ThreadContext context,
StaticScope currScope,
DynamicScope currDynScope,
IRubyObject self,
Object[] temp) |
Object |
PutClassVariableInstr.interpret(ThreadContext context,
StaticScope currScope,
DynamicScope currDynScope,
IRubyObject self,
Object[] temp) |
Object |
ProcessModuleBodyInstr.interpret(ThreadContext context,
StaticScope currScope,
DynamicScope currDynScope,
IRubyObject self,
Object[] temp) |
Object |
OptArgMultipleAsgnInstr.interpret(ThreadContext context,
StaticScope currScope,
DynamicScope currDynScope,
IRubyObject self,
Object[] temp) |
Object |
NopInstr.interpret(ThreadContext context,
StaticScope currScope,
DynamicScope currDynScope,
IRubyObject self,
Object[] temp) |
Object |
LoadLocalVarInstr.interpret(ThreadContext context,
StaticScope currScope,
DynamicScope currDynScope,
IRubyObject self,
Object[] temp) |
Object |
LexicalSearchConstInstr.interpret(ThreadContext context,
StaticScope currScope,
DynamicScope currDynScope,
IRubyObject self,
Object[] temp) |
Object |
Instr.interpret(ThreadContext context,
StaticScope currScope,
DynamicScope currDynScope,
IRubyObject self,
Object[] temp) |
Object |
InstanceSuperInstr.interpret(ThreadContext context,
StaticScope currScope,
DynamicScope currDynScope,
IRubyObject self,
Object[] temp) |
Object |
InheritanceSearchConstInstr.interpret(ThreadContext context,
StaticScope currScope,
DynamicScope currDynScope,
IRubyObject self,
Object[] temp) |
Object |
GVarAliasInstr.interpret(ThreadContext context,
StaticScope currScope,
DynamicScope currDynScope,
IRubyObject self,
Object[] temp) |
Object |
GetGlobalVariableInstr.interpret(ThreadContext context,
StaticScope currScope,
DynamicScope currDynScope,
IRubyObject self,
Object[] temp) |
Object |
GetEncodingInstr.interpret(ThreadContext context,
StaticScope currScope,
DynamicScope currDynScope,
IRubyObject self,
Object[] temp) |
Object |
GetClassVariableInstr.interpret(ThreadContext context,
StaticScope currScope,
DynamicScope currDynScope,
IRubyObject self,
Object[] temp) |
Object |
GetClassVarContainerModuleInstr.interpret(ThreadContext context,
StaticScope currScope,
DynamicScope currDynScope,
IRubyObject self,
Object[] temp) |
Object |
EQQInstr.interpret(ThreadContext context,
StaticScope currScope,
DynamicScope currDynScope,
IRubyObject self,
Object[] temp) |
Object |
DefineModuleInstr.interpret(ThreadContext context,
StaticScope currScope,
DynamicScope currDynScope,
IRubyObject self,
Object[] temp) |
Object |
DefineMetaClassInstr.interpret(ThreadContext context,
StaticScope currScope,
DynamicScope currDynScope,
IRubyObject self,
Object[] temp) |
Object |
DefineInstanceMethodInstr.interpret(ThreadContext context,
StaticScope currScope,
DynamicScope currDynScope,
IRubyObject self,
Object[] temp) |
Object |
DefineClassMethodInstr.interpret(ThreadContext context,
StaticScope currScope,
DynamicScope currDynScope,
IRubyObject self,
Object[] temp) |
Object |
DefineClassInstr.interpret(ThreadContext context,
StaticScope currScope,
DynamicScope currDynScope,
IRubyObject self,
Object[] temp) |
Object |
ConstMissingInstr.interpret(ThreadContext context,
StaticScope currScope,
DynamicScope currDynScope,
IRubyObject self,
Object[] temp) |
Object |
ClassSuperInstr.interpret(ThreadContext context,
StaticScope currScope,
DynamicScope currDynScope,
IRubyObject self,
Object[] temp) |
Object |
CheckArgsArrayArityInstr.interpret(ThreadContext context,
StaticScope currScope,
DynamicScope currDynScope,
IRubyObject self,
Object[] temp) |
Object |
CallBase.interpret(ThreadContext context,
StaticScope currScope,
DynamicScope dynamicScope,
IRubyObject self,
Object[] temp) |
Object |
BuildSplatInstr.interpret(ThreadContext context,
StaticScope currScope,
DynamicScope currDynScope,
IRubyObject self,
Object[] temp) |
Object |
BuildRangeInstr.interpret(ThreadContext context,
StaticScope currScope,
DynamicScope currDynScope,
IRubyObject self,
Object[] temp) |
Object |
BuildLambdaInstr.interpret(ThreadContext context,
StaticScope currScope,
DynamicScope currDynScope,
IRubyObject self,
Object[] temp) |
Object |
BuildDynRegExpInstr.interpret(ThreadContext context,
StaticScope currScope,
DynamicScope currDynScope,
IRubyObject self,
Object[] temp) |
Object |
BuildCompoundStringInstr.interpret(ThreadContext context,
StaticScope currScope,
DynamicScope currDynScope,
IRubyObject self,
Object[] temp) |
Object |
BuildCompoundArrayInstr.interpret(ThreadContext context,
StaticScope currScope,
DynamicScope currDynScope,
IRubyObject self,
Object[] temp) |
Object |
BlockGivenInstr.interpret(ThreadContext context,
StaticScope currScope,
DynamicScope currDynScope,
IRubyObject self,
Object[] temp) |
Object |
BacktickInstr.interpret(ThreadContext context,
StaticScope currScope,
DynamicScope currDynScope,
IRubyObject self,
Object[] temp) |
Object |
AttrAssignInstr.interpret(ThreadContext context,
StaticScope currScope,
DynamicScope dynamicScope,
IRubyObject self,
Object[] temp) |
Object |
ArgScopeDepthInstr.interpret(ThreadContext context,
StaticScope currScope,
DynamicScope currDynScope,
IRubyObject self,
Object[] temp) |
Object |
AliasInstr.interpret(ThreadContext context,
StaticScope currScope,
DynamicScope currDynScope,
IRubyObject self,
Object[] temp) |
int |
ModuleVersionGuardInstr.interpretAndGetNewIPC(ThreadContext context,
DynamicScope currDynScope,
StaticScope currScope,
IRubyObject self,
Object[] temp,
int ipc) |
int |
Instr.interpretAndGetNewIPC(ThreadContext context,
DynamicScope currDynScope,
StaticScope currScope,
IRubyObject self,
Object[] temp,
int ipc) |
int |
BUndefInstr.interpretAndGetNewIPC(ThreadContext context,
DynamicScope currDynScope,
StaticScope currScope,
IRubyObject self,
Object[] temp,
int ipc) |
int |
BTrueInstr.interpretAndGetNewIPC(ThreadContext context,
DynamicScope currDynScope,
StaticScope currScope,
IRubyObject self,
Object[] temp,
int ipc) |
int |
BNilInstr.interpretAndGetNewIPC(ThreadContext context,
DynamicScope currDynScope,
StaticScope currScope,
IRubyObject self,
Object[] temp,
int ipc) |
int |
BNEInstr.interpretAndGetNewIPC(ThreadContext context,
DynamicScope currDynScope,
StaticScope currScope,
IRubyObject self,
Object[] temp,
int ipc) |
int |
BFalseInstr.interpretAndGetNewIPC(ThreadContext context,
DynamicScope currDynScope,
StaticScope currScope,
IRubyObject self,
Object[] temp,
int ipc) |
int |
BEQInstr.interpretAndGetNewIPC(ThreadContext context,
DynamicScope currDynScope,
StaticScope currScope,
IRubyObject self,
Object[] temp,
int ipc) |
protected IRubyObject[] |
CallBase.prepareArguments(ThreadContext context,
IRubyObject self,
StaticScope currScope,
DynamicScope dynamicScope,
Object[] temp) |
protected IRubyObject[] |
CallBase.prepareArgumentsComplex(ThreadContext context,
IRubyObject self,
StaticScope currScope,
DynamicScope currDynScope,
Object[] temp) |
protected IRubyObject[] |
CallBase.prepareArgumentsSimple(ThreadContext context,
IRubyObject self,
StaticScope currScope,
DynamicScope currDynScope,
Object[] temp) |
Block |
CallBase.prepareBlock(ThreadContext context,
IRubyObject self,
StaticScope currScope,
DynamicScope currDynScope,
Object[] temp) |
Modifier and Type | Method and Description |
---|---|
Object |
RestoreErrorInfoInstr.interpret(ThreadContext context,
StaticScope currScope,
DynamicScope currDynScope,
IRubyObject self,
Object[] temp) |
Object |
GetErrorInfoInstr.interpret(ThreadContext context,
StaticScope currScope,
DynamicScope currDynScope,
IRubyObject self,
Object[] temp) |
Modifier and Type | Method and Description |
---|---|
Object |
ZeroOperandArgNoBlockCallInstr.interpret(ThreadContext context,
StaticScope currScope,
DynamicScope dynamicScope,
IRubyObject self,
Object[] temp) |
Object |
OneOperandArgNoBlockNoResultCallInstr.interpret(ThreadContext context,
StaticScope currScope,
DynamicScope dynamicScope,
IRubyObject self,
Object[] temp) |
Object |
OneOperandArgNoBlockCallInstr.interpret(ThreadContext context,
StaticScope currScope,
DynamicScope dynamicScope,
IRubyObject self,
Object[] temp) |
Object |
OneOperandArgBlockCallInstr.interpret(ThreadContext context,
StaticScope currScope,
DynamicScope dynamicScope,
IRubyObject self,
Object[] temp) |
Object |
OneFloatArgNoBlockCallInstr.interpret(ThreadContext context,
StaticScope currScope,
DynamicScope dynamicScope,
IRubyObject self,
Object[] temp) |
Object |
OneFixnumArgNoBlockCallInstr.interpret(ThreadContext context,
StaticScope currScope,
DynamicScope dynamicScope,
IRubyObject self,
Object[] temp) |
Object |
OneArgOperandAttrAssignInstr.interpret(ThreadContext context,
StaticScope currScope,
DynamicScope dynamicScope,
IRubyObject self,
Object[] temp) |
Modifier and Type | Method and Description |
---|---|
StaticScope |
InterpreterContext.getStaticScope() |
Modifier and Type | Method and Description |
---|---|
protected static void |
InterpreterEngine.processCall(ThreadContext context,
Instr instr,
Operation operation,
DynamicScope currDynScope,
StaticScope currScope,
Object[] temp,
IRubyObject self) |
protected static void |
StartupInterpreterEngine.processOtherOp(ThreadContext context,
Instr instr,
Operation operation,
DynamicScope currDynScope,
StaticScope currScope,
Object[] temp,
IRubyObject self,
Block.Type blockType) |
protected static void |
InterpreterEngine.processOtherOp(ThreadContext context,
Instr instr,
Operation operation,
DynamicScope currDynScope,
StaticScope currScope,
Object[] temp,
IRubyObject self,
Block.Type blockType,
double[] floats,
long[] fixnums,
boolean[] booleans) |
protected static IRubyObject |
InterpreterEngine.processReturnOp(ThreadContext context,
Instr instr,
Operation operation,
DynamicScope currDynScope,
Object[] temp,
IRubyObject self,
Block.Type blockType,
StaticScope currScope) |
protected static Object |
InterpreterEngine.retrieveOp(Operand r,
ThreadContext context,
IRubyObject self,
DynamicScope currDynScope,
StaticScope currScope,
Object[] temp) |
static void |
Interpreter.runBeginBlocks(List<IRClosure> beBlocks,
ThreadContext context,
IRubyObject self,
StaticScope currScope,
Object[] temp) |
Modifier and Type | Method and Description |
---|---|
Object |
WrappedIRClosure.retrieve(ThreadContext context,
IRubyObject self,
StaticScope currScope,
DynamicScope currDynScope,
Object[] temp) |
Object |
UnexecutableNil.retrieve(ThreadContext context,
IRubyObject self,
StaticScope currScope,
DynamicScope currDynScope,
Object[] temp) |
Object |
UndefinedValue.retrieve(ThreadContext context,
IRubyObject self,
StaticScope currScope,
DynamicScope currDynScope,
Object[] temp) |
Object |
TemporaryLocalVariable.retrieve(ThreadContext context,
IRubyObject self,
StaticScope currScope,
DynamicScope currDynScope,
Object[] temp) |
Object |
SValue.retrieve(ThreadContext context,
IRubyObject self,
StaticScope currScope,
DynamicScope currDynScope,
Object[] temp) |
Object |
StringLiteral.retrieve(ThreadContext context,
IRubyObject self,
StaticScope currScope,
DynamicScope currDynScope,
Object[] temp) |
Object |
Splat.retrieve(ThreadContext context,
IRubyObject self,
StaticScope currScope,
DynamicScope currDynScope,
Object[] temp) |
Object |
Self.retrieve(ThreadContext context,
IRubyObject self,
StaticScope currScope,
DynamicScope currDynScope,
Object[] temp) |
Object |
ScopeModule.retrieve(ThreadContext context,
IRubyObject self,
StaticScope currScope,
DynamicScope currDynScope,
Object[] temp) |
Object |
Operand.retrieve(ThreadContext context,
IRubyObject self,
StaticScope currScope,
DynamicScope currDynScope,
Object[] temp) |
Object |
ObjectClass.retrieve(ThreadContext context,
IRubyObject self,
StaticScope currScope,
DynamicScope currDynScope,
Object[] temp) |
Object |
NthRef.retrieve(ThreadContext context,
IRubyObject self,
StaticScope currScope,
DynamicScope currDynScope,
Object[] temp) |
Object |
LocalVariable.retrieve(ThreadContext context,
IRubyObject self,
StaticScope currScope,
DynamicScope currDynScope,
Object[] temp) |
Object |
ImmutableLiteral.retrieve(ThreadContext context,
IRubyObject self,
StaticScope currScope,
DynamicScope currDynScope,
Object[] temp)
retrieve the live value represented by this immutable literal.
|
Object |
Hash.retrieve(ThreadContext context,
IRubyObject self,
StaticScope currScope,
DynamicScope currDynScope,
Object[] temp) |
Object |
GlobalVariable.retrieve(ThreadContext context,
IRubyObject self,
StaticScope currScope,
DynamicScope currDynScope,
Object[] temp) |
Object |
FrozenString.retrieve(ThreadContext context,
IRubyObject self,
StaticScope currScope,
DynamicScope currDynScope,
Object[] temp) |
Object |
DynamicSymbol.retrieve(ThreadContext context,
IRubyObject self,
StaticScope currScope,
DynamicScope currDynScope,
Object[] temp) |
Object |
CurrentScope.retrieve(ThreadContext context,
IRubyObject self,
StaticScope currScope,
DynamicScope currDynScope,
Object[] temp) |
Object |
Backref.retrieve(ThreadContext context,
IRubyObject self,
StaticScope currScope,
DynamicScope currDynScope,
Object[] temp) |
Object |
AsString.retrieve(ThreadContext context,
IRubyObject self,
StaticScope currScope,
DynamicScope currDynScope,
Object[] temp) |
Object |
Array.retrieve(ThreadContext context,
IRubyObject self,
StaticScope currScope,
DynamicScope currDynScope,
Object[] temp) |
Modifier and Type | Method and Description |
---|---|
static IRScope |
IRReader.createScope(IRManager manager,
IRScopeType type,
String name,
int line,
IRScope lexicalParent,
Signature signature,
StaticScope staticScope) |
Modifier and Type | Method and Description |
---|---|
static RubyModule |
IRRuntimeHelpers.getModuleFromScope(ThreadContext context,
StaticScope scope,
IRubyObject arg) |
static IRubyObject |
IRRuntimeHelpers.handleBreakAndReturnsInLambdas(ThreadContext context,
StaticScope scope,
DynamicScope dynScope,
Object exc,
Block.Type blockType) |
static IRubyObject |
IRRuntimeHelpers.handleNonlocalReturn(StaticScope scope,
DynamicScope dynScope,
Object rjExc,
Block.Type blockType) |
static boolean |
IRRuntimeHelpers.inNonMethodBodyLambda(StaticScope scope,
Block.Type blockType) |
static IRubyObject |
IRRuntimeHelpers.lexicalSearchConst(ThreadContext context,
StaticScope staticScope,
String constName) |
static IRubyObject |
IRRuntimeHelpers.searchConst(ThreadContext context,
StaticScope staticScope,
String constName,
boolean noPrivateConsts) |
Modifier and Type | Method and Description |
---|---|
static IRubyObject |
Bootstrap.lexicalSearchConst(ThreadContext context,
StaticScope scope,
java.lang.invoke.MutableCallSite site,
String constName,
boolean noPrivateConsts) |
static IRubyObject |
Bootstrap.searchConst(ThreadContext context,
StaticScope staticScope,
java.lang.invoke.MutableCallSite site,
String constName,
boolean noPrivateConsts) |
Modifier and Type | Field and Description |
---|---|
protected StaticScope |
ParserSupport.currentScope |
protected StaticScope |
StaticScope.enclosingScope |
Modifier and Type | Method and Description |
---|---|
StaticScope |
StaticScope.duplicate() |
StaticScope |
ParserSupport.getCurrentScope() |
StaticScope |
StaticScopeFactory.getDummyScope() |
StaticScope |
StaticScope.getEnclosingScope()
Next outer most scope in list of scopes.
|
StaticScope |
StaticScope.getLocalScope()
Gets the Local Scope relative to the current Scope.
|
StaticScope |
StaticScope.getPreviousCRefScope() |
StaticScope |
StaticScopeFactory.newBlockScope(StaticScope parent) |
StaticScope |
StaticScopeFactory.newBlockScope(StaticScope parent,
String file) |
StaticScope |
StaticScopeFactory.newBlockScope(StaticScope parent,
String[] names) |
StaticScope |
StaticScopeFactory.newEvalScope(StaticScope parent) |
StaticScope |
StaticScopeFactory.newEvalScope(StaticScope parent,
String[] names) |
static StaticScope |
StaticScopeFactory.newIRBlockScope(StaticScope parent) |
StaticScope |
StaticScopeFactory.newLocalScope(StaticScope parent) |
StaticScope |
StaticScopeFactory.newLocalScope(StaticScope parent,
String file) |
StaticScope |
StaticScopeFactory.newLocalScope(StaticScope parent,
String[] names) |
static StaticScope |
StaticScopeFactory.newStaticScope(StaticScope parent,
StaticScope.Type type,
String[] names) |
Modifier and Type | Method and Description |
---|---|
AssignableNode |
StaticScope.assign(ISourcePosition position,
String name,
Node value,
StaticScope topScope,
int depth) |
StaticScope |
StaticScopeFactory.newBlockScope(StaticScope parent) |
StaticScope |
StaticScopeFactory.newBlockScope(StaticScope parent,
String file) |
StaticScope |
StaticScopeFactory.newBlockScope(StaticScope parent,
String[] names) |
StaticScope |
StaticScopeFactory.newEvalScope(StaticScope parent) |
StaticScope |
StaticScopeFactory.newEvalScope(StaticScope parent,
String[] names) |
static StaticScope |
StaticScopeFactory.newIRBlockScope(StaticScope parent) |
StaticScope |
StaticScopeFactory.newLocalScope(StaticScope parent) |
StaticScope |
StaticScopeFactory.newLocalScope(StaticScope parent,
String file) |
StaticScope |
StaticScopeFactory.newLocalScope(StaticScope parent,
String[] names) |
static StaticScope |
StaticScopeFactory.newStaticScope(StaticScope parent,
StaticScope.Type type,
String[] names) |
void |
StaticScope.setPreviousCRefScope(StaticScope crefScope) |
Constructor and Description |
---|
StaticScope(StaticScope.Type type,
StaticScope enclosingScope)
Construct a new static scope.
|
StaticScope(StaticScope.Type type,
StaticScope enclosingScope,
String file) |
StaticScope(StaticScope.Type type,
StaticScope enclosingScope,
String[] names)
Construct a new static scope.
|
Modifier and Type | Field and Description |
---|---|
protected StaticScope |
ContextAwareBlockBody.scope
The static scope for the block body
|
protected StaticScope |
DynamicScope.staticScope |
Modifier and Type | Method and Description |
---|---|
static StaticScope |
Helpers.decodeScope(ThreadContext context,
StaticScope parent,
String scopeString) |
static StaticScope |
Helpers.decodeScopeAndDetermineModule(ThreadContext context,
StaticScope parent,
String scopeString) |
StaticScope |
ThreadContext.getCurrentStaticScope() |
StaticScope |
NullBlockBody.getStaticScope() |
StaticScope |
JavaInternalBlockBody.getStaticScope() |
StaticScope |
DynamicScope.getStaticScope()
Get the static scope associated with this DynamicScope.
|
StaticScope |
ContextAwareBlockBody.getStaticScope() |
StaticScope |
CallBlock19.getStaticScope() |
StaticScope |
CallBlock.getStaticScope() |
abstract StaticScope |
BlockBody.getStaticScope() |
static StaticScope |
Helpers.preLoad(ThreadContext context,
String[] varNames) |
Modifier and Type | Method and Description |
---|---|
static StaticScope |
Helpers.decodeScope(ThreadContext context,
StaticScope parent,
String scopeString) |
static StaticScope |
Helpers.decodeScopeAndDetermineModule(ThreadContext context,
StaticScope parent,
String scopeString) |
static String |
Helpers.encodeScope(StaticScope scope) |
DynamicScope |
Binding.getDummyScope(StaticScope staticScope) |
static RubyModule |
Helpers.getNthScopeModule(StaticScope scope,
int depth) |
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) |
static void |
Helpers.preLoadCommon(ThreadContext context,
StaticScope staticScope,
boolean wrap) |
void |
ThreadContext.preMethodBacktraceAndScope(String name,
StaticScope staticScope) |
void |
ThreadContext.preMethodBacktraceDummyScope(String name,
StaticScope staticScope) |
void |
ThreadContext.preMethodFrameAndDummyScope(RubyModule clazz,
String name,
IRubyObject self,
Block block,
StaticScope staticScope) |
void |
ThreadContext.preMethodFrameAndScope(RubyModule clazz,
String name,
IRubyObject self,
Block block,
StaticScope staticScope) |
void |
ThreadContext.preMethodNoFrameAndDummyScope(StaticScope staticScope) |
void |
ThreadContext.preMethodScopeOnly(StaticScope staticScope) |
static RubyModule |
Helpers.prepareClassNamespace(ThreadContext context,
StaticScope scope,
IRubyObject rubyModule) |
Frame |
ThreadContext.preYieldSpecificBlock(Binding binding,
StaticScope scope) |
void |
NullBlockBody.setStaticScope(StaticScope newScope) |
void |
JavaInternalBlockBody.setStaticScope(StaticScope newScope) |
void |
ContextAwareBlockBody.setStaticScope(StaticScope newScope) |
void |
CallBlock19.setStaticScope(StaticScope newScope) |
void |
CallBlock.setStaticScope(StaticScope newScope) |
abstract void |
BlockBody.setStaticScope(StaticScope newScope) |
Constructor and Description |
---|
ContextAwareBlockBody(StaticScope scope,
Arity arity,
int argumentType)
Deprecated.
|
ContextAwareBlockBody(StaticScope scope,
Signature signature) |
DynamicScope(StaticScope staticScope) |
DynamicScope(StaticScope staticScope,
DynamicScope parent) |
MethodBlockBody(StaticScope staticScope,
Signature signature,
DynamicMethod method,
ArgumentDescriptor[] argsDesc,
IRubyObject receiver,
RubyModule originModule,
String originName,
String file,
int line) |
Modifier and Type | Method and Description |
---|---|
static java.lang.invoke.MethodHandle |
InvocationLinker.getFramePre(com.headius.invokebinder.Signature signature,
CallConfiguration callConfig,
RubyModule implClass,
String name,
StaticScope scope) |
static java.lang.invoke.MethodHandle |
InvocationLinker.wrapWithFraming(com.headius.invokebinder.Signature signature,
CallConfiguration callConfig,
RubyModule implClass,
String name,
java.lang.invoke.MethodHandle nativeTarget,
StaticScope scope) |
Constructor and Description |
---|
DummyDynamicScope(StaticScope staticScope) |
DummyDynamicScope(StaticScope staticScope,
DynamicScope parent) |
FourVarDynamicScope(StaticScope staticScope) |
FourVarDynamicScope(StaticScope staticScope,
DynamicScope parent) |
ManyVarsDynamicScope(StaticScope staticScope) |
ManyVarsDynamicScope(StaticScope staticScope,
DynamicScope parent) |
NoVarsDynamicScope(StaticScope staticScope) |
NoVarsDynamicScope(StaticScope staticScope,
DynamicScope parent) |
OneVarDynamicScope(StaticScope staticScope) |
OneVarDynamicScope(StaticScope staticScope,
DynamicScope parent) |
SharedBindingDynamicScope(StaticScope staticScope,
IRMethod irMethod) |
ThreeVarDynamicScope(StaticScope staticScope) |
ThreeVarDynamicScope(StaticScope staticScope,
DynamicScope parent) |
TwoVarDynamicScope(StaticScope staticScope) |
TwoVarDynamicScope(StaticScope staticScope,
DynamicScope parent) |
Copyright © 2001-2015 JRuby. All Rights Reserved.