|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use DynamicScope | |
---|---|
org.jruby | |
org.jruby.ast | |
org.jruby.interpreter | |
org.jruby.javasupport.util | |
org.jruby.parser | |
org.jruby.runtime | |
org.jruby.runtime.scope |
Uses of DynamicScope in org.jruby |
---|
Methods in org.jruby with parameters of type DynamicScope | |
---|---|
IRubyObject |
Ruby.evalScriptlet(java.lang.String script,
DynamicScope scope)
Evaluates a script under the current scope (perhaps the top-level scope) and returns the result (generally the last value calculated). |
Node |
Ruby.parse(org.jruby.util.ByteList content,
java.lang.String file,
DynamicScope scope,
int lineNumber,
boolean extraPositionInformation)
|
Node |
Ruby.parse(java.lang.String content,
java.lang.String file,
DynamicScope scope,
int lineNumber,
boolean extraPositionInformation)
Deprecated. |
Node |
Ruby.parseEval(org.jruby.util.ByteList content,
java.lang.String file,
DynamicScope scope,
int lineNumber)
|
Node |
Ruby.parseEval(java.lang.String content,
java.lang.String file,
DynamicScope scope,
int lineNumber)
|
Node |
Ruby.parseFile(java.io.InputStream in,
java.lang.String file,
DynamicScope scope)
|
Node |
Ruby.parseFile(java.io.InputStream in,
java.lang.String file,
DynamicScope scope,
int lineNumber)
|
Node |
Ruby.parseFileFromMain(java.io.InputStream in,
java.lang.String file,
DynamicScope scope)
|
Node |
Ruby.parseInline(java.io.InputStream in,
java.lang.String file,
DynamicScope scope)
|
Uses of DynamicScope in org.jruby.ast |
---|
Methods in org.jruby.ast that return DynamicScope | |
---|---|
DynamicScope |
RootNode.getScope()
Return the dynamic scope for this AST. |
Methods in org.jruby.ast with parameters of type DynamicScope | |
---|---|
protected void |
ArgsNode.prepareOptOrRestArgs(ThreadContext context,
Ruby runtime,
DynamicScope scope,
IRubyObject self,
IRubyObject[] args)
|
protected void |
ArgsNode.prepareRestArg(ThreadContext context,
Ruby runtime,
DynamicScope scope,
IRubyObject[] args,
int givenArgsCount)
|
protected void |
ArgsNode.processBlockArg(DynamicScope scope,
Ruby runtime,
Block block)
|
Constructors in org.jruby.ast with parameters of type DynamicScope | |
---|---|
RootNode(ISourcePosition position,
DynamicScope scope,
Node bodyNode)
|
Uses of DynamicScope in org.jruby.interpreter |
---|
Fields in org.jruby.interpreter declared as DynamicScope | |
---|---|
protected DynamicScope |
NaiveInterpreterContext.currDynScope
|
Methods in org.jruby.interpreter that return DynamicScope | |
---|---|
DynamicScope |
InterpreterContext.getSharedBindingScope()
|
DynamicScope |
NaiveInterpreterContext.getSharedBindingScope()
|
Methods in org.jruby.interpreter with parameters of type DynamicScope | |
---|---|
void |
InterpreterContext.setDynamicScope(DynamicScope s)
|
void |
NaiveInterpreterContext.setDynamicScope(DynamicScope s)
|
Uses of DynamicScope in org.jruby.javasupport.util |
---|
Methods in org.jruby.javasupport.util with parameters of type DynamicScope | |
---|---|
static void |
RuntimeHelpers.updateScopeWithCaptures(ThreadContext context,
DynamicScope scope,
int[] scopeOffsets,
IRubyObject result)
|
Uses of DynamicScope in org.jruby.parser |
---|
Methods in org.jruby.parser that return DynamicScope | |
---|---|
DynamicScope |
StaticScope.getDummyScope()
|
DynamicScope |
ParserConfiguration.getScope()
This method returns the appropriate first scope for the parser. |
DynamicScope |
RubyParserResult.getScope()
|
Methods in org.jruby.parser with parameters of type DynamicScope | |
---|---|
Node |
Parser.parse(java.lang.String file,
byte[] content,
DynamicScope blockScope,
ParserConfiguration configuration)
|
Node |
Parser.parse(java.lang.String file,
org.jruby.util.ByteList content,
DynamicScope blockScope,
ParserConfiguration configuration)
|
Node |
Parser.parse(java.lang.String file,
java.io.InputStream content,
DynamicScope blockScope,
ParserConfiguration configuration)
|
Node |
Parser.parse(java.lang.String file,
LexerSource lexerSource,
DynamicScope blockScope,
ParserConfiguration configuration)
|
void |
ParserConfiguration.parseAsBlock(DynamicScope existingScope)
If we are performing an eval we should pass existing scope in. |
void |
RubyParserResult.setScope(DynamicScope scope)
|
Uses of DynamicScope in org.jruby.runtime |
---|
Fields in org.jruby.runtime declared as DynamicScope | |
---|---|
protected DynamicScope |
DynamicScope.evalScope
|
protected DynamicScope |
DynamicScope.parent
|
Methods in org.jruby.runtime that return DynamicScope | |
---|---|
abstract DynamicScope |
DynamicScope.cloneScope()
|
DynamicScope |
ThreadContext.getCurrentScope()
|
DynamicScope |
Binding.getDummyScope(StaticScope staticScope)
|
DynamicScope |
Binding.getDynamicScope()
Gets the dynamicVariables that are local to this block. |
DynamicScope |
DynamicScope.getEvalScope()
|
DynamicScope |
DynamicScope.getFlipScope()
Find the scope to use for flip-flops. |
DynamicScope |
DynamicScope.getNextCapturedScope()
Get next 'captured' scope. |
DynamicScope |
DynamicScope.getNthParentScope(int n)
Returns the n-th parent scope of this scope. |
DynamicScope |
ThreadContext.getPreviousScope()
|
static DynamicScope |
DynamicScope.newDummyScope(StaticScope staticScope,
DynamicScope parent)
|
static DynamicScope |
DynamicScope.newDynamicScope(StaticScope staticScope)
|
static DynamicScope |
DynamicScope.newDynamicScope(StaticScope staticScope,
DynamicScope parent)
|
Methods in org.jruby.runtime with parameters of type DynamicScope | |
---|---|
static Block |
MethodBlock.createMethodBlock(ThreadContext context,
IRubyObject self,
DynamicScope dynamicScope,
MethodBlock body)
|
Binding |
ThreadContext.currentBinding(IRubyObject self,
DynamicScope scope)
Return a binding representing the current call's state but with the specified scope and self. |
Binding |
ThreadContext.currentBinding(IRubyObject self,
Visibility visibility,
DynamicScope scope)
Return a binding representing the current call's state but with the specified visibility, scope, and self. |
static Block |
CompiledSharedScopeBlock.newCompiledSharedScopeClosure(ThreadContext context,
IRubyObject self,
Arity arity,
DynamicScope dynamicScope,
CompiledBlockCallback callback,
boolean hasMultipleArgsHead,
int argumentType)
|
static DynamicScope |
DynamicScope.newDummyScope(StaticScope staticScope,
DynamicScope parent)
|
static DynamicScope |
DynamicScope.newDynamicScope(StaticScope staticScope,
DynamicScope parent)
|
static Block |
SharedScopeBlock.newInterpretedSharedScopeClosure(ThreadContext context,
IterNode iterNode,
DynamicScope dynamicScope,
IRubyObject self)
|
void |
ThreadContext.preEvalScriptlet(DynamicScope scope)
|
void |
ThreadContext.preScopedBody(DynamicScope scope)
|
Frame |
ThreadContext.preYieldLightBlock(Binding binding,
DynamicScope emptyScope,
RubyModule klass)
|
void |
ThreadContext.pushScope(DynamicScope scope)
|
Constructors in org.jruby.runtime with parameters of type DynamicScope | |
---|---|
Binding(Frame frame,
RubyModule bindingClass,
DynamicScope dynamicScope,
BacktraceElement backtrace)
|
|
Binding(IRubyObject self,
Frame frame,
Visibility visibility,
RubyModule klass,
DynamicScope dynamicScope,
BacktraceElement backtrace)
|
|
DynamicScope(StaticScope staticScope,
DynamicScope parent)
|
Uses of DynamicScope in org.jruby.runtime.scope |
---|
Subclasses of DynamicScope in org.jruby.runtime.scope | |
---|---|
class |
DummyDynamicScope
This is a DynamicScope that does not support any variables. |
class |
FourVarDynamicScope
This is a DynamicScope that supports exactly four variables. |
class |
ManyVarsDynamicScope
Represents the the dynamic portion of scoping information. |
class |
NoVarsDynamicScope
This is a DynamicScope that does not support any variables. |
class |
OneVarDynamicScope
This is a DynamicScope that supports exactly three variables. |
class |
SharedBindingDynamicScope
|
class |
ThreeVarDynamicScope
This is a DynamicScope that supports exactly three variables. |
class |
TwoVarDynamicScope
This is a DynamicScope that supports exactly three variables. |
Methods in org.jruby.runtime.scope that return DynamicScope | |
---|---|
DynamicScope |
DummyDynamicScope.cloneScope()
|
DynamicScope |
FourVarDynamicScope.cloneScope()
|
DynamicScope |
ManyVarsDynamicScope.cloneScope()
|
DynamicScope |
NoVarsDynamicScope.cloneScope()
|
DynamicScope |
OneVarDynamicScope.cloneScope()
|
DynamicScope |
SharedBindingDynamicScope.cloneScope()
|
DynamicScope |
ThreeVarDynamicScope.cloneScope()
|
DynamicScope |
TwoVarDynamicScope.cloneScope()
|
Constructors in org.jruby.runtime.scope with parameters of type DynamicScope | |
---|---|
DummyDynamicScope(StaticScope staticScope,
DynamicScope parent)
|
|
FourVarDynamicScope(StaticScope staticScope,
DynamicScope parent)
|
|
ManyVarsDynamicScope(StaticScope staticScope,
DynamicScope parent)
|
|
NoVarsDynamicScope(StaticScope staticScope,
DynamicScope parent)
|
|
OneVarDynamicScope(StaticScope staticScope,
DynamicScope parent)
|
|
ThreeVarDynamicScope(StaticScope staticScope,
DynamicScope parent)
|
|
TwoVarDynamicScope(StaticScope staticScope,
DynamicScope parent)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |