Modifier and Type | Method and Description |
---|---|
StaticScope |
ParseResult.getStaticScope() |
Modifier and Type | Method and Description |
---|---|
IRubyObject |
RubyClass.finvokeWithRefinements(ThreadContext context,
IRubyObject self,
StaticScope staticScope,
java.lang.String name,
Block block) |
IRubyObject |
RubyClass.finvokeWithRefinements(ThreadContext context,
IRubyObject self,
StaticScope staticScope,
java.lang.String name,
IRubyObject[] args,
Block block) |
IRubyObject |
RubyClass.finvokeWithRefinements(ThreadContext context,
IRubyObject self,
StaticScope staticScope,
java.lang.String name,
IRubyObject arg,
Block block) |
IRubyObject |
RubyClass.finvokeWithRefinements(ThreadContext context,
IRubyObject self,
StaticScope staticScope,
java.lang.String name,
IRubyObject arg0,
IRubyObject arg1,
Block block) |
IRubyObject |
RubyClass.finvokeWithRefinements(ThreadContext context,
IRubyObject self,
StaticScope staticScope,
java.lang.String name,
IRubyObject arg0,
IRubyObject arg1,
IRubyObject arg2,
Block block) |
CacheEntry |
RubyModule.searchWithRefinements(java.lang.String name,
StaticScope refinedScope)
Search for the named method in this class and in superclasses applying refinements from the given scope.
|
IRubyObject |
RubySymbol.toRefinedProc(ThreadContext context,
StaticScope scope) |
Modifier and Type | Field and Description |
---|---|
protected StaticScope |
MethodDefNode.scope |
Modifier and Type | Method and Description |
---|---|
StaticScope |
DefNode.getScope()
Get the static scoping information.
|
StaticScope |
IterNode.getScope() |
StaticScope |
SClassNode.getScope()
Gets the scope of this class
|
StaticScope |
ModuleNode.getScope()
Get the static scoping information.
|
StaticScope |
IScopingNode.getScope() |
StaticScope |
ClassNode.getScope()
Get the static scoping information.
|
StaticScope |
MethodDefNode.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,
int endLine) |
DefnNode(ISourcePosition position,
RubySymbol name,
ArgsNode argsNode,
StaticScope scope,
Node bodyNode,
int endLine) |
DefsNode(ISourcePosition position,
Node receiverNode,
RubySymbol name,
ArgsNode argsNode,
StaticScope scope,
Node bodyNode,
int endLine) |
ForNode(ISourcePosition position,
Node varNode,
Node bodyNode,
Node iterNode,
StaticScope scope,
int endLine) |
IterNode(ISourcePosition position,
ArgsNode args,
Node body,
StaticScope scope,
int endLine)
Used for all non-for types of blocks.
|
IterNode(ISourcePosition position,
Node args,
StaticScope scope,
Node body,
int endLine)
Used by ForNode only.
|
LambdaNode(ISourcePosition position,
ArgsNode args,
Node body,
StaticScope scope,
int endLine) |
MethodDefNode(ISourcePosition position,
RubySymbol name,
ArgsNode argsNode,
StaticScope scope,
Node bodyNode,
int endLine) |
ModuleNode(ISourcePosition position,
Colon3Node cpath,
StaticScope scope,
Node bodyNode,
int endLine) |
PreExe19Node(ISourcePosition position,
StaticScope scope,
Node body,
int endLine) |
PreExeNode(ISourcePosition position,
StaticScope scope,
Node body,
int endLine) |
SClassNode(ISourcePosition position,
Node recvNode,
StaticScope scope,
Node bodyNode,
int endLine) |
Modifier and Type | Field and Description |
---|---|
StaticScope[] |
RuntimeCache.scopes |
Modifier and Type | Method and Description |
---|---|
StaticScope |
AbstractScript.getScope(int i) |
StaticScope |
RuntimeCache.getScope(int index) |
StaticScope |
AbstractScript.getScope(ThreadContext context,
StaticScope parent,
java.lang.String varNamesDescriptor,
int i) |
StaticScope |
RuntimeCache.getScope(ThreadContext context,
StaticScope parent,
java.lang.String varNamesDescriptor,
int index) |
StaticScope |
AbstractScript.getScope0() |
StaticScope |
AbstractScript.getScope0(ThreadContext context,
StaticScope parent,
java.lang.String varNamesDescriptor) |
StaticScope |
AbstractScript.getScope1() |
StaticScope |
AbstractScript.getScope1(ThreadContext context,
StaticScope parent,
java.lang.String varNamesDescriptor) |
StaticScope |
AbstractScript.getScope2() |
StaticScope |
AbstractScript.getScope2(ThreadContext context,
StaticScope parent,
java.lang.String varNamesDescriptor) |
StaticScope |
AbstractScript.getScope3() |
StaticScope |
AbstractScript.getScope3(ThreadContext context,
StaticScope parent,
java.lang.String varNamesDescriptor) |
StaticScope |
AbstractScript.getScope4() |
StaticScope |
AbstractScript.getScope4(ThreadContext context,
StaticScope parent,
java.lang.String varNamesDescriptor) |
StaticScope |
AbstractScript.getScope5() |
StaticScope |
AbstractScript.getScope5(ThreadContext context,
StaticScope parent,
java.lang.String varNamesDescriptor) |
StaticScope |
AbstractScript.getScope6() |
StaticScope |
AbstractScript.getScope6(ThreadContext context,
StaticScope parent,
java.lang.String varNamesDescriptor) |
StaticScope |
AbstractScript.getScope7() |
StaticScope |
AbstractScript.getScope7(ThreadContext context,
StaticScope parent,
java.lang.String varNamesDescriptor) |
StaticScope |
AbstractScript.getScope8() |
StaticScope |
AbstractScript.getScope8(ThreadContext context,
StaticScope parent,
java.lang.String varNamesDescriptor) |
StaticScope |
AbstractScript.getScope9() |
StaticScope |
AbstractScript.getScope9(ThreadContext context,
StaticScope parent,
java.lang.String varNamesDescriptor) |
Modifier and Type | Method and Description |
---|---|
IRubyObject |
AbstractScript.getConstant(ThreadContext context,
StaticScope scope,
java.lang.String name,
int i) |
IRubyObject |
RuntimeCache.getConstant(ThreadContext context,
StaticScope scope,
java.lang.String name,
int index) |
IRubyObject |
AbstractScript.getConstant0(ThreadContext context,
StaticScope scope,
java.lang.String name) |
IRubyObject |
AbstractScript.getConstant1(ThreadContext context,
StaticScope scope,
java.lang.String name) |
IRubyObject |
AbstractScript.getConstant2(ThreadContext context,
StaticScope scope,
java.lang.String name) |
IRubyObject |
AbstractScript.getConstant3(ThreadContext context,
StaticScope scope,
java.lang.String name) |
IRubyObject |
AbstractScript.getConstant4(ThreadContext context,
StaticScope scope,
java.lang.String name) |
IRubyObject |
AbstractScript.getConstant5(ThreadContext context,
StaticScope scope,
java.lang.String name) |
IRubyObject |
AbstractScript.getConstant6(ThreadContext context,
StaticScope scope,
java.lang.String name) |
IRubyObject |
AbstractScript.getConstant7(ThreadContext context,
StaticScope scope,
java.lang.String name) |
IRubyObject |
AbstractScript.getConstant8(ThreadContext context,
StaticScope scope,
java.lang.String name) |
IRubyObject |
AbstractScript.getConstant9(ThreadContext context,
StaticScope scope,
java.lang.String name) |
IRubyObject |
AbstractScript.getConstantDefined(ThreadContext context,
StaticScope scope,
java.lang.String name,
int i) |
IRubyObject |
RuntimeCache.getConstantDefined(ThreadContext context,
StaticScope scope,
java.lang.String name,
int index) |
IRubyObject |
AbstractScript.getConstantDefined0(ThreadContext context,
StaticScope scope,
java.lang.String name) |
IRubyObject |
AbstractScript.getConstantDefined1(ThreadContext context,
StaticScope scope,
java.lang.String name) |
IRubyObject |
AbstractScript.getConstantDefined2(ThreadContext context,
StaticScope scope,
java.lang.String name) |
IRubyObject |
AbstractScript.getConstantDefined3(ThreadContext context,
StaticScope scope,
java.lang.String name) |
IRubyObject |
AbstractScript.getConstantDefined4(ThreadContext context,
StaticScope scope,
java.lang.String name) |
IRubyObject |
AbstractScript.getConstantDefined5(ThreadContext context,
StaticScope scope,
java.lang.String name) |
IRubyObject |
AbstractScript.getConstantDefined6(ThreadContext context,
StaticScope scope,
java.lang.String name) |
IRubyObject |
AbstractScript.getConstantDefined7(ThreadContext context,
StaticScope scope,
java.lang.String name) |
IRubyObject |
AbstractScript.getConstantDefined8(ThreadContext context,
StaticScope scope,
java.lang.String name) |
IRubyObject |
AbstractScript.getConstantDefined9(ThreadContext context,
StaticScope scope,
java.lang.String name) |
StaticScope |
AbstractScript.getScope(ThreadContext context,
StaticScope parent,
java.lang.String varNamesDescriptor,
int i) |
StaticScope |
RuntimeCache.getScope(ThreadContext context,
StaticScope parent,
java.lang.String varNamesDescriptor,
int index) |
StaticScope |
AbstractScript.getScope0(ThreadContext context,
StaticScope parent,
java.lang.String varNamesDescriptor) |
StaticScope |
AbstractScript.getScope1(ThreadContext context,
StaticScope parent,
java.lang.String varNamesDescriptor) |
StaticScope |
AbstractScript.getScope2(ThreadContext context,
StaticScope parent,
java.lang.String varNamesDescriptor) |
StaticScope |
AbstractScript.getScope3(ThreadContext context,
StaticScope parent,
java.lang.String varNamesDescriptor) |
StaticScope |
AbstractScript.getScope4(ThreadContext context,
StaticScope parent,
java.lang.String varNamesDescriptor) |
StaticScope |
AbstractScript.getScope5(ThreadContext context,
StaticScope parent,
java.lang.String varNamesDescriptor) |
StaticScope |
AbstractScript.getScope6(ThreadContext context,
StaticScope parent,
java.lang.String varNamesDescriptor) |
StaticScope |
AbstractScript.getScope7(ThreadContext context,
StaticScope parent,
java.lang.String varNamesDescriptor) |
StaticScope |
AbstractScript.getScope8(ThreadContext context,
StaticScope parent,
java.lang.String varNamesDescriptor) |
StaticScope |
AbstractScript.getScope9(ThreadContext context,
StaticScope parent,
java.lang.String varNamesDescriptor) |
IRubyObject |
RuntimeCache.getValue(ThreadContext context,
StaticScope scope,
java.lang.String name,
int index) |
IRubyObject |
RuntimeCache.reCache(ThreadContext context,
StaticScope scope,
java.lang.String name,
int index) |
void |
AbstractScript.setRootScope(StaticScope scope) |
void |
Script.setRootScope(StaticScope scope) |
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 |
AbstractIRMethod.staticScope |
Modifier and Type | Method and Description |
---|---|
StaticScope |
AbstractIRMethod.getStaticScope() |
Modifier and Type | Field and Description |
---|---|
protected StaticScope |
JavaMethod.staticScope |
Modifier and Type | Method and Description |
---|---|
StaticScope |
JavaMethod.getStaticScope() |
Modifier and Type | Method and Description |
---|---|
void |
JavaMethod.init(RubyModule implementationClass,
Arity arity,
Visibility visibility,
StaticScope staticScope) |
void |
JavaMethod.init(RubyModule implementationClass,
Arity arity,
Visibility visibility,
StaticScope staticScope,
CallConfiguration callConfig)
Deprecated.
|
protected void |
CompiledIRNoProtocolMethod.pre(ThreadContext context,
StaticScope staticScope,
RubyModule implementationClass,
IRubyObject self,
java.lang.String name,
Block block) |
Modifier and Type | Method and Description |
---|---|
StaticScope |
IRScope.getStaticScope() |
Constructor and Description |
---|
IRClassBody(IRManager manager,
IRScope lexicalParent,
ByteList name,
int lineNumber,
StaticScope scope,
boolean executesOnce) |
IRClosure(IRManager manager,
IRScope lexicalParent,
int lineNumber,
StaticScope staticScope,
ByteList prefix) |
IRClosure(IRManager manager,
IRScope lexicalParent,
int lineNumber,
StaticScope staticScope,
Signature signature) |
IRClosure(IRManager manager,
IRScope lexicalParent,
int lineNumber,
StaticScope staticScope,
Signature signature,
boolean needsCoverage) |
IRClosure(IRManager manager,
IRScope lexicalParent,
int lineNumber,
StaticScope staticScope,
Signature signature,
ByteList prefix) |
IRClosure(IRManager manager,
IRScope lexicalParent,
int lineNumber,
StaticScope staticScope,
Signature signature,
ByteList prefix,
boolean isBeginEndBlock) |
IRClosure(IRManager manager,
IRScope lexicalParent,
int lineNumber,
StaticScope staticScope,
Signature signature,
ByteList prefix,
boolean isBeginEndBlock,
boolean needsCoverage) |
IREvalScript(IRManager manager,
IRScope lexicalParent,
java.lang.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,
ByteList labelPrefix) |
IRMetaClassBody(IRManager manager,
IRScope lexicalParent,
ByteList name,
int lineNumber,
StaticScope scope) |
IRMethod(IRManager manager,
IRScope lexicalParent,
DefNode defn,
ByteList name,
boolean isInstanceMethod,
int lineNumber,
StaticScope staticScope,
boolean needsCodeCoverage) |
IRModuleBody(IRManager manager,
IRScope lexicalParent,
ByteList name,
int lineNumber,
StaticScope staticScope,
boolean executesOnce) |
IRScope(IRManager manager,
IRScope lexicalParent,
ByteList name,
int lineNumber,
StaticScope staticScope) |
IRScriptBody(IRManager manager,
java.lang.String sourceName,
StaticScope staticScope) |
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 block) |
void |
CheckArityInstr.checkArity(ThreadContext context,
StaticScope scope,
java.lang.Object[] args,
Block block) |
java.lang.Object |
SearchConstInstr.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 |
RescueEQQInstr.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 |
LexicalSearchConstInstr.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 |
RaiseArgumentErrorInstr.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 |
BuildDynRegExpInstr.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 |
BuildCompoundStringInstr.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 |
InheritanceSearchConstInstr.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 |
OptArgMultipleAsgnInstr.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 |
SetCapturedVarInstr.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 |
ReifyClosureInstr.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 |
YieldInstr.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 |
StoreLocalVarInstr.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 |
GetGlobalVariableInstr.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 |
PutConstInstr.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 |
ReqdArgMultipleAsgnInstr.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 |
DefineInstanceMethodInstr.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 |
GetEncodingInstr.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 |
BuildBackrefInstr.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 |
ThreadPollInstr.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 |
RaiseRequiredKeywordArgumentError.interpret(ThreadContext context,
StaticScope currScope,
DynamicScope currDynScope,
IRubyObject self,
java.lang.Object[] temp) |
java.lang.Object |
AsStringInstr.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 |
ProcessModuleBodyInstr.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 |
UndefMethodInstr.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 |
DefineMetaClassInstr.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 |
LoadLocalVarInstr.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 |
InstanceSuperInstr.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 |
RecordEndBlockInstr.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 |
CallBase.interpret(ThreadContext context,
StaticScope currScope,
DynamicScope dynamicScope,
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 |
BuildRangeInstr.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 |
GetClassVarContainerModuleInstr.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) |
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) |
int |
BFalseInstr.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 |
BUndefInstr.interpretAndGetNewIPC(ThreadContext context,
DynamicScope currDynScope,
StaticScope currScope,
IRubyObject self,
java.lang.Object[] temp,
int ipc) |
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 |
Instr.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 |
OneOperandArgBlockCallInstr.interpret(ThreadContext context,
StaticScope currScope,
DynamicScope dynamicScope,
IRubyObject self,
java.lang.Object[] temp) |
java.lang.Object |
OneFloatArgNoBlockCallInstr.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 |
OneArgOperandAttrAssignInstr.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 |
OneOperandArgNoBlockNoResultCallInstr.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 |
TwoOperandArgNoBlockCallInstr.interpret(ThreadContext context,
StaticScope currScope,
DynamicScope dynamicScope,
IRubyObject self,
java.lang.Object[] temp) |
Modifier and Type | Method and Description |
---|---|
StaticScope |
InterpreterContext.getStaticScope() |
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 java.lang.Object |
InterpreterEngine.retrieveOp(Operand r,
ThreadContext context,
IRubyObject self,
DynamicScope currDynScope,
StaticScope currScope,
java.lang.Object[] temp) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
Array.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 |
SValue.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 |
StandardError.retrieve(ThreadContext context,
IRubyObject self,
StaticScope currScope,
DynamicScope currDynScope,
java.lang.Object[] temp) |
java.lang.Object |
UnexecutableNil.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 |
WrappedIRClosure.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 |
DynamicSymbol.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) |
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 |
StringLiteral.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 |
UndefinedValue.retrieve(ThreadContext context,
IRubyObject self,
StaticScope currScope,
DynamicScope currDynScope,
java.lang.Object[] temp) |
java.lang.Object |
Scope.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 |
Splat.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 |
CurrentScope.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 |
Filename.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 | Method and Description |
---|---|
static IRScope |
IRReader.createScope(IRManager manager,
IRScopeType type,
ByteList byteName,
java.lang.String file,
int line,
IRScope lexicalParent,
Signature signature,
StaticScope staticScope) |
Modifier and Type | Method and Description |
---|---|
static void |
IRRuntimeHelpers.checkArity(ThreadContext context,
StaticScope scope,
java.lang.Object[] args,
int required,
int opt,
boolean rest,
boolean receivesKwargs,
int restKey,
Block block) |
static void |
IRRuntimeHelpers.checkForExtraUnwantedKeywordArgs(ThreadContext context,
StaticScope scope,
RubyHash keywordArgs) |
static RubyFixnum |
IRRuntimeHelpers.getArgScopeDepth(ThreadContext context,
StaticScope currScope) |
static RubyString |
IRRuntimeHelpers.getFileNameStringFromScope(ThreadContext context,
StaticScope currScope) |
static RubyModule |
IRRuntimeHelpers.getModuleFromScope(ThreadContext context,
StaticScope scope,
IRubyObject arg) |
static Block |
IRRuntimeHelpers.getRefinedBlockFromObject(ThreadContext context,
StaticScope scope,
java.lang.Object value) |
static boolean |
IRRuntimeHelpers.inNonMethodBodyLambda(StaticScope scope,
Block.Type blockType) |
static IRubyObject |
IRRuntimeHelpers.lexicalSearchConst(ThreadContext context,
StaticScope staticScope,
java.lang.String constName) |
static DynamicScope |
IRRuntimeHelpers.prepareScriptScope(ThreadContext context,
StaticScope scope) |
static IRubyObject |
IRRuntimeHelpers.searchConst(ThreadContext context,
StaticScope staticScope,
java.lang.String constName,
boolean noPrivateConsts) |
Modifier and Type | Method and Description |
---|---|
static void |
Bootstrap.checkArity(ThreadContext context,
StaticScope scope,
java.lang.Object[] args,
Block block,
int req,
int opt,
boolean rest,
boolean key,
int keyrest) |
IRubyObject |
ConstantLookupSite.lexicalSearchConst(ThreadContext context,
StaticScope scope) |
IRubyObject |
ConstantLookupSite.searchConst(ThreadContext context,
StaticScope staticScope) |
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,
java.lang.String file) |
StaticScope |
StaticScopeFactory.newBlockScope(StaticScope parent,
java.lang.String[] names) |
StaticScope |
StaticScopeFactory.newEvalScope(StaticScope parent) |
StaticScope |
StaticScopeFactory.newEvalScope(StaticScope parent,
java.lang.String[] names)
Deprecated.
|
static StaticScope |
StaticScopeFactory.newIRBlockScope(StaticScope parent) |
StaticScope |
StaticScopeFactory.newLocalScope(StaticScope parent) |
StaticScope |
StaticScopeFactory.newLocalScope(StaticScope parent,
java.lang.String file) |
StaticScope |
StaticScopeFactory.newLocalScope(StaticScope parent,
java.lang.String[] names) |
static StaticScope |
StaticScopeFactory.newStaticScope(StaticScope parent,
StaticScope.Type type,
java.lang.String[] names) |
static StaticScope |
StaticScopeFactory.newStaticScope(StaticScope parent,
StaticScope.Type type,
java.lang.String[] names,
int keywordArgIndex) |
Modifier and Type | Method and Description |
---|---|
AssignableNode |
StaticScope.assign(ISourcePosition position,
RubySymbol symbolID,
Node value,
StaticScope topScope,
int depth) |
StaticScope |
StaticScopeFactory.newBlockScope(StaticScope parent) |
StaticScope |
StaticScopeFactory.newBlockScope(StaticScope parent,
java.lang.String file) |
StaticScope |
StaticScopeFactory.newBlockScope(StaticScope parent,
java.lang.String[] names) |
StaticScope |
StaticScopeFactory.newEvalScope(StaticScope parent) |
StaticScope |
StaticScopeFactory.newEvalScope(StaticScope parent,
java.lang.String[] names)
Deprecated.
|
static StaticScope |
StaticScopeFactory.newIRBlockScope(StaticScope parent) |
StaticScope |
StaticScopeFactory.newLocalScope(StaticScope parent) |
StaticScope |
StaticScopeFactory.newLocalScope(StaticScope parent,
java.lang.String file) |
StaticScope |
StaticScopeFactory.newLocalScope(StaticScope parent,
java.lang.String[] names) |
static StaticScope |
StaticScopeFactory.newStaticScope(StaticScope parent,
StaticScope.Type type,
java.lang.String[] names) |
static StaticScope |
StaticScopeFactory.newStaticScope(StaticScope parent,
StaticScope.Type type,
java.lang.String[] names,
int keywordArgIndex) |
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,
java.lang.String file) |
StaticScope(StaticScope.Type type,
StaticScope enclosingScope,
java.lang.String[] names) |
StaticScope(StaticScope.Type type,
StaticScope enclosingScope,
java.lang.String[] names,
int firstKeywordIndex)
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.decodeScopeAndDetermineModule(ThreadContext context,
StaticScope parent,
java.lang.String scopeString) |
StaticScope |
ThreadContext.getCurrentStaticScope() |
StaticScope |
NullBlockBody.getStaticScope() |
StaticScope |
DynamicScope.getStaticScope()
Get the static scope associated with this DynamicScope.
|
StaticScope |
CallBlock19.getStaticScope() |
abstract StaticScope |
BlockBody.getStaticScope() |
StaticScope |
JavaInternalBlockBody.getStaticScope() |
StaticScope |
CallBlock.getStaticScope() |
StaticScope |
ContextAwareBlockBody.getStaticScope() |
static StaticScope |
Helpers.getStaticScope(IRScope scope) |
static StaticScope |
Helpers.preLoad(ThreadContext context,
java.lang.String[] varNames) |
Modifier and Type | Method and Description |
---|---|
static StaticScope |
Helpers.decodeScopeAndDetermineModule(ThreadContext context,
StaticScope parent,
java.lang.String scopeString) |
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(java.lang.String name,
StaticScope staticScope) |
void |
ThreadContext.preMethodBacktraceDummyScope(java.lang.String name,
StaticScope staticScope) |
void |
ThreadContext.preMethodFrameAndDummyScope(RubyModule clazz,
java.lang.String name,
IRubyObject self,
Block block,
StaticScope staticScope) |
void |
ThreadContext.preMethodFrameAndScope(RubyModule clazz,
java.lang.String name,
IRubyObject self,
Block block,
StaticScope staticScope) |
void |
ThreadContext.preMethodNoFrameAndDummyScope(StaticScope staticScope) |
void |
ThreadContext.preMethodScopeOnly(StaticScope staticScope) |
Frame |
ThreadContext.preYieldSpecificBlock(Binding binding,
StaticScope scope) |
DynamicScope |
ThreadContext.pushNewScope(StaticScope staticScope) |
void |
NullBlockBody.setStaticScope(StaticScope newScope) |
void |
CallBlock19.setStaticScope(StaticScope newScope) |
abstract void |
BlockBody.setStaticScope(StaticScope newScope) |
void |
JavaInternalBlockBody.setStaticScope(StaticScope newScope) |
void |
CallBlock.setStaticScope(StaticScope newScope) |
void |
ContextAwareBlockBody.setStaticScope(StaticScope newScope) |
Constructor and Description |
---|
ContextAwareBlockBody(StaticScope scope,
Arity arity,
int argumentType)
Deprecated.
|
ContextAwareBlockBody(StaticScope scope,
Signature signature) |
DynamicScope(StaticScope staticScope,
DynamicScope parent) |
MethodBlockBody(StaticScope staticScope,
Signature signature,
CacheEntry entry,
ArgumentDescriptor[] argsDesc,
IRubyObject receiver,
RubyModule originModule,
java.lang.String originName,
java.lang.String file,
int line) |
Constructor and Description |
---|
RefinedCachingCallSite(java.lang.String methodName,
StaticScope scope,
CallType callType) |
Modifier and Type | Method and Description |
---|---|
static java.lang.invoke.MethodHandle |
InvocationLinker.getFramePre(com.headius.invokebinder.Signature signature,
CallConfiguration callConfig,
RubyModule implClass,
java.lang.String name,
StaticScope scope) |
static java.lang.invoke.MethodHandle |
InvocationLinker.wrapWithFraming(com.headius.invokebinder.Signature signature,
CallConfiguration callConfig,
RubyModule implClass,
java.lang.String name,
java.lang.invoke.MethodHandle nativeTarget,
StaticScope scope) |
Constructor and Description |
---|
ManyVarsDynamicScope(StaticScope staticScope,
DynamicScope parent) |
Copyright © 2001-2020 JRuby. All Rights Reserved.