Uses of Class
org.jruby.parser.StaticScope

Packages that use StaticScope
org.jruby.ast   
org.jruby.ast.executable   
org.jruby.ast.visitor.rewriter.utils   
org.jruby.compiler   
org.jruby.compiler.impl   
org.jruby.evaluator   
org.jruby.internal.runtime.methods   
org.jruby.parser   
org.jruby.runtime   
org.jruby.runtime.scope   
 

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 CacheCompiler.cacheClosure(StandardASMCompiler.AbstractMethodCompiler method, java.lang.String closureMethod, int arity, StaticScope scope, boolean hasMultipleArgsHead, NodeType argsNodeId, ASTInspector inspector)
           
 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
 

Fields in org.jruby.compiler.impl declared as StaticScope
protected  StaticScope AbstractVariableCompiler.scope
           
protected  StaticScope StandardASMCompiler.AbstractMethodCompiler.scope
           
 

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)
           
static void StandardASMCompiler.buildStaticScopeNames(SkinnyMethodAdapter method, StaticScope scope)
           
 void FieldBasedCacheCompiler.cacheClosure(StandardASMCompiler.AbstractMethodCompiler method, java.lang.String closureMethod, int arity, StaticScope scope, boolean hasMultipleArgsHead, NodeType argsNodeId, ASTInspector inspector)
           
 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)
           
 

Constructors in org.jruby.compiler.impl with parameters of type StaticScope
AbstractVariableCompiler(StandardASMCompiler.AbstractMethodCompiler methodCompiler, SkinnyMethodAdapter method, StaticScope scope, boolean specificArity, int argsIndex, int firstTempIndex)
           
BoxedVariableCompiler(StandardASMCompiler.AbstractMethodCompiler methodCompiler, SkinnyMethodAdapter method, StaticScope scope, boolean specificArity, int argsIndex, int firstTempIndex)
           
HeapBasedVariableCompiler(StandardASMCompiler.AbstractMethodCompiler methodCompiler, SkinnyMethodAdapter method, StaticScope scope, boolean specificArity, int argsIndex, int firstTempIndex)
           
StackBasedVariableCompiler(StandardASMCompiler.AbstractMethodCompiler methodCompiler, SkinnyMethodAdapter method, StaticScope scope, boolean specificArity, int argsIndex, int firstTempIndex)
           
StandardASMCompiler.AbstractMethodCompiler.ASMMethodContinuationCompiler(java.lang.String methodName, ASTInspector inspector, StaticScope scope)
           
StandardASMCompiler.AbstractMethodCompiler(StaticScope scope, ASTInspector inspector, java.lang.String methodName)
           
StandardASMCompiler.ASMClosureCompiler(java.lang.String closureMethodName, ASTInspector inspector, StaticScope scope)
           
StandardASMCompiler.ASMMethodCompiler(java.lang.String friendlyName, ASTInspector inspector, StaticScope scope)
           
 

Uses of StaticScope in org.jruby.evaluator
 

