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.
|
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 |
---|---|
void |
VariableCompiler.beginClass(StaticScope scope) |
void |
VariableCompiler.beginClosure(CompilerCallback argsCallback,
StaticScope scope) |
void |
VariableCompiler.beginFlatClosure(CompilerCallback argsCallback,
StaticScope scope) |
void |
VariableCompiler.beginMethod(CompilerCallback argsCallback,
StaticScope scope) |
int |
CacheCompiler.cacheClosure(BaseBodyCompiler method,
String closureMethod,
int arity,
StaticScope scope,
String file,
int line,
boolean hasMultipleArgsHead,
NodeType argsNodeId,
ASTInspector inspector) |
int |
CacheCompiler.cacheClosure19(BaseBodyCompiler method,
String closureMethod,
int arity,
StaticScope scope,
String file,
int line,
boolean hasMultipleArgsHead,
NodeType argsNodeId,
String parameterList,
ASTInspector inspector) |
int |
CacheCompiler.cacheStaticScope(BaseBodyCompiler method,
StaticScope scope) |
void |
BodyCompiler.createNewClosure(String file,
int line,
StaticScope scope,
int arity,
CompilerCallback body,
CompilerCallback args,
boolean hasMultipleArgsHead,
NodeType argsNodeId,
ASTInspector inspector)
Create a new closure (block) using the given lexical scope information, call arity, and
body generated by the body callback.
|
void |
BodyCompiler.createNewClosure19(String file,
int line,
StaticScope scope,
int arity,
CompilerCallback body,
CompilerCallback args,
boolean hasMultipleArgsHead,
NodeType argsNodeId,
String parameterList,
ASTInspector inspector)
Create a new closure (block) using the given lexical scope information, call arity, and
body generated by the body callback.
|
void |
VariableCompiler.declareLocals(StaticScope scope,
org.objectweb.asm.Label start,
org.objectweb.asm.Label end) |
void |
BodyCompiler.defineClass(String name,
StaticScope staticScope,
CompilerCallback superCallback,
CompilerCallback pathCallback,
CompilerCallback bodyCallback,
CompilerCallback receiverCallback,
ASTInspector inspector) |
void |
BodyCompiler.defineModule(String name,
StaticScope staticScope,
CompilerCallback pathCallback,
CompilerCallback bodyCallback,
ASTInspector inspector) |
void |
BodyCompiler.defineNewMethod(String name,
int methodArity,
StaticScope scope,
CompilerCallback body,
CompilerCallback args,
CompilerCallback receiver,
ASTInspector inspector,
boolean root,
String filename,
int line,
String parameterDesc)
Define a new method with the given name, arity, local variable count, and body callback.
|
void |
BodyCompiler.runBeginBlock(StaticScope scope,
CompilerCallback body) |
BodyCompiler |
ScriptCompiler.startFileMethod(CompilerCallback args,
StaticScope scope,
ASTInspector inspector)
Begin compilation for the root of a script named __file__.
|
BodyCompiler |
ScriptCompiler.startMethod(String rubyName,
String javaName,
CompilerCallback argsHandler,
StaticScope scope,
ASTInspector inspector,
int scopeIndex)
Begin compilation for a method that has the specified number of local variables.
|
void |
ScriptCompiler.startScript(StaticScope scope)
Begin compilation for a script, preparing all necessary context and code
to support this script's compiled representation.
|
Modifier and Type | Field and Description |
---|---|
protected StaticScope |
BaseBodyCompiler.scope |
protected StaticScope |
AbstractVariableCompiler.scope |
Modifier and Type | Method and Description |
---|---|
StaticScope |
StandardASMCompiler.InvokerDescriptor.getScope() |
Modifier and Type | Method and Description |
---|---|
void |
StandardASMCompiler.addInvokerDescriptor(String rubyName,
String newMethodName,
int methodArity,
StaticScope scope,
CallConfiguration callConfig,
String filename,
int line) |
void |
ChildScopedBodyCompiler.beginClass(CompilerCallback bodyPrep,
StaticScope scope) |
void |
StackBasedVariableCompiler.beginClass(StaticScope scope) |
void |
HeapBasedVariableCompiler.beginClass(StaticScope scope) |
void |
StackBasedVariableCompiler.beginClosure(CompilerCallback argsCallback,
StaticScope scope) |
void |
HeapBasedVariableCompiler.beginClosure(CompilerCallback argsCallback,
StaticScope scope) |
void |
StackBasedVariableCompiler.beginFlatClosure(CompilerCallback argsCallback,
StaticScope scope) |
void |
HeapBasedVariableCompiler.beginFlatClosure(CompilerCallback argsCallback,
StaticScope scope) |
void |
StackBasedVariableCompiler.beginMethod(CompilerCallback argsCallback,
StaticScope scope) |
void |
RootScopedBodyCompiler.beginMethod(CompilerCallback args,
StaticScope scope) |
void |
MethodBodyCompiler.beginMethod(CompilerCallback args,
StaticScope scope) |
void |
HeapBasedVariableCompiler.beginMethod(CompilerCallback argsCallback,
StaticScope scope) |
void |
ClassBodyCompiler.beginMethod(CompilerCallback bodyPrep,
StaticScope scope) |
void |
ChildScopedBodyCompiler.beginMethod(CompilerCallback args,
StaticScope scope) |
abstract void |
BaseBodyCompiler.beginMethod(CompilerCallback args,
StaticScope scope) |
static String |
StandardASMCompiler.buildStaticScopeNames(StaticScope scope) |
int |
InvokeDynamicCacheCompiler.cacheClosure(BaseBodyCompiler method,
String closureMethod,
int arity,
StaticScope scope,
String file,
int line,
boolean hasMultipleArgsHead,
NodeType argsNodeId,
ASTInspector inspector)
Cache a closure body (BlockBody) using invokedynamic.
|
int |
InheritedCacheCompiler.cacheClosure(BaseBodyCompiler method,
String closureMethod,
int arity,
StaticScope scope,
String file,
int line,
boolean hasMultipleArgsHead,
NodeType argsNodeId,
ASTInspector inspector) |
int |
InvokeDynamicCacheCompiler.cacheClosure19(BaseBodyCompiler method,
String closureMethod,
int arity,
StaticScope scope,
String file,
int line,
boolean hasMultipleArgsHead,
NodeType argsNodeId,
String parameterList,
ASTInspector inspector)
Cache a closure body (BlockBody) for 1.9 mode using invokedynamic.
|
int |
InheritedCacheCompiler.cacheClosure19(BaseBodyCompiler method,
String closureMethod,
int arity,
StaticScope scope,
String file,
int line,
boolean hasMultipleArgsHead,
NodeType argsNodeId,
String parameterList,
ASTInspector inspector) |
int |
InvokeDynamicCacheCompiler.cacheStaticScope(BaseBodyCompiler method,
StaticScope scope)
Cache a StaticScope using invokedynamic.
|
int |
InheritedCacheCompiler.cacheStaticScope(BaseBodyCompiler method,
StaticScope scope) |
void |
BaseBodyCompiler.createNewClosure(String file,
int line,
StaticScope scope,
int arity,
CompilerCallback body,
CompilerCallback args,
boolean hasMultipleArgsHead,
NodeType argsNodeId,
ASTInspector inspector) |
void |
BaseBodyCompiler.createNewClosure19(String file,
int line,
StaticScope scope,
int arity,
CompilerCallback body,
CompilerCallback args,
boolean hasMultipleArgsHead,
NodeType argsNodeId,
String parameterList,
ASTInspector inspector) |
void |
StackBasedVariableCompiler.declareLocals(StaticScope scope,
org.objectweb.asm.Label start,
org.objectweb.asm.Label end) |
void |
HeapBasedVariableCompiler.declareLocals(StaticScope scope,
org.objectweb.asm.Label start,
org.objectweb.asm.Label end) |
void |
BaseBodyCompiler.defineClass(String name,
StaticScope staticScope,
CompilerCallback superCallback,
CompilerCallback pathCallback,
CompilerCallback bodyCallback,
CompilerCallback receiverCallback,
ASTInspector inspector) |
void |
BaseBodyCompiler.defineModule(String name,
StaticScope staticScope,
CompilerCallback pathCallback,
CompilerCallback bodyCallback,
ASTInspector inspector) |
void |
BaseBodyCompiler.defineNewMethod(String name,
int methodArity,
StaticScope scope,
CompilerCallback body,
CompilerCallback args,
CompilerCallback receiver,
ASTInspector inspector,
boolean root,
String filename,
int line,
String parameterDesc) |
protected int |
ChildScopedBodyCompiler.getActualArgsCount(StaticScope scope) |
protected int |
BaseBodyCompiler.getActualArgsCount(StaticScope scope) |
void |
BaseBodyCompiler.runBeginBlock(StaticScope scope,
CompilerCallback body) |
protected boolean |
BaseBodyCompiler.shouldUseBoxedArgs(StaticScope scope) |
BodyCompiler |
StandardASMCompiler.startFileMethod(CompilerCallback args,
StaticScope scope,
ASTInspector inspector) |
BodyCompiler |
StandardASMCompiler.startMethod(String rubyName,
String javaName,
CompilerCallback args,
StaticScope scope,
ASTInspector inspector,
int scopeIndex) |
void |
StandardASMCompiler.startScript(StaticScope scope) |
Constructor and Description |
---|
AbstractVariableCompiler(BaseBodyCompiler methodCompiler,
SkinnyMethodAdapter method,
StaticScope scope,
boolean specificArity,
int argsIndex,
int firstTempIndex) |
BaseBodyCompiler(StandardASMCompiler scriptCompiler,
String methodName,
String rubyName,
ASTInspector inspector,
StaticScope scope,
int scopeIndex) |
ChainedChildBodyCompiler(StandardASMCompiler scriptCompiler,
String methodName,
String rubyName,
ASTInspector inspector,
StaticScope scope,
ChildScopedBodyCompiler parent) |
ChainedChildBodyCompiler19(StandardASMCompiler scriptCompiler,
String methodName,
String rubyName,
ASTInspector inspector,
StaticScope scope,
ChildScopedBodyCompiler parent) |
ChainedRootBodyCompiler(StandardASMCompiler scriptCompiler,
String methodName,
String rubyName,
ASTInspector inspector,
StaticScope scope,
RootScopedBodyCompiler parent) |
ChildScopedBodyCompiler(StandardASMCompiler scriptCompiler,
String closureMethodName,
String rubyName,
ASTInspector inspector,
StaticScope scope,
int scopeIndex) |
ChildScopedBodyCompiler19(StandardASMCompiler scriptCompiler,
String closureMethodName,
String rubyName,
ASTInspector inspector,
StaticScope scope,
int scopeIndex) |
ClassBodyCompiler(StandardASMCompiler scriptCompiler,
String friendlyName,
String rubyName,
ASTInspector inspector,
StaticScope scope,
int scopeIndex) |
HeapBasedVariableCompiler(BaseBodyCompiler methodCompiler,
SkinnyMethodAdapter method,
StaticScope scope,
boolean specificArity,
int argsIndex,
int firstTempIndex) |
MethodBodyCompiler(StandardASMCompiler scriptCompiler,
String rubyName,
String javaName,
ASTInspector inspector,
StaticScope scope,
int scopeIndex) |
RootScopedBodyCompiler(StandardASMCompiler scriptCompiler,
String friendlyName,
String rubyName,
ASTInspector inspector,
StaticScope scope,
int scopeIndex) |
StackBasedVariableCompiler(BaseBodyCompiler methodCompiler,
SkinnyMethodAdapter method,
StaticScope scope,
boolean specificArity,
int argsIndex,
int firstTempIndex) |
StandardASMCompiler.InvokerDescriptor(String rubyName,
String javaName,
String classname,
Arity arity,
StaticScope scope,
CallConfiguration callConfig,
String file,
int line) |
Modifier and Type | Method and Description |
---|---|
static IRubyObject |
ASTInterpreter.evalClassDefinitionBody(Ruby runtime,
ThreadContext context,
StaticScope scope,
Node bodyNode,
RubyModule type,
IRubyObject self,
Block block)
Evaluates the body in a class or module definition statement.
|
static RubyModule |
ASTInterpreter.getClassVariableBase(Ruby runtime,
StaticScope scope) |
Modifier and Type | Field and Description |
---|---|
protected StaticScope |
JavaMethod.staticScope |
Modifier and Type | Method and Description |
---|---|
StaticScope |
TraceableJittedMethod.getStaticScope() |
StaticScope |
JittedMethod.getStaticScope() |
StaticScope |
JavaMethod.getStaticScope() |
StaticScope |
InterpretedMethod.getStaticScope() |
StaticScope |
DefaultMethod.getStaticScope() |
StaticScope |
CompiledIRMethod.getStaticScope() |
Modifier and Type | Method and Description |
---|---|
DynamicMethod |
ReflectionMethodFactory.getCompiledMethod(RubyModule implementationClass,
String rubyName,
String javaName,
Arity arity,
Visibility visibility,
StaticScope scope,
Object scriptObject,
CallConfiguration callConfig,
ISourcePosition position,
String parameterDesc)
Use reflection to provide a method handle for a compiled Ruby method.
|
DynamicMethod |
InvokeDynamicMethodFactory.getCompiledMethod(RubyModule implementationClass,
String rubyName,
String javaName,
Arity arity,
Visibility visibility,
StaticScope scope,
Object scriptObject,
CallConfiguration callConfig,
ISourcePosition position,
String parameterDesc)
Use JSR292 to provide a method handle for a compiled Ruby method.
|
DynamicMethod |
InvocationMethodFactory.getCompiledMethod(RubyModule implementationClass,
String rubyName,
String javaName,
Arity arity,
Visibility visibility,
StaticScope scope,
Object scriptObject,
CallConfiguration callConfig,
ISourcePosition position,
String parameterDesc)
Use code generation to provide a method handle for a compiled Ruby method.
|
DynamicMethod |
ReflectionMethodFactory.getCompiledMethodLazily(RubyModule implementationClass,
String rubyName,
String javaName,
Arity arity,
Visibility visibility,
StaticScope scope,
Object scriptObject,
CallConfiguration callConfig,
ISourcePosition position,
String parameterDesc)
Use reflection to provide a method handle for a compiled Ruby method.
|
DynamicMethod |
InvokeDynamicMethodFactory.getCompiledMethodLazily(RubyModule implementationClass,
String rubyName,
String javaName,
Arity arity,
Visibility visibility,
StaticScope scope,
Object scriptObject,
CallConfiguration callConfig,
ISourcePosition position,
String parameterDesc)
Use code generation to provide a method handle for a compiled Ruby method.
|
DynamicMethod |
InvocationMethodFactory.getCompiledMethodLazily(RubyModule implementationClass,
String rubyName,
String javaName,
Arity arity,
Visibility visibility,
StaticScope scope,
Object scriptObject,
CallConfiguration callConfig,
ISourcePosition position,
String parameterDesc)
Use code generation to provide a method handle for a compiled Ruby method.
|
byte[] |
InvokeDynamicMethodFactory.getCompiledMethodOffline(String rubyName,
String javaName,
String className,
String invokerPath,
Arity arity,
StaticScope scope,
CallConfiguration callConfig,
String filename,
int line) |
byte[] |
InvocationMethodFactory.getCompiledMethodOffline(String RubyName,
String method,
String className,
String invokerPath,
Arity arity,
StaticScope scope,
CallConfiguration callConfig,
String filename,
int line)
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,
Arity arity,
Visibility visibility,
StaticScope staticScope,
Object scriptObject,
CallConfiguration callConfig,
ISourcePosition position,
String parameterDesc) |
static DynamicMethod |
DynamicMethodFactory.newDefaultMethod(Ruby runtime,
RubyModule container,
String name,
StaticScope scope,
Node body,
ArgsNode argsNode,
Visibility visibility,
ISourcePosition position) |
static InterpretedMethod |
DynamicMethodFactory.newInterpretedMethod(Ruby runtime,
RubyModule container,
StaticScope scope,
Node body,
String name,
ArgsNode argsNode,
Visibility visibility,
ISourcePosition position) |
static DynamicMethod |
DynamicMethodFactory.newJittedMethod(Ruby runtime,
RubyModule container,
StaticScope scope,
Script script,
String name,
CallConfiguration config,
Visibility visibility,
Arity arity,
ISourcePosition position,
DefaultMethod defaultMethod) |
Constructor and Description |
---|
CompiledIRMethod(java.lang.invoke.MethodHandle method,
String name,
String file,
int line,
StaticScope scope,
Visibility visibility,
RubyModule implementationClass) |
CompiledMethod.LazyCompiledMethod(RubyModule implementationClass,
String rubyName,
String javaName,
Arity arity,
Visibility visibility,
StaticScope scope,
Object scriptObject,
CallConfiguration callConfig,
ISourcePosition position,
String parameterDesc,
MethodFactory factory) |
DefaultMethod(RubyModule implementationClass,
StaticScope staticScope,
Node body,
String name,
ArgsNode argsNode,
Visibility visibility,
ISourcePosition position) |
InterpretedMethod(RubyModule implementationClass,
StaticScope staticScope,
Node body,
String name,
ArgsNode argsNode,
Visibility visibility,
ISourcePosition position) |
JittedMethod(RubyModule implementationClass,
StaticScope staticScope,
Script jitCompiledScript,
String name,
CallConfiguration jitCallConfig,
Visibility visibility,
Arity arity,
ISourcePosition position,
DefaultMethod realMethod) |
ReflectedCompiledMethod(RubyModule implementationClass,
Arity arity,
Visibility visibility,
StaticScope staticScope,
Object scriptObject,
Method method,
CallConfiguration callConfig,
ISourcePosition position,
String parameterDesc) |
TraceableInterpretedMethod(RubyModule implementationClass,
StaticScope staticScope,
Node body,
String name,
ArgsNode argsNode,
Visibility visibility,
ISourcePosition position) |
TraceableJittedMethod(RubyModule implementationClass,
StaticScope staticScope,
Script jitCompiledScript,
String name,
CallConfiguration jitCallConfig,
Visibility visibility,
Arity arity,
ISourcePosition position,
DefaultMethod realMethod) |
Modifier and Type | Method and Description |
---|---|
StaticScope |
IRScope.getStaticScope() |
Modifier and Type | Method and Description |
---|---|
IREvalScript |
IRBuilder.buildEvalRoot(StaticScope staticScope,
IRScope containingScope,
String file,
int lineNumber,
RootNode rootNode) |
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,
boolean isForLoopBody,
int lineNumber,
StaticScope staticScope,
Arity arity,
int argumentType,
boolean is1_8) |
IRClosure(IRManager manager,
IRScope lexicalParent,
String fileName,
int lineNumber,
StaticScope staticScope,
String prefix) |
IREvalScript(IRManager manager,
IRScope lexicalParent,
String fileName,
int lineNumber,
StaticScope staticScope) |
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,
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 scope) |
IRScope(IRManager manager,
IRScope lexicalParent,
String name,
String fileName,
int lineNumber,
StaticScope staticScope) |
IRScriptBody(IRManager manager,
String className,
String sourceName,
StaticScope staticScope) |
Modifier and Type | Method and Description |
---|---|
static IRubyObject |
Bootstrap.searchConst(java.lang.invoke.MutableCallSite site,
String constName,
ThreadContext context,
StaticScope staticScope) |
Modifier and Type | Class and Description |
---|---|
class |
BlockStaticScope |
class |
EvalStaticScope
This scope is used solely for evals.
|
class |
IRStaticScope |
class |
LocalStaticScope |
Modifier and Type | Field and Description |
---|---|
protected StaticScope |
ParserSupport.currentScope |
protected StaticScope |
StaticScope.enclosingScope |
Modifier and Type | Method and Description |
---|---|
StaticScope |
ParserSupport.getCurrentScope() |
StaticScope |
StaticScopeFactory.getDummyScope() |
StaticScope |
StaticScope.getEnclosingScope()
Next outer most scope in list of scopes.
|
abstract StaticScope |
StaticScope.getLocalScope()
Gets the Local Scope relative to the current Scope.
|
StaticScope |
LocalStaticScope.getLocalScope() |
StaticScope |
IRStaticScope.getLocalScope() |
StaticScope |
EvalStaticScope.getLocalScope() |
StaticScope |
BlockStaticScope.getLocalScope() |
StaticScope |
StaticScope.getPreviousCRefScope() |
StaticScope |
StaticScopeFactory.newBlockScope(StaticScope parent) |
StaticScope |
IRStaticScopeFactory.newBlockScope(StaticScope parent) |
StaticScope |
StaticScopeFactory.newBlockScope(StaticScope parent,
String[] names) |
StaticScope |
IRStaticScopeFactory.newBlockScope(StaticScope parent,
String[] names) |
StaticScope |
StaticScopeFactory.newEvalScope(StaticScope parent) |
StaticScope |
IRStaticScopeFactory.newEvalScope(StaticScope parent) |
StaticScope |
StaticScopeFactory.newEvalScope(StaticScope parent,
String[] names) |
StaticScope |
IRStaticScopeFactory.newEvalScope(StaticScope parent,
String[] names) |
static StaticScope |
IRStaticScopeFactory.newIRBlockScope(StaticScope parent) |
static StaticScope |
IRStaticScopeFactory.newIREvalScope(StaticScope parent) |
static StaticScope |
IRStaticScopeFactory.newIRLocalScope(StaticScope parent) |
StaticScope |
StaticScopeFactory.newLocalScope(StaticScope parent) |
StaticScope |
IRStaticScopeFactory.newLocalScope(StaticScope parent) |
StaticScope |
StaticScopeFactory.newLocalScope(StaticScope parent,
String[] names) |
StaticScope |
IRStaticScopeFactory.newLocalScope(StaticScope parent,
String[] names) |
Modifier and Type | Method and Description |
---|---|
protected abstract AssignableNode |
StaticScope.assign(ISourcePosition position,
String name,
Node value,
StaticScope topScope,
int depth) |
AssignableNode |
LocalStaticScope.assign(ISourcePosition position,
String name,
Node value,
StaticScope topScope,
int depth) |
AssignableNode |
IRStaticScope.assign(ISourcePosition position,
String name,
Node value,
StaticScope topScope,
int depth) |
protected AssignableNode |
BlockStaticScope.assign(ISourcePosition position,
String name,
Node value,
StaticScope topScope,
int depth) |
IterNode |
ParserSupport.new_iter(ISourcePosition position,
Node vars,
StaticScope scope,
Node body) |
StaticScope |
StaticScopeFactory.newBlockScope(StaticScope parent) |
StaticScope |
IRStaticScopeFactory.newBlockScope(StaticScope parent) |
StaticScope |
StaticScopeFactory.newBlockScope(StaticScope parent,
String[] names) |
StaticScope |
IRStaticScopeFactory.newBlockScope(StaticScope parent,
String[] names) |
StaticScope |
StaticScopeFactory.newEvalScope(StaticScope parent) |
StaticScope |
IRStaticScopeFactory.newEvalScope(StaticScope parent) |
StaticScope |
StaticScopeFactory.newEvalScope(StaticScope parent,
String[] names) |
StaticScope |
IRStaticScopeFactory.newEvalScope(StaticScope parent,
String[] names) |
static StaticScope |
IRStaticScopeFactory.newIRBlockScope(StaticScope parent) |
static StaticScope |
IRStaticScopeFactory.newIREvalScope(StaticScope parent) |
static StaticScope |
IRStaticScopeFactory.newIRLocalScope(StaticScope parent) |
StaticScope |
StaticScopeFactory.newLocalScope(StaticScope parent) |
StaticScope |
IRStaticScopeFactory.newLocalScope(StaticScope parent) |
StaticScope |
StaticScopeFactory.newLocalScope(StaticScope parent,
String[] names) |
StaticScope |
IRStaticScopeFactory.newLocalScope(StaticScope parent,
String[] names) |
void |
StaticScope.setPreviousCRefScope(StaticScope crefScope) |
Constructor and Description |
---|
BlockStaticScope(StaticScope parentScope) |
BlockStaticScope(StaticScope parentScope,
String[] names) |
EvalStaticScope(StaticScope parentScope) |
EvalStaticScope(StaticScope parentScope,
String[] names) |
IRStaticScope(StaticScope enclosingScope,
boolean isBlock,
boolean isEval) |
IRStaticScope(StaticScope enclosingScope,
String[] names,
boolean isBlock,
boolean isEval) |
LocalStaticScope(StaticScope enclosingScope) |
LocalStaticScope(StaticScope enclosingScope,
String[] names) |
StaticScope(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.decodeBlockScope(ThreadContext context,
String scopeString)
Deprecated.
|
static StaticScope |
Helpers.decodeLocalScope(ThreadContext context,
StaticScope parent,
String scopeString)
Deprecated.
|
static StaticScope |
Helpers.decodeLocalScope(ThreadContext context,
String scopeString)
Deprecated.
|
static StaticScope |
Helpers.decodeRootScope(ThreadContext context,
String scopeString)
Deprecated.
|
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) |
static StaticScope |
Helpers.preLoad(ThreadContext context,
String scopeString,
boolean wrap) |
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.decodeLocalScope(ThreadContext context,
StaticScope parent,
String scopeString)
Deprecated.
|
static StaticScope |
Helpers.decodeScope(ThreadContext context,
StaticScope parent,
String scopeString) |
static StaticScope |
Helpers.decodeScopeAndDetermineModule(ThreadContext context,
StaticScope parent,
String scopeString) |
static IRubyObject |
Helpers.def(ThreadContext context,
IRubyObject self,
Object scriptObject,
String rubyName,
String javaName,
StaticScope scope,
int arity,
String filename,
int line,
CallConfiguration callConfig,
String parameterDesc) |
static byte[] |
Helpers.defOffline(String rubyName,
String javaName,
String classPath,
String invokerName,
Arity arity,
StaticScope scope,
CallConfiguration callConfig,
String filename,
int line) |
static IRubyObject |
Helpers.defs(ThreadContext context,
IRubyObject self,
IRubyObject receiver,
Object scriptObject,
String rubyName,
String javaName,
StaticScope scope,
int arity,
String filename,
int line,
CallConfiguration callConfig,
String parameterDesc) |
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,
Arity arity,
Visibility visibility,
StaticScope scope,
Object scriptObject,
CallConfiguration callConfig,
ISourcePosition position,
String parameterDesc)
Get a new method handle based on the target JRuby-compiled method.
|
abstract DynamicMethod |
MethodFactory.getCompiledMethodLazily(RubyModule implementationClass,
String rubyName,
String javaName,
Arity arity,
Visibility visibility,
StaticScope scope,
Object scriptObject,
CallConfiguration callConfig,
ISourcePosition position,
String parameterDesc)
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,
Arity arity,
StaticScope scope,
CallConfiguration callConfig,
String filename,
int line)
Like getCompiledMethod, but produces the actual bytes for the compiled
method handle rather than loading and constructing it.
|
DynamicScope |
Binding.getDummyScope(StaticScope staticScope) |
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) |
static BlockBody |
CompiledBlockLight.newCompiledBlockLight(Arity arity,
StaticScope scope,
CompiledBlockCallback callback,
boolean hasMultipleArgsHead,
int argumentType) |
static Block |
CompiledBlock19.newCompiledClosure(ThreadContext context,
IRubyObject self,
Arity arity,
StaticScope scope,
CompiledBlockCallback19 callback,
boolean hasMultipleArgsHead,
int argumentType) |
static Block |
CompiledBlock.newCompiledClosure(ThreadContext context,
IRubyObject self,
Arity arity,
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) |
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) |
void |
ThreadContext.preClassEval(StaticScope staticScope,
RubyModule type) |
void |
ThreadContext.preCompiledClass(RubyModule type,
StaticScope staticScope) |
void |
ThreadContext.preCompiledClassDummyScope(RubyModule type,
StaticScope staticScope) |
static void |
Helpers.preLoadCommon(ThreadContext context,
StaticScope staticScope,
boolean wrap) |
void |
ThreadContext.preMethodBacktraceAndScope(String name,
RubyModule clazz,
StaticScope staticScope) |
void |
ThreadContext.preMethodBacktraceDummyScope(RubyModule clazz,
String name,
StaticScope staticScope) |
void |
ThreadContext.preMethodFrameAndClass(RubyModule implClass,
String name,
IRubyObject self,
Block block,
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(RubyModule clazz,
StaticScope staticScope) |
void |
ThreadContext.preMethodScopeOnly(RubyModule clazz,
StaticScope staticScope) |
static RubyModule |
Helpers.prepareClassNamespace(ThreadContext context,
StaticScope scope,
IRubyObject rubyModule) |
void |
ThreadContext.preScopeNode(StaticScope staticScope) |
Frame |
ThreadContext.preYieldSpecificBlock(Binding binding,
StaticScope scope,
RubyModule klass) |
boolean |
ThreadContext.scopeExistsOnCallStack(StaticScope s)
Check if a static scope is present on the call stack.
|
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) |
CompiledBlock19(Arity arity,
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) |
ContextAwareBlockBody(StaticScope scope,
Arity arity,
int argumentType) |
DynamicScope(StaticScope staticScope) |
DynamicScope(StaticScope staticScope,
DynamicScope parent) |
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-2014 JRuby. All Rights Reserved.