Modifier and Type | Method and Description |
---|---|
IRubyObject |
Ruby.evalScriptlet(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,
String file,
DynamicScope scope,
int lineNumber,
boolean extraPositionInformation) |
Node |
Ruby.parse(String content,
String file,
DynamicScope scope,
int lineNumber,
boolean extraPositionInformation)
Deprecated.
|
Node |
Ruby.parseEval(org.jruby.util.ByteList content,
String file,
DynamicScope scope,
int lineNumber) |
Node |
Ruby.parseEval(String content,
String file,
DynamicScope scope,
int lineNumber) |
Node |
Ruby.parseFile(InputStream in,
String file,
DynamicScope scope) |
Node |
Ruby.parseFile(InputStream in,
String file,
DynamicScope scope,
int lineNumber) |
Node |
Ruby.parseFileFromMain(InputStream in,
String file,
DynamicScope scope) |
Node |
Ruby.parseInline(InputStream in,
String file,
DynamicScope scope) |
Modifier and Type | Method and Description |
---|---|
DynamicScope |
RootNode.getScope()
Return the dynamic scope for this AST.
|
Modifier and Type | Method and Description |
---|---|
protected void |
ArgsNode.assignKwargs(RubyHash keyValues,
Ruby runtime,
ThreadContext context,
DynamicScope scope,
IRubyObject self) |
protected void |
ArgsNode.prepareOptOrRestArgs(ThreadContext context,
Ruby runtime,
DynamicScope scope,
IRubyObject self,
IRubyObject[] args,
RubyHash kwvals) |
protected void |
ArgsNode.prepareRestArg(ThreadContext context,
Ruby runtime,
DynamicScope scope,
IRubyObject[] args,
int arglen,
int givenArgsCount) |
protected void |
ArgsNode.processBlockArg(DynamicScope scope,
Ruby runtime,
Block block) |
Constructor and Description |
---|
RootNode(ISourcePosition position,
DynamicScope scope,
Node bodyNode) |
Modifier and Type | Method and Description |
---|---|
IRubyObject |
IREvalScript.call(ThreadContext context,
IRubyObject self,
RubyModule clazz,
DynamicScope evalScope,
Block block,
String backtraceName) |
Modifier and Type | Method and Description |
---|---|
Object |
SearchConstInstr.cache(ThreadContext context,
DynamicScope currDynScope,
IRubyObject self,
Object[] temp) |
IRubyObject |
RuntimeHelperCall.callHelper(ThreadContext context,
DynamicScope currDynScope,
IRubyObject self,
Object[] temp,
IRScope scope,
Block.Type blockType) |
Object |
ZSuperInstr.interpret(ThreadContext context,
DynamicScope currDynScope,
IRubyObject self,
Object[] temp,
Block aBlock) |
Object |
YieldInstr.interpret(ThreadContext context,
DynamicScope currDynScope,
IRubyObject self,
Object[] temp,
Block block) |
Object |
UnresolvedSuperInstr.interpret(ThreadContext context,
DynamicScope currDynScope,
IRubyObject self,
Object[] temp,
Block aBlock) |
Object |
UndefMethodInstr.interpret(ThreadContext context,
DynamicScope currDynScope,
IRubyObject self,
Object[] temp,
Block block) |
Object |
ToAryInstr.interpret(ThreadContext context,
DynamicScope currDynScope,
IRubyObject self,
Object[] temp,
Block block) |
Object |
ThrowExceptionInstr.interpret(ThreadContext context,
DynamicScope currDynScope,
IRubyObject self,
Object[] temp,
Block block) |
Object |
StoreLocalVarInstr.interpret(ThreadContext context,
DynamicScope currDynScope,
IRubyObject self,
Object[] temp,
Block block) |
Object |
SetReturnAddressInstr.interpret(ThreadContext context,
DynamicScope currDynScope,
IRubyObject self,
Object[] temp,
Block block) |
Object |
SearchConstInstr.interpret(ThreadContext context,
DynamicScope currDynScope,
IRubyObject self,
Object[] temp,
Block block) |
Object |
RestArgMultipleAsgnInstr.interpret(ThreadContext context,
DynamicScope currDynScope,
IRubyObject self,
Object[] temp,
Block block) |
Object |
RescueEQQInstr.interpret(ThreadContext context,
DynamicScope currDynScope,
IRubyObject self,
Object[] temp,
Block block) |
Object |
ReqdArgMultipleAsgnInstr.interpret(ThreadContext context,
DynamicScope currDynScope,
IRubyObject self,
Object[] temp,
Block block) |
Object |
RaiseArgumentErrorInstr.interpret(ThreadContext context,
DynamicScope currDynScope,
IRubyObject self,
Object[] temp,
Block block) |
Object |
PutGlobalVarInstr.interpret(ThreadContext context,
DynamicScope currDynScope,
IRubyObject self,
Object[] temp,
Block block) |
Object |
PutFieldInstr.interpret(ThreadContext context,
DynamicScope currDynScope,
IRubyObject self,
Object[] temp,
Block block) |
Object |
PutConstInstr.interpret(ThreadContext context,
DynamicScope currDynScope,
IRubyObject self,
Object[] temp,
Block block) |
Object |
PutClassVariableInstr.interpret(ThreadContext context,
DynamicScope currDynScope,
IRubyObject self,
Object[] temp,
Block block) |
Object |
ProcessModuleBodyInstr.interpret(ThreadContext context,
DynamicScope currDynScope,
IRubyObject self,
Object[] temp,
Block block) |
Object |
OptArgMultipleAsgnInstr.interpret(ThreadContext context,
DynamicScope currDynScope,
IRubyObject self,
Object[] temp,
Block block) |
Object |
NotInstr.interpret(ThreadContext context,
DynamicScope currDynScope,
IRubyObject self,
Object[] temp,
Block block) |
Object |
NopInstr.interpret(ThreadContext context,
DynamicScope currDynScope,
IRubyObject self,
Object[] temp,
Block block) |
Object |
MethodLookupInstr.interpret(ThreadContext context,
DynamicScope currDynScope,
IRubyObject self,
Object[] temp,
Block block) |
Object |
MatchInstr.interpret(ThreadContext context,
DynamicScope currDynScope,
IRubyObject self,
Object[] temp,
Block block) |
Object |
Match3Instr.interpret(ThreadContext context,
DynamicScope currDynScope,
IRubyObject self,
Object[] temp,
Block block) |
Object |
Match2Instr.interpret(ThreadContext context,
DynamicScope currDynScope,
IRubyObject self,
Object[] temp,
Block block) |
Object |
LoadLocalVarInstr.interpret(ThreadContext context,
DynamicScope currDynScope,
IRubyObject self,
Object[] temp,
Block block) |
Object |
LexicalSearchConstInstr.interpret(ThreadContext context,
DynamicScope currDynScope,
IRubyObject self,
Object[] temp,
Block block) |
Object |
Instr.interpret(ThreadContext context,
DynamicScope currDynScope,
IRubyObject self,
Object[] temp,
Block block) |
Object |
InstanceSuperInstr.interpret(ThreadContext context,
DynamicScope currDynScope,
IRubyObject self,
Object[] temp,
Block aBlock) |
Object |
InheritanceSearchConstInstr.interpret(ThreadContext context,
DynamicScope currDynScope,
IRubyObject self,
Object[] temp,
Block block) |
Object |
GVarAliasInstr.interpret(ThreadContext context,
DynamicScope currDynScope,
IRubyObject self,
Object[] temp,
Block block) |
Object |
GetGlobalVariableInstr.interpret(ThreadContext context,
DynamicScope currDynScope,
IRubyObject self,
Object[] temp,
Block block) |
Object |
GetFieldInstr.interpret(ThreadContext context,
DynamicScope currDynScope,
IRubyObject self,
Object[] temp,
Block block) |
Object |
GetClassVariableInstr.interpret(ThreadContext context,
DynamicScope currDynScope,
IRubyObject self,
Object[] temp,
Block block) |
Object |
GetClassVarContainerModuleInstr.interpret(ThreadContext context,
DynamicScope currDynScope,
IRubyObject self,
Object[] temp,
Block block) |
Object |
EQQInstr.interpret(ThreadContext context,
DynamicScope currDynScope,
IRubyObject self,
Object[] temp,
Block block) |
Object |
EnsureRubyArrayInstr.interpret(ThreadContext context,
DynamicScope currDynScope,
IRubyObject self,
Object[] temp,
Block block) |
Object |
DefineModuleInstr.interpret(ThreadContext context,
DynamicScope currDynScope,
IRubyObject self,
Object[] temp,
Block block) |
Object |
DefineMetaClassInstr.interpret(ThreadContext context,
DynamicScope currDynScope,
IRubyObject self,
Object[] temp,
Block block) |
Object |
DefineInstanceMethodInstr.interpret(ThreadContext context,
DynamicScope currDynScope,
IRubyObject self,
Object[] temp,
Block block) |
Object |
DefineClassMethodInstr.interpret(ThreadContext context,
DynamicScope currDynScope,
IRubyObject self,
Object[] temp,
Block block) |
Object |
DefineClassInstr.interpret(ThreadContext context,
DynamicScope currDynScope,
IRubyObject self,
Object[] temp,
Block block) |
Object |
ConstMissingInstr.interpret(ThreadContext context,
DynamicScope currDynScope,
IRubyObject self,
Object[] temp,
Block block) |
Object |
ClassSuperInstr.interpret(ThreadContext context,
DynamicScope currDynScope,
IRubyObject self,
Object[] temp,
Block aBlock) |
Object |
CheckArgsArrayArityInstr.interpret(ThreadContext context,
DynamicScope currDynScope,
IRubyObject self,
Object[] temp,
Block block) |
Object |
CallBase.interpret(ThreadContext context,
DynamicScope dynamicScope,
IRubyObject self,
Object[] temp,
Block block) |
Object |
BlockGivenInstr.interpret(ThreadContext context,
DynamicScope currDynScope,
IRubyObject self,
Object[] temp,
Block block) |
Object |
AttrAssignInstr.interpret(ThreadContext context,
DynamicScope dynamicScope,
IRubyObject self,
Object[] temp,
Block block) |
Object |
AliasInstr.interpret(ThreadContext context,
DynamicScope currDynScope,
IRubyObject self,
Object[] temp,
Block block) |
int |
ModuleVersionGuardInstr.interpretAndGetNewIPC(ThreadContext context,
DynamicScope currDynScope,
IRubyObject self,
Object[] temp,
int ipc) |
int |
JumpIndirectInstr.interpretAndGetNewIPC(ThreadContext context,
DynamicScope currDynScope,
IRubyObject self,
Object[] temp,
int ipc) |
int |
Instr.interpretAndGetNewIPC(ThreadContext context,
DynamicScope currDynScope,
IRubyObject self,
Object[] temp,
int ipc) |
int |
BUndefInstr.interpretAndGetNewIPC(ThreadContext context,
DynamicScope currDynScope,
IRubyObject self,
Object[] temp,
int ipc) |
int |
BTrueInstr.interpretAndGetNewIPC(ThreadContext context,
DynamicScope currDynScope,
IRubyObject self,
Object[] temp,
int ipc) |
int |
BNilInstr.interpretAndGetNewIPC(ThreadContext context,
DynamicScope currDynScope,
IRubyObject self,
Object[] temp,
int ipc) |
int |
BNEInstr.interpretAndGetNewIPC(ThreadContext context,
DynamicScope currDynScope,
IRubyObject self,
Object[] temp,
int ipc) |
int |
BFalseInstr.interpretAndGetNewIPC(ThreadContext context,
DynamicScope currDynScope,
IRubyObject self,
Object[] temp,
int ipc) |
int |
BEQInstr.interpretAndGetNewIPC(ThreadContext context,
DynamicScope currDynScope,
IRubyObject self,
Object[] temp,
int ipc) |
protected IRubyObject[] |
ZSuperInstr.prepareArguments(ThreadContext context,
IRubyObject self,
Operand[] arguments,
DynamicScope dynamicScope,
Object[] temp) |
protected IRubyObject[] |
CallBase.prepareArguments(ThreadContext context,
IRubyObject self,
Operand[] arguments,
DynamicScope dynamicScope,
Object[] temp) |
protected IRubyObject[] |
CallBase.prepareArgumentsComplex(ThreadContext context,
IRubyObject self,
Operand[] args,
DynamicScope currDynScope,
Object[] temp) |
protected IRubyObject[] |
CallBase.prepareArgumentsSimple(ThreadContext context,
IRubyObject self,
Operand[] args,
DynamicScope currDynScope,
Object[] temp) |
protected Block |
CallBase.prepareBlock(ThreadContext context,
IRubyObject self,
DynamicScope currDynScope,
Object[] temp) |
Modifier and Type | Method and Description |
---|---|
Object |
TwoArgNoBlockOperandCallAdapter.call(ThreadContext context,
IRubyObject self,
IRubyObject receiver,
DynamicScope currDynScope,
Object[] temp) |
Object |
TwoArgNoBlockConstantCallAdapter.call(ThreadContext context,
IRubyObject self,
IRubyObject receiver,
DynamicScope currDynScope,
Object[] temp) |
Object |
TwoArgBlockOperandCallAdapter.call(ThreadContext context,
IRubyObject self,
IRubyObject receiver,
DynamicScope currDynScope,
Object[] temp) |
Object |
ThreeArgNoBlockOperandCallAdapter.call(ThreadContext context,
IRubyObject self,
IRubyObject receiver,
DynamicScope currDynScope,
Object[] temp) |
Object |
ThreeArgNoBlockConstantCallAdapter.call(ThreadContext context,
IRubyObject self,
IRubyObject receiver,
DynamicScope currDynScope,
Object[] temp) |
Object |
ThreeArgBlockOperandCallAdapter.call(ThreadContext context,
IRubyObject self,
IRubyObject receiver,
DynamicScope currDynScope,
Object[] temp) |
Object |
OneArgNoBlockOperandCallAdapter.call(ThreadContext context,
IRubyObject self,
IRubyObject receiver,
DynamicScope currDynScope,
Object[] temp) |
Object |
OneArgNoBlockConstantCallAdapter.call(ThreadContext context,
IRubyObject self,
IRubyObject receiver,
DynamicScope currDynScope,
Object[] temp) |
Object |
OneArgBlockOperandCallAdapter.call(ThreadContext context,
IRubyObject self,
IRubyObject receiver,
DynamicScope currDynScope,
Object[] temp) |
Object |
NoArgNoBlockOperandCallAdapter.call(ThreadContext context,
IRubyObject self,
IRubyObject receiver,
DynamicScope currDynScope,
Object[] temp) |
Object |
FourArgNoBlockOperandCallAdapter.call(ThreadContext context,
IRubyObject self,
IRubyObject receiver,
DynamicScope currDynScope,
Object[] temp) |
Object |
FourArgNoBlockConstantCallAdapter.call(ThreadContext context,
IRubyObject self,
IRubyObject receiver,
DynamicScope currDynScope,
Object[] temp) |
abstract Object |
CallAdapter.call(ThreadContext context,
IRubyObject self,
IRubyObject receiver,
DynamicScope currDynScope,
Object[] temp) |
Object |
AttrAssignCallAdapter.call(ThreadContext context,
IRubyObject self,
IRubyObject receiver,
DynamicScope currDynScope,
Object[] temp) |
protected IRubyObject[] |
AttrAssignCallAdapter.prepareArguments(ThreadContext context,
IRubyObject self,
Operand[] args,
DynamicScope currDynScope,
Object[] temp) |
protected Block |
ClosureCallAdapter.prepareBlock(ThreadContext context,
IRubyObject self,
DynamicScope currDynScope,
Object[] temp) |
Modifier and Type | Method and Description |
---|---|
Object |
SuperMethodBoundInstr.interpret(ThreadContext context,
DynamicScope currDynScope,
IRubyObject self,
Object[] temp,
Block block) |
Object |
RestoreErrorInfoInstr.interpret(ThreadContext context,
DynamicScope currDynScope,
IRubyObject self,
Object[] temp,
Block block) |
Object |
MethodIsPublicInstr.interpret(ThreadContext context,
DynamicScope currDynScope,
IRubyObject self,
Object[] temp,
Block block) |
Object |
MethodDefinedInstr.interpret(ThreadContext context,
DynamicScope currDynScope,
IRubyObject self,
Object[] temp,
Block block) |
Object |
IsMethodBoundInstr.interpret(ThreadContext context,
DynamicScope currDynScope,
IRubyObject self,
Object[] temp,
Block block) |
Object |
HasInstanceVarInstr.interpret(ThreadContext context,
DynamicScope currDynScope,
IRubyObject self,
Object[] temp,
Block block) |
Object |
GlobalIsDefinedInstr.interpret(ThreadContext context,
DynamicScope currDynScope,
IRubyObject self,
Object[] temp,
Block block) |
Object |
GetErrorInfoInstr.interpret(ThreadContext context,
DynamicScope currDynScope,
IRubyObject self,
Object[] temp,
Block block) |
Object |
GetDefinedConstantOrMethodInstr.interpret(ThreadContext context,
DynamicScope currDynScope,
IRubyObject self,
Object[] temp,
Block block) |
Object |
GetBackrefInstr.interpret(ThreadContext context,
DynamicScope currDynScope,
IRubyObject self,
Object[] temp,
Block block) |
Object |
ClassVarIsDefinedInstr.interpret(ThreadContext context,
DynamicScope currDynScope,
IRubyObject self,
Object[] temp,
Block block) |
Object |
BackrefIsMatchDataInstr.interpret(ThreadContext context,
DynamicScope currDynScope,
IRubyObject self,
Object[] temp,
Block block) |
Modifier and Type | Method and Description |
---|---|
Object |
GetEncodingInstr.interpret(ThreadContext context,
DynamicScope currDynScope,
IRubyObject self,
Object[] temp,
Block block) |
Object |
BuildLambdaInstr.interpret(ThreadContext context,
DynamicScope currDynScope,
IRubyObject self,
Object[] temp,
Block aBlock) |
Modifier and Type | Method and Description |
---|---|
Object |
ZeroOperandArgNoBlockCallInstr.interpret(ThreadContext context,
DynamicScope dynamicScope,
IRubyObject self,
Object[] temp,
Block block) |
Object |
OneOperandArgNoBlockNoResultCallInstr.interpret(ThreadContext context,
DynamicScope dynamicScope,
IRubyObject self,
Object[] temp,
Block block) |
Object |
OneOperandArgNoBlockCallInstr.interpret(ThreadContext context,
DynamicScope dynamicScope,
IRubyObject self,
Object[] temp,
Block block) |
Object |
OneFixnumArgNoBlockCallInstr.interpret(ThreadContext context,
DynamicScope dynamicScope,
IRubyObject self,
Object[] temp,
Block block) |
Object |
OneArgOperandAttrAssignInstr.interpret(ThreadContext context,
DynamicScope dynamicScope,
IRubyObject self,
Object[] temp,
Block block) |
Modifier and Type | Method and Description |
---|---|
Object |
WrappedIRClosure.retrieve(ThreadContext context,
IRubyObject self,
DynamicScope currDynScope,
Object[] temp) |
Object |
UnexecutableNil.retrieve(ThreadContext context,
IRubyObject self,
DynamicScope currDynScope,
Object[] temp) |
Object |
UndefinedValue.retrieve(ThreadContext context,
IRubyObject self,
DynamicScope currDynScope,
Object[] temp) |
Object |
TemporaryVariable.retrieve(ThreadContext context,
IRubyObject self,
DynamicScope currDynScope,
Object[] temp) |
Object |
Symbol.retrieve(ThreadContext context,
IRubyObject self,
DynamicScope currDynScope,
Object[] temp) |
Object |
SValue.retrieve(ThreadContext context,
IRubyObject self,
DynamicScope currDynScope,
Object[] temp) |
Object |
StringLiteral.retrieve(ThreadContext context,
IRubyObject self,
DynamicScope currDynScope,
Object[] temp) |
Object |
Splat.retrieve(ThreadContext context,
IRubyObject self,
DynamicScope currDynScope,
Object[] temp) |
Object |
Self.retrieve(ThreadContext context,
IRubyObject self,
DynamicScope currDynScope,
Object[] temp) |
Object |
ScopeModule.retrieve(ThreadContext context,
IRubyObject self,
DynamicScope currDynScope,
Object[] temp) |
Object |
Regexp.retrieve(ThreadContext context,
IRubyObject self,
DynamicScope currDynScope,
Object[] temp) |
Object |
Range.retrieve(ThreadContext context,
IRubyObject self,
DynamicScope currDynScope,
Object[] temp) |
Object |
Operand.retrieve(ThreadContext context,
IRubyObject self,
DynamicScope currDynScope,
Object[] temp) |
Object |
ObjectClass.retrieve(ThreadContext context,
IRubyObject self,
DynamicScope currDynScope,
Object[] temp) |
Object |
NthRef.retrieve(ThreadContext context,
IRubyObject self,
DynamicScope currDynScope,
Object[] temp) |
Object |
MethodHandle.retrieve(ThreadContext context,
IRubyObject self,
DynamicScope currDynScope,
Object[] temp) |
Object |
MethAddr.retrieve(ThreadContext context,
IRubyObject self,
DynamicScope currDynScope,
Object[] temp) |
Object |
LocalVariable.retrieve(ThreadContext context,
IRubyObject self,
DynamicScope currDynScope,
Object[] temp) |
Object |
ImmutableLiteral.retrieve(ThreadContext context,
IRubyObject self,
DynamicScope currDynScope,
Object[] temp)
retrieve the live value represented by this immutable literal.
|
Object |
Hash.retrieve(ThreadContext context,
IRubyObject self,
DynamicScope currDynScope,
Object[] temp) |
Object |
GlobalVariable.retrieve(ThreadContext context,
IRubyObject self,
DynamicScope currDynScope,
Object[] temp) |
Object |
DynamicSymbol.retrieve(ThreadContext context,
IRubyObject self,
DynamicScope currDynScope,
Object[] temp) |
Object |
CurrentScope.retrieve(ThreadContext context,
IRubyObject self,
DynamicScope currDynScope,
Object[] temp) |
Object |
CompoundString.retrieve(ThreadContext context,
IRubyObject self,
DynamicScope currDynScope,
Object[] temp) |
Object |
CompoundArray.retrieve(ThreadContext context,
IRubyObject self,
DynamicScope currDynScope,
Object[] temp) |
Object |
BacktickString.retrieve(ThreadContext context,
IRubyObject self,
DynamicScope currDynScope,
Object[] temp) |
Object |
Backref.retrieve(ThreadContext context,
IRubyObject self,
DynamicScope currDynScope,
Object[] temp) |
Object |
AsString.retrieve(ThreadContext context,
IRubyObject self,
DynamicScope currDynScope,
Object[] temp) |
Object |
Array.retrieve(ThreadContext context,
IRubyObject self,
DynamicScope currDynScope,
Object[] temp) |
RubyString[] |
CompoundString.retrievePieces(ThreadContext context,
IRubyObject self,
DynamicScope currDynScope,
Object[] temp) |
Modifier and Type | Method and Description |
---|---|
DynamicScope |
StaticScope.getDummyScope() |
DynamicScope |
RubyParserResult.getScope() |
DynamicScope |
ParserConfiguration.getScope()
This method returns the appropriate first scope for the parser.
|
Modifier and Type | Method and Description |
---|---|
Node |
Parser.parse(String file,
byte[] content,
DynamicScope blockScope,
ParserConfiguration configuration) |
Node |
Parser.parse(String file,
org.jruby.util.ByteList content,
DynamicScope blockScope,
ParserConfiguration configuration) |
Node |
Parser.parse(String file,
InputStream content,
DynamicScope blockScope,
ParserConfiguration configuration) |
Node |
Parser.parse(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) |
Modifier and Type | Field and Description |
---|---|
protected DynamicScope |
DynamicScope.evalScope |
protected DynamicScope |
DynamicScope.parent |
Modifier and Type | Method and Description |
---|---|
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(Ruby runtime) |
DynamicScope |
Binding.getEvalScope(Ruby runtime) |
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) |
Modifier and Type | Method and Description |
---|---|
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) |
Constructor and Description |
---|
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) |
Modifier and Type | Class and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
DynamicScope |
TwoVarDynamicScope.cloneScope() |
DynamicScope |
ThreeVarDynamicScope.cloneScope() |
DynamicScope |
SharedBindingDynamicScope.cloneScope() |
DynamicScope |
OneVarDynamicScope.cloneScope() |
DynamicScope |
NoVarsDynamicScope.cloneScope() |
DynamicScope |
ManyVarsDynamicScope.cloneScope() |
DynamicScope |
FourVarDynamicScope.cloneScope() |
DynamicScope |
DummyDynamicScope.cloneScope() |
Constructor and Description |
---|
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) |
Copyright © 2001-2014 JRuby. All Rights Reserved.