|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of StaticScope in org.jruby.ast |
---|
Fields in org.jruby.ast declared as StaticScope | |
---|---|
protected StaticScope |
MethodDefNode.scope
|
Methods in org.jruby.ast that return StaticScope | |
---|---|
StaticScope |
ClassNode.getScope()
Get the static scoping information. |
StaticScope |
IterNode.getScope()
|
StaticScope |
MethodDefNode.getScope()
Get the static scoping information. |
StaticScope |
ModuleNode.getScope()
Get the static scoping information. |
StaticScope |
SClassNode.getScope()
Gets the scope of this class |
StaticScope |
RootNode.getStaticScope()
The static scoping relationships that should get set first thing before interpretation of the code represented by this AST. |
Constructors in org.jruby.ast with parameters of type StaticScope | |
---|---|
ClassNode(ISourcePosition position,
Colon3Node cpath,
StaticScope scope,
Node bodyNode,
Node superNode)
|
|
DefnNode(ISourcePosition position,
ArgumentNode nameNode,
ArgsNode argsNode,
StaticScope scope,
Node bodyNode,
Visibility visibility)
|
|
DefsNode(ISourcePosition position,
Node receiverNode,
ArgumentNode nameNode,
ArgsNode argsNode,
StaticScope scope,
Node bodyNode)
|
|
IterNode(ISourcePosition position,
Node varNode,
StaticScope scope,
Node bodyNode)
|
|
IterNode(ISourcePosition position,
Node varNode,
StaticScope scope,
Node bodyNode,
NodeType id)
|
|
MethodDefNode(ISourcePosition position,
ArgumentNode nameNode,
ArgsNode argsNode,
StaticScope scope,
Node bodyNode,
NodeType id)
|
|
ModuleNode(ISourcePosition position,
Colon3Node cpath,
StaticScope scope,
Node bodyNode)
|
|
PreExeNode(ISourcePosition position,
StaticScope scope,
Node body)
|
|
SClassNode(ISourcePosition position,
Node recvNode,
StaticScope scope,
Node bodyNode)
|
Uses of StaticScope in org.jruby.ast.executable |
---|
Methods in org.jruby.ast.executable with parameters of type StaticScope | |
---|---|
IRubyObject |
YARVMachine.exec(ThreadContext context,
StaticScope scope,
YARVMachine.Instruction[] bytecodes)
Top-level exec into YARV machine. |
Uses of StaticScope in org.jruby.ast.visitor.rewriter.utils |
---|
Methods in org.jruby.ast.visitor.rewriter.utils with parameters of type StaticScope | |
---|---|
void |
LocalVariables.addLocalVariable(StaticScope scope)
|
Uses of StaticScope in org.jruby.compiler |
---|
Methods in org.jruby.compiler with parameters of type StaticScope | |
---|---|
void |
VariableCompiler.beginClass(CompilerCallback bodyPrep,
StaticScope scope)
|
void |
VariableCompiler.beginClosure(CompilerCallback argsCallback,
StaticScope scope)
|
void |
VariableCompiler.beginMethod(CompilerCallback argsCallback,
StaticScope scope)
|
void |
MethodCompiler.createNewClosure(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 |
MethodCompiler.defineClass(java.lang.String name,
StaticScope staticScope,
CompilerCallback superCallback,
CompilerCallback pathCallback,
CompilerCallback bodyCallback,
CompilerCallback receiverCallback)
|
void |
MethodCompiler.defineModule(java.lang.String name,
StaticScope staticScope,
CompilerCallback pathCallback,
CompilerCallback bodyCallback)
|
void |
MethodCompiler.defineNewMethod(java.lang.String name,
int methodArity,
StaticScope scope,
CompilerCallback body,
CompilerCallback args,
CompilerCallback receiver,
ASTInspector inspector,
boolean root)
Define a new method with the given name, arity, local variable count, and body callback. |
void |
MethodCompiler.runBeginBlock(StaticScope scope,
CompilerCallback body)
|
MethodCompiler |
ScriptCompiler.startMethod(java.lang.String friendlyName,
CompilerCallback argsHandler,
StaticScope scope,
ASTInspector inspector)
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. |
Uses of StaticScope in org.jruby.compiler.impl |
---|
Methods in org.jruby.compiler.impl with parameters of type StaticScope | |
---|---|
void |
BoxedVariableCompiler.beginClass(CompilerCallback bodyPrep,
StaticScope scope)
|
void |
HeapBasedVariableCompiler.beginClass(CompilerCallback bodyPrep,
StaticScope scope)
|
void |
StackBasedVariableCompiler.beginClass(CompilerCallback bodyPrep,
StaticScope scope)
|
void |
StandardASMCompiler.ASMClosureCompiler.beginClass(CompilerCallback bodyPrep,
StaticScope scope)
|
void |
StandardASMCompiler.ASMMethodCompiler.beginClass(CompilerCallback bodyPrep,
StaticScope scope)
|
void |
BoxedVariableCompiler.beginClosure(CompilerCallback argsCallback,
StaticScope scope)
|
void |
HeapBasedVariableCompiler.beginClosure(CompilerCallback argsCallback,
StaticScope scope)
|
void |
StackBasedVariableCompiler.beginClosure(CompilerCallback argsCallback,
StaticScope scope)
|
void |
BoxedVariableCompiler.beginMethod(CompilerCallback argsCallback,
StaticScope scope)
|
void |
HeapBasedVariableCompiler.beginMethod(CompilerCallback argsCallback,
StaticScope scope)
|
void |
StackBasedVariableCompiler.beginMethod(CompilerCallback argsCallback,
StaticScope scope)
|
abstract void |
StandardASMCompiler.AbstractMethodCompiler.beginMethod(CompilerCallback args,
StaticScope scope)
|
void |
StandardASMCompiler.ASMClosureCompiler.beginMethod(CompilerCallback args,
StaticScope scope)
|
void |
StandardASMCompiler.ASMMethodCompiler.beginMethod(CompilerCallback args,
StaticScope scope)
|
void |
StandardASMCompiler.buildStaticScopeNames(SkinnyMethodAdapter method,
StaticScope scope)
|
void |
StandardASMCompiler.AbstractMethodCompiler.createNewClosure(int line,
StaticScope scope,
int arity,
CompilerCallback body,
CompilerCallback args,
boolean hasMultipleArgsHead,
NodeType argsNodeId,
ASTInspector inspector)
|
void |
StandardASMCompiler.AbstractMethodCompiler.defineClass(java.lang.String name,
StaticScope staticScope,
CompilerCallback superCallback,
CompilerCallback pathCallback,
CompilerCallback bodyCallback,
CompilerCallback receiverCallback)
|
void |
StandardASMCompiler.AbstractMethodCompiler.defineModule(java.lang.String name,
StaticScope staticScope,
CompilerCallback pathCallback,
CompilerCallback bodyCallback)
|
void |
StandardASMCompiler.AbstractMethodCompiler.defineNewMethod(java.lang.String name,
int methodArity,
StaticScope scope,
CompilerCallback body,
CompilerCallback args,
CompilerCallback receiver,
ASTInspector inspector,
boolean root)
|
void |
StandardASMCompiler.AbstractMethodCompiler.runBeginBlock(StaticScope scope,
CompilerCallback body)
|
MethodCompiler |
StandardASMCompiler.startMethod(java.lang.String friendlyName,
CompilerCallback args,
StaticScope scope,
ASTInspector inspector)
|
void |
StandardASMCompiler.startScript(StaticScope scope)
|
Uses of StaticScope in org.jruby.internal.runtime.methods |
---|
Fields in org.jruby.internal.runtime.methods declared as StaticScope | |
---|---|
protected StaticScope |
JavaMethod.staticScope
|
Methods in org.jruby.internal.runtime.methods that return StaticScope | |
---|---|
StaticScope |
DefaultMethod.getStaticScope()
|
Methods in org.jruby.internal.runtime.methods with parameters of type StaticScope | |
---|---|
DynamicMethod |
InvocationMethodFactory.getCompiledMethod(RubyModule implementationClass,
java.lang.String method,
Arity arity,
Visibility visibility,
StaticScope scope,
java.lang.Object scriptObject,
CallConfiguration callConfig)
Use code generation to provide a method handle for a compiled Ruby method. |
DynamicMethod |
ReflectionMethodFactory.getCompiledMethod(RubyModule implementationClass,
java.lang.String methodName,
Arity arity,
Visibility visibility,
StaticScope scope,
java.lang.Object scriptObject,
CallConfiguration callConfig)
Use reflection to provide a method handle for a compiled Ruby method. |
abstract void |
CallConfiguration.pre(ThreadContext context,
IRubyObject self,
RubyModule implementer,
java.lang.String name,
Block block,
StaticScope scope,
JumpTarget jumpTarget)
|
Uses of StaticScope in org.jruby.parser |
---|
Subclasses of StaticScope in org.jruby.parser | |
---|---|
class |
BlockStaticScope
|
class |
LocalStaticScope
|
Fields in org.jruby.parser declared as StaticScope | |
---|---|
protected StaticScope |
StaticScope.enclosingScope
|
Methods in org.jruby.parser that return StaticScope | |
---|---|
StaticScope |
ParserSupport.getCurrentScope()
|
StaticScope |
StaticScope.getEnclosingScope()
Next outer most scope in list of scopes. |
StaticScope |
BlockStaticScope.getLocalScope()
|
StaticScope |
LocalStaticScope.getLocalScope()
|
abstract StaticScope |
StaticScope.getLocalScope()
Gets the Local Scope relative to the current Scope. |
StaticScope |
StaticScope.getPreviousCRefScope()
|
Methods in org.jruby.parser with parameters of type StaticScope | |
---|---|
protected AssignableNode |
BlockStaticScope.assign(ISourcePosition position,
java.lang.String name,
Node value,
StaticScope topScope,
int depth)
|
AssignableNode |
LocalStaticScope.assign(ISourcePosition position,
java.lang.String name,
Node value,
StaticScope topScope,
int depth)
|
protected abstract AssignableNode |
StaticScope.assign(ISourcePosition position,
java.lang.String name,
Node value,
StaticScope topScope,
int depth)
|
Constructors in org.jruby.parser with parameters of type StaticScope | |
---|---|
BlockStaticScope(StaticScope parentScope)
|
|
BlockStaticScope(StaticScope parentScope,
java.lang.String[] names)
|
|
LocalStaticScope(StaticScope enclosingScope)
|
|
LocalStaticScope(StaticScope enclosingScope,
java.lang.String[] names)
|
|
StaticScope(StaticScope enclosingScope)
|
|
StaticScope(StaticScope enclosingScope,
java.lang.String[] names)
|
Uses of StaticScope in org.jruby.runtime |
---|
Fields in org.jruby.runtime declared as StaticScope | |
---|---|
protected StaticScope |
CompiledBlock.scope
|
protected StaticScope |
DynamicScope.staticScope
|
Methods in org.jruby.runtime that return StaticScope | |
---|---|
abstract StaticScope |
BlockBody.getStaticScope()
|
StaticScope |
CallBlock.getStaticScope()
|
StaticScope |
CompiledBlock.getStaticScope()
|
StaticScope |
CompiledBlockLight.getStaticScope()
|
StaticScope |
DynamicScope.getStaticScope()
Get the static scope associated with this DynamicScope. |
StaticScope |
InterpretedBlock.getStaticScope()
|
StaticScope |
MethodBlock.getStaticScope()
|
Methods in org.jruby.runtime with parameters of type StaticScope | |
---|---|
abstract DynamicMethod |
MethodFactory.getCompiledMethod(RubyModule implementationClass,
java.lang.String method,
Arity arity,
Visibility visibility,
StaticScope scope,
java.lang.Object scriptObject,
CallConfiguration callConfig)
Get a new method handle based on the target JRuby-compiled method. |
static Block |
CompiledBlock.newCompiledClosure(IRubyObject self,
Frame frame,
Visibility visibility,
RubyModule klass,
DynamicScope dynamicScope,
Arity arity,
StaticScope scope,
CompiledBlockCallback 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 |
CompiledBlockLight.newCompiledClosureLight(IRubyObject self,
Frame frame,
Visibility visibility,
RubyModule klass,
DynamicScope dynamicScope,
Arity arity,
StaticScope scope,
CompiledBlockCallback 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.newDynamicScope(StaticScope staticScope)
|
static DynamicScope |
DynamicScope.newDynamicScope(StaticScope staticScope,
DynamicScope parent)
|
void |
ThreadContext.preClassEval(StaticScope staticScope,
RubyModule type)
|
void |
ThreadContext.preMethodBacktraceAndScope(java.lang.String name,
RubyModule clazz,
StaticScope staticScope)
|
void |
ThreadContext.preMethodFrameAndScope(RubyModule clazz,
java.lang.String name,
IRubyObject self,
Block block,
StaticScope staticScope,
JumpTarget jumpTarget)
|
void |
ThreadContext.preMethodScopeOnly(RubyModule clazz,
StaticScope staticScope)
|
void |
ThreadContext.preScopeNode(StaticScope staticScope)
|
void |
ThreadContext.preYieldSpecificBlock(Binding binding,
StaticScope scope,
RubyModule klass)
|
Constructors in org.jruby.runtime with parameters of type StaticScope | |
---|---|
CompiledBlock(Arity arity,
StaticScope scope,
CompiledBlockCallback callback,
boolean hasMultipleArgsHead,
int argumentType)
|
|
DynamicScope(StaticScope staticScope)
|
|
DynamicScope(StaticScope staticScope,
DynamicScope parent)
|
|
MethodBlock(Callback callback,
RubyMethod method,
StaticScope staticScope)
|
Uses of StaticScope in org.jruby.runtime.scope |
---|
Constructors in org.jruby.runtime.scope with parameters of type StaticScope | |
---|---|
ManyVarsDynamicScope(StaticScope staticScope)
|
|
ManyVarsDynamicScope(StaticScope staticScope,
DynamicScope parent)
|
|
NoVarsDynamicScope(StaticScope staticScope)
|
|
NoVarsDynamicScope(StaticScope staticScope,
DynamicScope parent)
|
|
OneVarDynamicScope(StaticScope staticScope)
|
|
OneVarDynamicScope(StaticScope staticScope,
DynamicScope parent)
|
|
TwoVarDynamicScope(StaticScope staticScope)
|
|
TwoVarDynamicScope(StaticScope staticScope,
DynamicScope parent)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |