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 | Method and Description |
---|---|
static RubyModule |
ASTInterpreter.getClassVariableBase(Ruby runtime,
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 |
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 |
---|---|
DynamicMethod |
ReflectionMethodFactory.getCompiledMethod(RubyModule implementationClass,
String rubyName,
String javaName,
Visibility visibility,
StaticScope scope,
Object scriptObject,
CallConfiguration callConfig,
ISourcePosition position,
String parameterDesc,
MethodNodes methodNodes)
Use reflection to provide a method handle for a compiled Ruby method.
|
DynamicMethod |
InvokeDynamicMethodFactory.getCompiledMethod(RubyModule implementationClass,
String rubyName,
String javaName,
Visibility visibility,
StaticScope scope,
Object scriptObject,
CallConfiguration callConfig,
ISourcePosition position,
String parameterDesc,
MethodNodes methodNodes)
Use JSR292 to provide a method handle for a compiled Ruby method.
|
DynamicMethod |
InvocationMethodFactory.getCompiledMethod(RubyModule implementationClass,
String rubyName,
String javaName,
Visibility visibility,
StaticScope scope,
Object scriptObject,
CallConfiguration callConfig,
ISourcePosition position,
String parameterDesc,
MethodNodes methodNodes)
Use code generation to provide a method handle for a compiled Ruby method.
|
DynamicMethod |
ReflectionMethodFactory.getCompiledMethodLazily(RubyModule implementationClass,
String rubyName,
String javaName,
Visibility visibility,
StaticScope scope,
Object scriptObject,
CallConfiguration callConfig,
ISourcePosition position,
String parameterDesc,
MethodNodes methodNodes)
Use reflection to provide a method handle for a compiled Ruby method.
|
DynamicMethod |
InvokeDynamicMethodFactory.getCompiledMethodLazily(RubyModule implementationClass,
String rubyName,
String javaName,
Visibility visibility,
StaticScope scope,
Object scriptObject,
CallConfiguration callConfig,
ISourcePosition position,
String parameterDesc,
MethodNodes methodNodes)
Use code generation to provide a method handle for a compiled Ruby method.
|
DynamicMethod |
InvocationMethodFactory.getCompiledMethodLazily(RubyModule implementationClass,
String rubyName,
String javaName,
Visibility visibility,
StaticScope scope,
Object scriptObject,
CallConfiguration callConfig,
ISourcePosition position,
String parameterDesc,
MethodNodes methodNodes)
Use code generation to provide a method handle for a compiled Ruby method.
|
byte[] |
InvokeDynamicMethodFactory.getCompiledMethodOffline(String rubyName,
String javaName,
String className,
String invokerPath,
StaticScope scope,
CallConfiguration callConfig,
String filename,
int line,
MethodNodes methodNodes) |
byte[] |
InvocationMethodFactory.getCompiledMethodOffline(String RubyName,
String method,
String className,
String invokerPath,
StaticScope scope,
CallConfiguration callConfig,
String filename,
int line,
MethodNodes methodNodes)
Use code generation to provide a method handle for a compiled Ruby method.
|
void |
JavaMethod.init(RubyModule implementationClass,
Arity arity,
Visibility visibility,
StaticScope staticScope,
CallConfiguration callConfig) |
protected void |
CompiledMethod.init(RubyModule implementationClass,
Visibility visibility,
StaticScope staticScope,
Object scriptObject,
CallConfiguration callConfig,
ISourcePosition position,
String parameterDesc) |
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) |
Constructor and Description |
---|
CompiledMethod.LazyCompiledMethod(RubyModule implementationClass,
String rubyName,
String javaName,
Visibility visibility,
StaticScope scope,
Object scriptObject,
CallConfiguration callConfig,
ISourcePosition position,
String parameterDesc,
MethodFactory factory,
MethodNodes methodNodes) |
ReflectedCompiledMethod(RubyModule implementationClass,
Visibility visibility,
StaticScope staticScope,
Object scriptObject,
Method method,
CallConfiguration callConfig,
ISourcePosition position,
String parameterDesc) |
Modifier and Type | Method and Description |
---|---|
StaticScope |
IRScope.getStaticScope() |
Constructor and Description |
---|
IRBindingEvalScript(IRManager manager,
IRScope lexicalParent,
String fileName,
int lineNumber,
StaticScope staticScope,
EvalType evalType) |
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 |
MatchInstr.interpret(ThreadContext context,
StaticScope currScope,
DynamicScope currDynScope,
IRubyObject self,
Object[] temp) |
Object |
Match3Instr.interpret(ThreadContext context,
StaticScope currScope,
DynamicScope currDynScope,
IRubyObject self,
Object[] temp) |
Object |
Match2Instr.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[] 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[] 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[] 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[] 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[] 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 BlockBody |
Helpers.createCompiledBlockBody(ThreadContext context,
Object scriptObject,
StaticScope scope,
String descriptor) |
static BlockBody |
Helpers.createCompiledBlockBody(ThreadContext context,
Object scriptObject,
String closureMethod,
int arity,
StaticScope staticScope,
boolean hasMultipleArgsHead,
int argsNodeType,
String file,
int line,
boolean light) |
static BlockBody |
Helpers.createCompiledBlockBody19(ThreadContext context,
Object scriptObject,
StaticScope scope,
String descriptor) |
static BlockBody |
Helpers.createCompiledBlockBody19(ThreadContext context,
Object scriptObject,
String closureMethod,
int arity,
StaticScope staticScope,
boolean hasMultipleArgsHead,
int argsNodeType,
String file,
int line,
boolean light,
String parameterList) |
static IRubyObject |
Helpers.declareClassVariable(Ruby runtime,
StaticScope scope,
IRubyObject self,
String name,
IRubyObject value) |
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) |
static IRubyObject |
Helpers.fetchClassVariable(Ruby runtime,
StaticScope scope,
IRubyObject self,
String name) |
abstract DynamicMethod |
MethodFactory.getCompiledMethod(RubyModule implementationClass,
String rubyName,
String javaName,
Visibility visibility,
StaticScope scope,
Object scriptObject,
CallConfiguration callConfig,
ISourcePosition position,
String parameterDesc,
MethodNodes methodNodes)
Get a new method handle based on the target JRuby-compiled method.
|
abstract DynamicMethod |
MethodFactory.getCompiledMethodLazily(RubyModule implementationClass,
String rubyName,
String javaName,
Visibility visibility,
StaticScope scope,
Object scriptObject,
CallConfiguration callConfig,
ISourcePosition position,
String parameterDesc,
MethodNodes methodNodes)
Like getCompiledMethod, but postpones any heavy lifting involved in
creating the method until first invocation.
|
byte[] |
MethodFactory.getCompiledMethodOffline(String rubyName,
String javaName,
String classPath,
String invokerPath,
StaticScope scope,
CallConfiguration callConfig,
String filename,
int line,
MethodNodes methodNodes)
Like getCompiledMethod, but produces the actual bytes for the compiled
method handle rather than loading and constructing it.
|
DynamicScope |
Binding.getDummyScope(StaticScope staticScope) |
static RubyModule |
Helpers.getNthScopeModule(StaticScope scope,
int depth) |
static BlockBody |
CompiledBlock19.newCompiledBlock(Arity arity,
StaticScope scope,
CompiledBlockCallback19 callback,
boolean hasMultipleArgsHead,
int argumentType,
String[] parameterList) |
static BlockBody |
CompiledBlock.newCompiledBlock(Arity arity,
StaticScope scope,
CompiledBlockCallback callback,
boolean hasMultipleArgsHead,
int argumentType) |
static BlockBody |
CompiledBlockLight19.newCompiledBlockLight(Arity arity,
StaticScope scope,
CompiledBlockCallback19 callback,
boolean hasMultipleArgsHead,
int argumentType,
String[] parameterList)
Deprecated.
|
static BlockBody |
CompiledBlockLight.newCompiledBlockLight(Arity arity,
StaticScope scope,
CompiledBlockCallback callback,
boolean hasMultipleArgsHead,
int argumentType) |
static BlockBody |
CompiledBlockLight19.newCompiledBlockLight(Signature signature,
StaticScope scope,
CompiledBlockCallback19 callback,
boolean hasMultipleArgsHead,
int argumentType,
String[] parameterList)
Deprecated.
|
static Block |
CompiledBlock19.newCompiledClosure(ThreadContext context,
IRubyObject self,
Arity arity,
StaticScope scope,
CompiledBlockCallback19 callback,
boolean hasMultipleArgsHead,
int argumentType)
Deprecated.
|
static Block |
CompiledBlock.newCompiledClosure(ThreadContext context,
IRubyObject self,
Arity arity,
StaticScope scope,
CompiledBlockCallback callback,
boolean hasMultipleArgsHead,
int argumentType)
Deprecated.
|
static Block |
CompiledBlock.newCompiledClosure(ThreadContext context,
IRubyObject self,
Signature signature,
StaticScope scope,
CompiledBlockCallback callback,
boolean hasMultipleArgsHead,
int argumentType) |
static Block |
CompiledBlockLight19.newCompiledClosureLight(ThreadContext context,
IRubyObject self,
Arity arity,
StaticScope scope,
CompiledBlockCallback19 callback,
boolean hasMultipleArgsHead,
int argumentType)
Deprecated.
|
static Block |
CompiledBlockLight.newCompiledClosureLight(ThreadContext context,
IRubyObject self,
Arity arity,
StaticScope scope,
CompiledBlockCallback callback,
boolean hasMultipleArgsHead,
int argumentType) |
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) |
static IRubyObject |
Helpers.setClassVariable(Ruby runtime,
StaticScope scope,
IRubyObject self,
String name,
IRubyObject value) |
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 |
---|
CompiledBlock(Arity arity,
StaticScope scope,
CompiledBlockCallback callback,
boolean hasMultipleArgsHead,
int argumentType) |
CompiledBlock(Signature signature,
StaticScope scope,
CompiledBlockCallback callback,
boolean hasMultipleArgsHead,
int argumentType) |
CompiledBlock19(Arity arity,
StaticScope scope,
CompiledBlockCallback19 callback,
boolean hasMultipleArgsHead,
int argumentType,
String[] parameterList)
Deprecated.
|
CompiledBlock19(Signature signature,
StaticScope scope,
CompiledBlockCallback19 callback,
boolean hasMultipleArgsHead,
int argumentType,
String[] parameterList) |
CompiledBlockLight(Arity arity,
StaticScope scope,
CompiledBlockCallback callback,
boolean hasMultipleArgsHead,
int argumentType) |
CompiledBlockLight19(Arity arity,
StaticScope scope,
CompiledBlockCallback19 callback,
boolean hasMultipleArgsHead,
int argumentType,
String[] parameterList)
Deprecated.
|
CompiledBlockLight19(Signature signature,
StaticScope scope,
CompiledBlockCallback19 callback,
boolean hasMultipleArgsHead,
int argumentType,
String[] parameterList)
Deprecated.
|
ContextAwareBlockBody(StaticScope scope,
Arity arity,
int argumentType) |
ContextAwareBlockBody(StaticScope scope,
Signature signature,
int argumentType) |
DynamicScope(StaticScope staticScope) |
DynamicScope(StaticScope staticScope,
DynamicScope parent) |
IRBlockBody(StaticScope staticScope,
String[] parameterList,
String fileName,
int lineNumber,
Signature signature) |
MethodBlock(RubyMethod method,
StaticScope staticScope) |
Modifier and Type | Method and Description |
---|---|
static StaticScope |
InvokeDynamicSupport.initStaticScope(java.lang.invoke.MutableCallSite site,
AbstractScript script,
ThreadContext context,
StaticScope parent,
String staticScope,
int index) |
static StaticScope |
InvokeDynamicSupport.loadStaticScope(java.lang.invoke.MutableCallSite site,
AbstractScript script,
int index) |
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 BlockBody |
InvokeDynamicSupport.initBlockBody(java.lang.invoke.MutableCallSite site,
Object scriptObject,
ThreadContext context,
StaticScope scope,
String descriptor) |
static BlockBody |
InvokeDynamicSupport.initBlockBody19(java.lang.invoke.MutableCallSite site,
Object scriptObject,
ThreadContext context,
StaticScope scope,
String descriptor) |
static StaticScope |
InvokeDynamicSupport.initStaticScope(java.lang.invoke.MutableCallSite site,
AbstractScript script,
ThreadContext context,
StaticScope parent,
String staticScope,
int index) |
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.