Methods in org.jruby.evaluator with parameters of type StaticScope
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.
 

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.
 DynamicMethod InvocationMethodFactory.getCompiledMethodLazily(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.getCompiledMethodLazily(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.
 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, java.lang.Object scriptObject, CallConfiguration callConfig)
           
abstract  void CallConfiguration.pre(ThreadContext context, IRubyObject self, RubyModule implementer, java.lang.String name, Block block, StaticScope scope, JumpTarget jumpTarget)
           
 

Constructors in org.jruby.internal.runtime.methods with parameters of type StaticScope
CompiledMethod.LazyCompiledMethod(RubyModule implementationClass, java.lang.String method, Arity arity, Visibility visibility, StaticScope scope, java.lang.Object scriptObject, CallConfiguration callConfig, MethodFactory factory)
           
CompiledMethod(RubyModule implementationClass, Arity arity, Visibility visibility, StaticScope staticScope, java.lang.Object scriptObject, CallConfiguration callConfig)
           
DefaultMethod(RubyModule implementationClass, StaticScope staticScope, Node body, ArgsNode argsNode, Visibility visibility, ISourcePosition position)
           
JavaMethod.JavaMethodNoBlock(RubyModule implementationClass, Visibility visibility, CallConfiguration callConfig, StaticScope staticScope, Arity arity)
           
JavaMethod.JavaMethodOne(RubyModule implementationClass, Visibility visibility, CallConfiguration callConfig, StaticScope staticScope, Arity arity)
           
JavaMethod.JavaMethodOneBlock(RubyModule implementationClass, Visibility visibility, CallConfiguration callConfig, StaticScope staticScope, Arity arity)
           
JavaMethod.JavaMethodOneOrTwo(RubyModule implementationClass, Visibility visibility, CallConfiguration callConfig, StaticScope staticScope, Arity arity)
           
JavaMethod.JavaMethodOneOrTwoBlock(RubyModule implementationClass, Visibility visibility, CallConfiguration callConfig, StaticScope staticScope, Arity arity)
           
JavaMethod.JavaMethodOneOrTwoOrThree(RubyModule implementationClass, Visibility visibility, CallConfiguration callConfig, StaticScope staticScope, Arity arity)
           
JavaMethod.JavaMethodOneOrTwoOrThreeBlock(RubyModule implementationClass, Visibility visibility, CallConfiguration callConfig, StaticScope staticScope, Arity arity)
           
JavaMethod.JavaMethodThree(RubyModule implementationClass, Visibility visibility, CallConfiguration callConfig, StaticScope staticScope, Arity arity)
           
JavaMethod.JavaMethodThreeBlock(RubyModule implementationClass, Visibility visibility, CallConfiguration callConfig, StaticScope staticScope, Arity arity)
           
JavaMethod.JavaMethodTwo(RubyModule implementationClass, Visibility visibility, CallConfiguration callConfig, StaticScope staticScope, Arity arity)
           
JavaMethod.JavaMethodTwoBlock(RubyModule implementationClass, Visibility visibility, CallConfiguration callConfig, StaticScope staticScope, Arity arity)
           
JavaMethod.JavaMethodTwoOrThree(RubyModule implementationClass, Visibility visibility, CallConfiguration callConfig, StaticScope staticScope, Arity arity)
           
JavaMethod.JavaMethodZero(RubyModule implementationClass, Visibility visibility, CallConfiguration callConfig, StaticScope staticScope, Arity arity)
           
JavaMethod.JavaMethodZeroBlock(RubyModule implementationClass, Visibility visibility, CallConfiguration callConfig, StaticScope staticScope, Arity arity)
           
JavaMethod.JavaMethodZeroOrOne(RubyModule implementationClass, Visibility visibility, CallConfiguration callConfig, StaticScope staticScope, Arity arity)
           
JavaMethod.JavaMethodZeroOrOneBlock(RubyModule implementationClass, Visibility visibility, CallConfiguration callConfig, StaticScope staticScope, Arity arity)
           
JavaMethod.JavaMethodZeroOrOneOrTwo(RubyModule implementationClass, Visibility visibility, CallConfiguration callConfig, StaticScope staticScope, Arity arity)
           
JavaMethod.JavaMethodZeroOrOneOrTwoBlock(RubyModule implementationClass, Visibility visibility, CallConfiguration callConfig, StaticScope staticScope, Arity arity)
           
JavaMethod.JavaMethodZeroOrOneOrTwoOrThree(RubyModule implementationClass, Visibility visibility, CallConfiguration callConfig, StaticScope staticScope, Arity arity)
           
JavaMethod.JavaMethodZeroOrOneOrTwoOrThreeBlock(RubyModule implementationClass, Visibility visibility, CallConfiguration callConfig, StaticScope staticScope, Arity arity)
           
JavaMethod(RubyModule implementationClass, Visibility visibility, CallConfiguration callConfig, StaticScope staticScope, Arity arity)
           
ReflectedCompiledMethod(RubyModule implementationClass, Arity arity, Visibility visibility, StaticScope staticScope, java.lang.Object scriptObject, java.lang.reflect.Method method, CallConfiguration callConfig)
           
RubiniusMethod(RubyModule implementationClass, RubiniusCMethod cmethod, StaticScope staticScope, Visibility visibility)
           
YARVMethod(RubyModule implementationClass, YARVMachine.InstructionSequence iseq, StaticScope staticScope, Visibility visibility)
           
 

Uses of StaticScope in org.jruby.parser
 

Subclasses of StaticScope in org.jruby.parser
 class BlockStaticScope
           
 class EvalStaticScope
          This scope is used solely for evals.
 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 EvalStaticScope.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)
           
EvalStaticScope(StaticScope parentScope)
           
EvalStaticScope(StaticScope parentScope, java.lang.String[] names)
           
LocalStaticScope(StaticScope enclosingScope)
           
LocalStaticScope(StaticScope enclosingScope, java.lang.String[] names)
           
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 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.
abstract  DynamicMethod MethodFactory.getCompiledMethodLazily(RubyModule implementationClass, java.lang.String method, Arity arity, Visibility visibility, StaticScope scope, java.lang.Object scriptObject, CallConfiguration callConfig)
          Like getCompiledMethod, but postpones any heavy lifting involved in creating the method until first invocation.
static BlockBody CompiledBlock.newCompiledBlock(Arity arity, StaticScope scope, CompiledBlockCallback callback, boolean hasMultipleArgsHead, int argumentType)
           
static BlockBody CompiledBlockLight.newCompiledBlockLight(Arity arity, StaticScope scope, CompiledBlockCallback callback, boolean hasMultipleArgsHead, int argumentType)
           
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.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.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)
           
 Frame 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)
           
CompiledBlockLight(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
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)
           
ThreeVarDynamicScope(StaticScope staticScope)
           
ThreeVarDynamicScope(StaticScope staticScope, DynamicScope parent)
           
TwoVarDynamicScope(StaticScope staticScope)
           
TwoVarDynamicScope(StaticScope staticScope, DynamicScope parent)
           
 



Copyright © 2002-2007 JRuby Team. All Rights Reserved.