Uses of Class
org.jruby.runtime.DynamicScope
Packages that use DynamicScope
Package
Description
-
Uses of DynamicScope in org.jruby
Methods in org.jruby with parameters of type DynamicScopeModifier and TypeMethodDescriptionRuby.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).Ruby.parse(String content, String file, DynamicScope scope, int lineNumber, boolean extraPositionInformation) Deprecated.Ruby.parse(ByteList content, String file, DynamicScope scope, int lineNumber, boolean extraPositionInformation) Ruby.parseEval(String content, String file, DynamicScope scope, int lineNumber) Ruby.parseEval(ByteList content, String file, DynamicScope scope, int lineNumber) Ruby.parseFile(InputStream in, String file, DynamicScope scope) Ruby.parseFile(InputStream in, String file, DynamicScope scope, int lineNumber) Ruby.parseFile(String file, InputStream in, DynamicScope scope) Ruby.parseFile(String file, InputStream in, DynamicScope scope, int lineNumber) private NodeRuby.parseFileAndGetAST(InputStream in, String file, DynamicScope scope, int lineNumber, boolean isFromMain) Ruby.parseFileFromMain(InputStream in, String file, DynamicScope scope) Ruby.parseFileFromMain(String file, InputStream in, DynamicScope scope) private NodeRuby.parseFileFromMainAndGetAST(InputStream in, String file, DynamicScope scope) Ruby.parseInline(InputStream in, String file, DynamicScope scope) -
Uses of DynamicScope in org.jruby.ast
Fields in org.jruby.ast declared as DynamicScopeMethods in org.jruby.ast that return DynamicScopeConstructors in org.jruby.ast with parameters of type DynamicScopeModifierConstructorDescriptionRootNode(int line, DynamicScope scope, Node bodyNode, String file) RootNode(int line, DynamicScope scope, Node bodyNode, String file, int coverageMode) -
Uses of DynamicScope in org.jruby.embed
Methods in org.jruby.embed that return DynamicScopeModifier and TypeMethodDescriptionEmbedEvalUnit.getLocalVarScope()Returns a scope used to parse a script. -
Uses of DynamicScope in org.jruby.embed.internal
Fields in org.jruby.embed.internal declared as DynamicScopeMethods in org.jruby.embed.internal that return DynamicScopeModifier and TypeMethodDescription(package private) static DynamicScopeEmbedRubyRuntimeAdapterImpl.createLocalVarScope(Ruby runtime, String[] varNames) EmbedEvalUnitImpl.getLocalVarScope()Returns a ManyVarsDynamicScope used to parse a script.Methods in org.jruby.embed.internal with parameters of type DynamicScopeModifier and TypeMethodDescription(package private) voidBiVariableMap.inject(DynamicScope scope) Constructors in org.jruby.embed.internal with parameters of type DynamicScopeModifierConstructorDescription(package private)EmbedEvalUnitImpl(ScriptingContainer container, Node node, DynamicScope scope, Script script, boolean wrapExceptions) -
Uses of DynamicScope in org.jruby.embed.variable
Methods in org.jruby.embed.variable with parameters of type DynamicScopeModifier and TypeMethodDescriptionstatic voidVariableInterceptor.inject(BiVariableMap map, DynamicScope scope) Injects variable values from Java to Ruby just before an evaluation or method invocation. -
Uses of DynamicScope in org.jruby.internal.runtime.methods
Fields in org.jruby.internal.runtime.methods declared as DynamicScopeMethods in org.jruby.internal.runtime.methods with parameters of type DynamicScopeModifier and TypeMethodDescriptionprotected voidCompiledIRMethod.preSplit(InterpreterContext ic, ThreadContext context, IRubyObject self, String name, Block block, RubyModule implClass, DynamicScope scope) protected voidCompiledIRNoProtocolMethod.preSplit(InterpreterContext ic, ThreadContext context, IRubyObject self, String name, Block block, RubyModule implClass, DynamicScope scope) protected voidInterpretedIRMethod.preSplit(InterpreterContext ic, ThreadContext context, IRubyObject self, String name, Block block, RubyModule implClass, DynamicScope scope) protected voidMixedModeIRMethod.preSplit(InterpreterContext ic, ThreadContext context, IRubyObject self, String name, Block block, RubyModule implClass, DynamicScope scope) -
Uses of DynamicScope in org.jruby.ir
Fields in org.jruby.ir declared as DynamicScopeMethods in org.jruby.ir that return DynamicScopeMethods in org.jruby.ir with parameters of type DynamicScope -
Uses of DynamicScope in org.jruby.ir.instructions
Methods in org.jruby.ir.instructions with parameters of type DynamicScopeModifier and TypeMethodDescriptionprivate RubyRegexpBuildDynRegExpInstr.buildRegexp(ThreadContext context, StaticScope currScope, DynamicScope currDynScope, IRubyObject self, Object[] temp) RuntimeHelperCall.callHelper(ThreadContext context, StaticScope currScope, DynamicScope currDynScope, IRubyObject self, Object[] temp, Block block) voidCheckForLJEInstr.check(ThreadContext context, DynamicScope dynamicScope, Block block) AliasInstr.interpret(ThreadContext context, StaticScope currScope, DynamicScope currDynScope, IRubyObject self, Object[] temp) ArrayDerefInstr.interpret(ThreadContext context, StaticScope currScope, DynamicScope dynamicScope, IRubyObject self, Object[] temp) AsStringInstr.interpret(ThreadContext context, StaticScope currScope, DynamicScope currDynScope, IRubyObject self, Object[] temp) AttrAssignInstr.interpret(ThreadContext context, StaticScope currScope, DynamicScope dynamicScope, IRubyObject self, Object[] temp) BlockGivenInstr.interpret(ThreadContext context, StaticScope currScope, DynamicScope currDynScope, IRubyObject self, Object[] temp) BuildBackrefInstr.interpret(ThreadContext context, StaticScope currScope, DynamicScope currDynScope, IRubyObject self, Object[] temp) BuildCompoundArrayInstr.interpret(ThreadContext context, StaticScope currScope, DynamicScope currDynScope, IRubyObject self, Object[] temp) BuildCompoundStringInstr.interpret(ThreadContext context, StaticScope currScope, DynamicScope currDynScope, IRubyObject self, Object[] temp) BuildDynRegExpInstr.interpret(ThreadContext context, StaticScope currScope, DynamicScope currDynScope, IRubyObject self, Object[] temp) BuildLambdaInstr.interpret(ThreadContext context, StaticScope currScope, DynamicScope currDynScope, IRubyObject self, Object[] temp) BuildRangeInstr.interpret(ThreadContext context, StaticScope currScope, DynamicScope currDynScope, IRubyObject self, Object[] temp) BuildSplatInstr.interpret(ThreadContext context, StaticScope currScope, DynamicScope currDynScope, IRubyObject self, Object[] temp) CallBase.interpret(ThreadContext context, StaticScope currScope, DynamicScope dynamicScope, IRubyObject self, Object[] temp) CheckArgsArrayArityInstr.interpret(ThreadContext context, StaticScope currScope, DynamicScope currDynScope, IRubyObject self, Object[] temp) ClassSuperInstr.interpret(ThreadContext context, StaticScope currScope, DynamicScope currDynScope, IRubyObject self, Object[] temp) DefineClassInstr.interpret(ThreadContext context, StaticScope currScope, DynamicScope currDynScope, IRubyObject self, Object[] temp) DefineClassMethodInstr.interpret(ThreadContext context, StaticScope currScope, DynamicScope currDynScope, IRubyObject self, Object[] temp) DefineInstanceMethodInstr.interpret(ThreadContext context, StaticScope currScope, DynamicScope currDynScope, IRubyObject self, Object[] temp) DefineMetaClassInstr.interpret(ThreadContext context, StaticScope currScope, DynamicScope currDynScope, IRubyObject self, Object[] temp) DefineModuleInstr.interpret(ThreadContext context, StaticScope currScope, DynamicScope currDynScope, IRubyObject self, Object[] temp) EQQInstr.interpret(ThreadContext context, StaticScope currScope, DynamicScope currDynScope, IRubyObject self, Object[] temp) GetClassVarContainerModuleInstr.interpret(ThreadContext context, StaticScope currScope, DynamicScope currDynScope, IRubyObject self, Object[] temp) GetClassVariableInstr.interpret(ThreadContext context, StaticScope currScope, DynamicScope currDynScope, IRubyObject self, Object[] temp) GetEncodingInstr.interpret(ThreadContext context, StaticScope currScope, DynamicScope currDynScope, IRubyObject self, Object[] temp) GetFieldInstr.interpret(ThreadContext context, StaticScope currScope, DynamicScope currDynScope, IRubyObject self, Object[] temp) GetGlobalVariableInstr.interpret(ThreadContext context, StaticScope currScope, DynamicScope currDynScope, IRubyObject self, Object[] temp) GVarAliasInstr.interpret(ThreadContext context, StaticScope currScope, DynamicScope currDynScope, IRubyObject self, Object[] temp) InheritanceSearchConstInstr.interpret(ThreadContext context, StaticScope currScope, DynamicScope currDynScope, IRubyObject self, Object[] temp) InstanceSuperInstr.interpret(ThreadContext context, StaticScope currScope, DynamicScope currDynScope, IRubyObject self, Object[] temp) Instr.interpret(ThreadContext context, StaticScope currScope, DynamicScope currDynScope, IRubyObject self, Object[] temp) LexicalSearchConstInstr.interpret(ThreadContext context, StaticScope currScope, DynamicScope currDynScope, IRubyObject self, Object[] temp) LoadLocalVarInstr.interpret(ThreadContext context, StaticScope currScope, DynamicScope currDynScope, IRubyObject self, Object[] temp) NopInstr.interpret(ThreadContext context, StaticScope currScope, DynamicScope currDynScope, IRubyObject self, Object[] temp) OptArgMultipleAsgnInstr.interpret(ThreadContext context, StaticScope currScope, DynamicScope currDynScope, IRubyObject self, Object[] temp) ProcessModuleBodyInstr.interpret(ThreadContext context, StaticScope currScope, DynamicScope currDynScope, IRubyObject self, Object[] temp) PutClassVariableInstr.interpret(ThreadContext context, StaticScope currScope, DynamicScope currDynScope, IRubyObject self, Object[] temp) PutConstInstr.interpret(ThreadContext context, StaticScope currScope, DynamicScope currDynScope, IRubyObject self, Object[] temp) PutFieldInstr.interpret(ThreadContext context, StaticScope currScope, DynamicScope currDynScope, IRubyObject self, Object[] temp) PutGlobalVarInstr.interpret(ThreadContext context, StaticScope currScope, DynamicScope currDynScope, IRubyObject self, Object[] temp) RaiseArgumentErrorInstr.interpret(ThreadContext context, StaticScope currScope, DynamicScope currDynScope, IRubyObject self, Object[] temp) RaiseRequiredKeywordArgumentError.interpret(ThreadContext context, StaticScope currScope, DynamicScope currDynScope, IRubyObject self, Object[] temp) RecordEndBlockInstr.interpret(ThreadContext context, StaticScope currScope, DynamicScope currDynScope, IRubyObject self, Object[] temp) ReifyClosureInstr.interpret(ThreadContext context, StaticScope currScope, DynamicScope currDynScope, IRubyObject self, Object[] temp) ReqdArgMultipleAsgnInstr.interpret(ThreadContext context, StaticScope currScope, DynamicScope currDynScope, IRubyObject self, Object[] temp) RescueEQQInstr.interpret(ThreadContext context, StaticScope currScope, DynamicScope currDynScope, IRubyObject self, Object[] temp) RestArgMultipleAsgnInstr.interpret(ThreadContext context, StaticScope currScope, DynamicScope currDynScope, IRubyObject self, Object[] temp) SearchConstInstr.interpret(ThreadContext context, StaticScope currScope, DynamicScope currDynScope, IRubyObject self, Object[] temp) SearchModuleForConstInstr.interpret(ThreadContext context, StaticScope currScope, DynamicScope currDynScope, IRubyObject self, Object[] temp) SetCapturedVarInstr.interpret(ThreadContext context, StaticScope currScope, DynamicScope currDynScope, IRubyObject self, Object[] temp) StoreLocalVarInstr.interpret(ThreadContext context, StaticScope currScope, DynamicScope currDynScope, IRubyObject self, Object[] temp) ThreadPollInstr.interpret(ThreadContext context, StaticScope currScope, DynamicScope currDynScope, IRubyObject self, Object[] temp) ThrowExceptionInstr.interpret(ThreadContext context, StaticScope currScope, DynamicScope currDynScope, IRubyObject self, Object[] temp) ToAryInstr.interpret(ThreadContext context, StaticScope currScope, DynamicScope currDynScope, IRubyObject self, Object[] temp) TraceInstr.interpret(ThreadContext context, StaticScope currScope, DynamicScope currDynScope, IRubyObject self, Object[] temp) UndefMethodInstr.interpret(ThreadContext context, StaticScope currScope, DynamicScope currDynScope, IRubyObject self, Object[] temp) UnresolvedSuperInstr.interpret(ThreadContext context, StaticScope currScope, DynamicScope currDynScope, IRubyObject self, Object[] temp) YieldInstr.interpret(ThreadContext context, StaticScope currScope, DynamicScope currDynScope, IRubyObject self, Object[] temp) ZSuperInstr.interpret(ThreadContext context, StaticScope currScope, DynamicScope currDynScope, IRubyObject self, Object[] temp) intBFalseInstr.interpretAndGetNewIPC(ThreadContext context, DynamicScope currDynScope, StaticScope currScope, IRubyObject self, Object[] temp, int ipc) intBNEInstr.interpretAndGetNewIPC(ThreadContext context, DynamicScope currDynScope, StaticScope currScope, IRubyObject self, Object[] temp, int ipc) intBNilInstr.interpretAndGetNewIPC(ThreadContext context, DynamicScope currDynScope, StaticScope currScope, IRubyObject self, Object[] temp, int ipc) intBSwitchInstr.interpretAndGetNewIPC(ThreadContext context, DynamicScope currDynScope, StaticScope currScope, IRubyObject self, Object[] temp, int ipc) intBTrueInstr.interpretAndGetNewIPC(ThreadContext context, DynamicScope currDynScope, StaticScope currScope, IRubyObject self, Object[] temp, int ipc) intBUndefInstr.interpretAndGetNewIPC(ThreadContext context, DynamicScope currDynScope, StaticScope currScope, IRubyObject self, Object[] temp, int ipc) intInstr.interpretAndGetNewIPC(ThreadContext context, DynamicScope currDynScope, StaticScope currScope, IRubyObject self, Object[] temp, int ipc) intModuleVersionGuardInstr.interpretAndGetNewIPC(ThreadContext context, DynamicScope currDynScope, StaticScope currScope, IRubyObject self, Object[] temp, int ipc) CallBase.prepareArguments(ThreadContext context, IRubyObject self, StaticScope currScope, DynamicScope dynamicScope, Object[] temp) protected IRubyObject[]CallBase.prepareArgumentsComplex(ThreadContext context, IRubyObject self, StaticScope currScope, DynamicScope currDynScope, Object[] temp) protected IRubyObject[]CallBase.prepareArgumentsSimple(ThreadContext context, IRubyObject self, StaticScope currScope, DynamicScope currDynScope, Object[] temp) CallBase.prepareBlock(ThreadContext context, IRubyObject self, StaticScope currScope, DynamicScope currDynScope, Object[] temp) private RubyString[]BuildDynRegExpInstr.retrievePieces(ThreadContext context, IRubyObject self, StaticScope currScope, DynamicScope currDynScope, Object[] temp) private booleanModuleVersionGuardInstr.versionMatches(ThreadContext context, StaticScope currScope, DynamicScope currDynScope, IRubyObject self, Object[] temp) -
Uses of DynamicScope in org.jruby.ir.instructions.defined
Methods in org.jruby.ir.instructions.defined with parameters of type DynamicScopeModifier and TypeMethodDescriptionGetErrorInfoInstr.interpret(ThreadContext context, StaticScope currScope, DynamicScope currDynScope, IRubyObject self, Object[] temp) RestoreErrorInfoInstr.interpret(ThreadContext context, StaticScope currScope, DynamicScope currDynScope, IRubyObject self, Object[] temp) -
Uses of DynamicScope in org.jruby.ir.instructions.specialized
Methods in org.jruby.ir.instructions.specialized with parameters of type DynamicScopeModifier and TypeMethodDescriptionOneArgOperandAttrAssignInstr.interpret(ThreadContext context, StaticScope currScope, DynamicScope dynamicScope, IRubyObject self, Object[] temp) OneFixnumArgNoBlockCallInstr.interpret(ThreadContext context, StaticScope currScope, DynamicScope dynamicScope, IRubyObject self, Object[] temp) OneFloatArgNoBlockCallInstr.interpret(ThreadContext context, StaticScope currScope, DynamicScope dynamicScope, IRubyObject self, Object[] temp) OneOperandArgBlockCallInstr.interpret(ThreadContext context, StaticScope currScope, DynamicScope dynamicScope, IRubyObject self, Object[] temp) OneOperandArgNoBlockCallInstr.interpret(ThreadContext context, StaticScope currScope, DynamicScope dynamicScope, IRubyObject self, Object[] temp) OneOperandArgNoBlockNoResultCallInstr.interpret(ThreadContext context, StaticScope currScope, DynamicScope dynamicScope, IRubyObject self, Object[] temp) TwoOperandArgNoBlockCallInstr.interpret(ThreadContext context, StaticScope currScope, DynamicScope dynamicScope, IRubyObject self, Object[] temp) ZeroOperandArgNoBlockCallInstr.interpret(ThreadContext context, StaticScope currScope, DynamicScope dynamicScope, IRubyObject self, Object[] temp) -
Uses of DynamicScope in org.jruby.ir.interpreter
Methods in org.jruby.ir.interpreter that return DynamicScopeModifier and TypeMethodDescriptionClosureInterpreterContext.newDynamicScope(ThreadContext context) Blocks have more complicated logic for pushing a dynamic scope (see InterpretedIRBlockBody).InterpreterContext.newDynamicScope(ThreadContext context) Get a new dynamic scope.Methods in org.jruby.ir.interpreter with parameters of type DynamicScopeModifier and TypeMethodDescriptionprivate static IRubyObjectInterpreter.evalCommon(ThreadContext context, DynamicScope evalScope, IRubyObject self, IRubyObject src, String file, int lineNumber, String name, Block blockArg, EvalType evalType) ExitableInterpreterContext.getArgs(ThreadContext context, IRubyObject self, StaticScope currScope, DynamicScope currDynScope, Object[] temps) private static InterpreterContextInterpreter.prepareIC(ThreadContext context, DynamicScope evalScope, IRubyObject src, String file, int lineNumber, EvalType evalType) protected static voidInterpreterEngine.processBookKeepingOp(ThreadContext context, Block block, Instr instr, Operation operation, String name, IRubyObject[] args, IRubyObject self, Block blockArg, RubyModule implClass, DynamicScope currDynScope, Object[] temp, StaticScope currScope) protected static voidInterpreterEngine.processCall(ThreadContext context, Instr instr, Operation operation, DynamicScope currDynScope, StaticScope currScope, Object[] temp, IRubyObject self) protected static voidExitableInterpreterEngine.processOtherOp(ThreadContext context, Block block, Instr instr, Operation operation, DynamicScope currDynScope, StaticScope currScope, Object[] temp, IRubyObject self) protected static voidInterpreterEngine.processOtherOp(ThreadContext context, Block block, Instr instr, Operation operation, DynamicScope currDynScope, StaticScope currScope, Object[] temp, IRubyObject self, double[] floats, long[] fixnums, boolean[] booleans) protected static voidStartupInterpreterEngine.processOtherOp(ThreadContext context, Block block, Instr instr, Operation operation, DynamicScope currDynScope, StaticScope currScope, Object[] temp, IRubyObject self) protected static IRubyObjectInterpreterEngine.processReturnOp(ThreadContext context, Block block, Instr instr, Operation operation, DynamicScope currDynScope, Object[] temp, IRubyObject self, StaticScope currScope) protected static voidInterpreterEngine.receiveArg(ThreadContext context, Instr i, Operation operation, IRubyObject[] args, boolean acceptsKeywordArgument, DynamicScope currDynScope, Object[] temp, Object exception, Block blockArg) protected static ObjectInterpreterEngine.retrieveOp(Operand r, ThreadContext context, IRubyObject self, DynamicScope currDynScope, StaticScope currScope, Object[] temp) protected static voidInterpreterEngine.setResult(Object[] temp, DynamicScope currDynScope, Instr instr, Object result) protected static voidInterpreterEngine.setResult(Object[] temp, DynamicScope currDynScope, Variable resultVar, Object result) -
Uses of DynamicScope in org.jruby.ir.operands
Methods in org.jruby.ir.operands with parameters of type DynamicScopeModifier and TypeMethodDescriptionArray.retrieve(ThreadContext context, IRubyObject self, StaticScope currScope, DynamicScope currDynScope, Object[] temp) CurrentScope.retrieve(ThreadContext context, IRubyObject self, StaticScope currScope, DynamicScope currDynScope, Object[] temp) DynamicSymbol.retrieve(ThreadContext context, IRubyObject self, StaticScope currScope, DynamicScope currDynScope, Object[] temp) Filename.retrieve(ThreadContext context, IRubyObject self, StaticScope currScope, DynamicScope currDynScope, Object[] temp) GlobalVariable.retrieve(ThreadContext context, IRubyObject self, StaticScope currScope, DynamicScope currDynScope, Object[] temp) Hash.retrieve(ThreadContext context, IRubyObject self, StaticScope currScope, DynamicScope currDynScope, Object[] temp) ImmutableLiteral.retrieve(ThreadContext context, IRubyObject self, StaticScope currScope, DynamicScope currDynScope, Object[] temp) retrieve the live value represented by this immutable literal.LocalVariable.retrieve(ThreadContext context, IRubyObject self, StaticScope currScope, DynamicScope currDynScope, Object[] temp) MutableString.retrieve(ThreadContext context, IRubyObject self, StaticScope currScope, DynamicScope currDynScope, Object[] temp) NthRef.retrieve(ThreadContext context, IRubyObject self, StaticScope currScope, DynamicScope currDynScope, Object[] temp) ObjectClass.retrieve(ThreadContext context, IRubyObject self, StaticScope currScope, DynamicScope currDynScope, Object[] temp) Operand.retrieve(ThreadContext context, IRubyObject self, StaticScope currScope, DynamicScope currDynScope, Object[] temp) Scope.retrieve(ThreadContext context, IRubyObject self, StaticScope currScope, DynamicScope currDynScope, Object[] temp) ScopeModule.retrieve(ThreadContext context, IRubyObject self, StaticScope currScope, DynamicScope currDynScope, Object[] temp) Self.retrieve(ThreadContext context, IRubyObject self, StaticScope currScope, DynamicScope currDynScope, Object[] temp) Splat.retrieve(ThreadContext context, IRubyObject self, StaticScope currScope, DynamicScope currDynScope, Object[] temp) StandardError.retrieve(ThreadContext context, IRubyObject self, StaticScope currScope, DynamicScope currDynScope, Object[] temp) SValue.retrieve(ThreadContext context, IRubyObject self, StaticScope currScope, DynamicScope currDynScope, Object[] temp) TemporaryLocalVariable.retrieve(ThreadContext context, IRubyObject self, StaticScope currScope, DynamicScope currDynScope, Object[] temp) UndefinedValue.retrieve(ThreadContext context, IRubyObject self, StaticScope currScope, DynamicScope currDynScope, Object[] temp) UnexecutableNil.retrieve(ThreadContext context, IRubyObject self, StaticScope currScope, DynamicScope currDynScope, Object[] temp) WrappedIRClosure.retrieve(ThreadContext context, IRubyObject self, StaticScope currScope, DynamicScope currDynScope, Object[] temp) Array.retrieveArrayElts(ThreadContext context, IRubyObject self, StaticScope currScope, DynamicScope currDynScope, Object[] temp) -
Uses of DynamicScope in org.jruby.ir.runtime
Fields in org.jruby.ir.runtime declared as DynamicScopeModifier and TypeFieldDescriptionfinal DynamicScopeIRReturnJump.methodToReturnFromfinal DynamicScopeIRBreakJump.scopeToReturnToMethods in org.jruby.ir.runtime that return DynamicScopeModifier and TypeMethodDescriptionprivate static DynamicScopeIRRuntimeHelpers.getContainingLambda(DynamicScope dynamicScope) private static DynamicScopeIRRuntimeHelpers.getContainingReturnToScope(DynamicScope returnLocationScope) private static DynamicScopeIRRuntimeHelpers.getNewBlockScope(Block block, boolean pushNewDynScope, boolean reuseParentDynScope) static DynamicScopeIRRuntimeHelpers.prepareScriptScope(ThreadContext context, StaticScope scope) static DynamicScopeIRRuntimeHelpers.pushBlockDynamicScopeIfNeeded(ThreadContext context, Block block, boolean pushNewDynScope, boolean reuseParentDynScope) static DynamicScopeIRRuntimeHelpers.pushBlockDynamicScopeNew(ThreadContext context, Block block) static DynamicScopeIRRuntimeHelpers.pushBlockDynamicScopeReuse(ThreadContext context, Block block) Methods in org.jruby.ir.runtime with parameters of type DynamicScopeModifier and TypeMethodDescriptionstatic voidIRRuntimeHelpers.checkForLJE(ThreadContext context, DynamicScope currentScope, boolean definedWithinMethod, Block block) static IRBreakJumpIRBreakJump.create(DynamicScope scopeToReturnTo, IRubyObject rv) Deprecated.static IRBreakJumpIRBreakJump.create(DynamicScope scopeToReturnTo, IRubyObject rv, boolean breakInEval) static IRReturnJumpIRReturnJump.create(StaticScope returnScope, DynamicScope scopeToReturnFrom, Object rv) static voidIRRuntimeHelpers.defCompiledInstanceMethod(ThreadContext context, MethodHandle variable, MethodHandle specific, int specificArity, String id, int line, StaticScope scope, String encodedArgumentDescriptors, DynamicScope currDynScope, IRubyObject self, boolean maybeRefined, boolean receivesKeywordArgs, boolean needsToFindImplementer) static voidIRRuntimeHelpers.defCompiledInstanceMethod(ThreadContext context, MethodHandle handle, String id, int line, StaticScope scope, String encodedArgumentDescriptors, DynamicScope currDynScope, IRubyObject self, boolean maybeRefined, boolean receivesKeywordArgs, boolean needsToFindImplementer) static voidIRRuntimeHelpers.defineAlias(ThreadContext context, IRubyObject self, DynamicScope currDynScope, IRubyObject newName, IRubyObject oldName) static voidIRRuntimeHelpers.defInterpretedInstanceMethod(ThreadContext context, IRScope method, DynamicScope currDynScope, IRubyObject self) private static IRScopeTypeIRRuntimeHelpers.ensureScopeIsClosure(ThreadContext context, DynamicScope dynamicScope) static RubyModuleIRRuntimeHelpers.findInstanceMethodContainer(ThreadContext context, DynamicScope currDynScope, IRubyObject self) private static DynamicScopeIRRuntimeHelpers.getContainingLambda(DynamicScope dynamicScope) private static DynamicScopeIRRuntimeHelpers.getContainingReturnToScope(DynamicScope returnLocationScope) static IRubyObjectIRRuntimeHelpers.handleBreakAndReturnsInLambdas(ThreadContext context, DynamicScope dynScope, Object exc, Block block) static IRubyObjectIRRuntimeHelpers.handleNonlocalReturn(DynamicScope currentScope, Object rjExc) static IRubyObjectIRRuntimeHelpers.handlePropagatedBreak(ThreadContext context, DynamicScope dynScope, Object bjExc) static IRubyObjectIRRuntimeHelpers.initiateBreak(ThreadContext context, DynamicScope dynScope, IRubyObject breakValue, Block block) static IRubyObjectIRRuntimeHelpers.initiateNonLocalReturn(DynamicScope currentScope, Block block, IRubyObject returnValue) private static booleanIRRuntimeHelpers.inReturnToScope(Block.Type blockType, IRReturnJump exception, DynamicScope currentScope) booleanIRReturnJump.isReturnToScope(DynamicScope scope) static BindingIRRuntimeHelpers.newFrameScopeBinding(ThreadContext context, IRubyObject self, DynamicScope scope) static BlockIRRuntimeHelpers.prepareBlock(ThreadContext context, IRubyObject self, DynamicScope scope, BlockBody body) static IRubyObjectIRRuntimeHelpers.undefMethod(ThreadContext context, Object nameArg, DynamicScope currDynScope, IRubyObject self) Constructors in org.jruby.ir.runtime with parameters of type DynamicScopeModifierConstructorDescriptionprivateIRBreakJump(DynamicScope scopeToReturnTo, IRubyObject rv, boolean breakInEval) privateIRReturnJump(StaticScope returnScope, DynamicScope scopeToReturnFrom, Object rv) -
Uses of DynamicScope in org.jruby.ir.targets.indy
Methods in org.jruby.ir.targets.indy with parameters of type DynamicScopeModifier and TypeMethodDescriptionstatic BindingBootstrap.frameBinding(ThreadContext context, IRubyObject self, DynamicScope scope) static BindingBootstrap.scopeBinding(ThreadContext context, IRubyObject self, DynamicScope scope) static BindingBootstrap.selfBinding(ThreadContext context, IRubyObject self, DynamicScope scope) -
Uses of DynamicScope in org.jruby.parser
Fields in org.jruby.parser declared as DynamicScopeModifier and TypeFieldDescriptionprivate DynamicScopeStaticScope.dummyScopeprivate DynamicScopeParserConfiguration.existingScopeprivate DynamicScopeRubyParserResult.scopeMethods in org.jruby.parser that return DynamicScopeModifier and TypeMethodDescriptionStaticScope.construct(DynamicScope parent) StaticScope.getDummyScope()This method returns the appropriate first scope for the parser.RubyParserResult.getScope()Methods in org.jruby.parser with parameters of type DynamicScopeModifier and TypeMethodDescriptionStaticScope.construct(DynamicScope parent) Parser.parse(String file, byte[] content, DynamicScope blockScope, ParserConfiguration configuration) Parser.parse(String file, InputStream content, DynamicScope blockScope, ParserConfiguration configuration) Parser.parse(String file, LexerSource lexerSource, DynamicScope blockScope, ParserConfiguration configuration) Parser.parse(String file, ByteList content, DynamicScope blockScope, ParserConfiguration configuration) voidParserConfiguration.parseAsBlock(DynamicScope existingScope) If we are performing an eval we should pass existing scope in.voidRubyParserResult.setScope(DynamicScope scope) -
Uses of DynamicScope in org.jruby.runtime
Fields in org.jruby.runtime declared as DynamicScopeModifier and TypeFieldDescriptionprivate DynamicScopeBinding.dummyScopeprivate final DynamicScopeBinding.dynamicScopeA reference to all variable values (and names) that are in-scope for this block.private DynamicScopeBinding.evalScopeBinding-local scope for 1.9 mode.protected final DynamicScopeDynamicScope.parentprivate DynamicScope[]ThreadContext.scopeStackMethods in org.jruby.runtime that return DynamicScopeModifier and TypeMethodDescriptionBlock.allocScope(DynamicScope parentScope) DynamicScope.cloneScope()Deprecated.ThreadContext.getCurrentScope()Binding.getDummyScope(StaticScope staticScope) Binding.getDynamicScope()Gets the dynamicVariables that are local to this block.final DynamicScopeBinding.getEvalScope(Ruby runtime) DynamicScope.getNextCapturedScope()Deprecated.DynamicScope.getNthParentScope(int n) Returns the n-th parent scope of this scope.final DynamicScopeDynamicScope.getParentScope()Get parent (capturing) scope.static DynamicScopeDynamicScope.newDummyScope(StaticScope staticScope, DynamicScope parent) static DynamicScopeDynamicScope.newDynamicScope(StaticScope staticScope) static DynamicScopeDynamicScope.newDynamicScope(StaticScope staticScope, DynamicScope parent) static DynamicScopeDynamicScope.newDynamicScope(StaticScope staticScope, DynamicScope parent, EvalType evalType) ThreadContext.pushNewScope(StaticScope staticScope) Methods in org.jruby.runtime with parameters of type DynamicScopeModifier and TypeMethodDescriptionBlock.allocScope(DynamicScope parentScope) ThreadContext.currentBinding(IRubyObject self, DynamicScope scope) Return a binding representing the current call's state but with the specified scope and self.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 DynamicScopeDynamicScope.newDummyScope(StaticScope staticScope, DynamicScope parent) static DynamicScopeDynamicScope.newDynamicScope(StaticScope staticScope, DynamicScope parent) static DynamicScopeDynamicScope.newDynamicScope(StaticScope staticScope, DynamicScope parent, EvalType evalType) voidThreadContext.preEvalScriptlet(DynamicScope scope) voidThreadContext.preScopedBody(DynamicScope scope) voidThreadContext.pushScope(DynamicScope scope) booleanThreadContext.scopeExistsOnCallStack(DynamicScope scope) Check if a scope is present on the call stack.Constructors in org.jruby.runtime with parameters of type DynamicScopeModifierConstructorDescriptionBinding(IRubyObject self, DynamicScope dynamicScope) Binding(IRubyObject self, Frame frame, Visibility visibility, DynamicScope dynamicScope) Binding(IRubyObject self, Frame frame, Visibility visibility, DynamicScope dynamicScope, String method, String filename, int line) privateBinding(IRubyObject self, Frame frame, Visibility visibility, DynamicScope dynamicScope, String method, String filename, int line, DynamicScope dummyScope) Binding(IRubyObject self, Frame frame, Visibility visibility, DynamicScope dynamicScope, BacktraceElement backtrace) Deprecated.Binding(Frame frame, DynamicScope dynamicScope, String method, String filename, int line) Binding(Frame frame, DynamicScope dynamicScope, BacktraceElement backtrace) Deprecated.protectedDynamicScope(StaticScope staticScope, DynamicScope parent) -
Uses of DynamicScope in org.jruby.runtime.scope
Subclasses of DynamicScope in org.jruby.runtime.scopeModifier and TypeClassDescriptionclassRepresents the the dynamic portion of scoping information.Methods in org.jruby.runtime.scope that return DynamicScopeConstructors in org.jruby.runtime.scope with parameters of type DynamicScope