Package org.jruby.ir.interpreter
Class ClosureInterpreterContext
java.lang.Object
org.jruby.ir.interpreter.InterpreterContext
org.jruby.ir.interpreter.ClosureInterpreterContext
Interpreter knowledge needed to interpret a closure.
-
Field Summary
Fields inherited from class org.jruby.ir.interpreter.InterpreterContext
dynamicScopeEliminated, hasExplicitCallProtocol, instructions, instructionsCallback, rescueIPCs, temporaryVariableCount
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionnewDynamicScope
(ThreadContext context) Blocks have more complicated logic for pushing a dynamic scope (see InterpretedIRBlockBody).Methods inherited from class org.jruby.ir.interpreter.InterpreterContext
allocateTemporaryBooleanVariables, allocateTemporaryFixnumVariables, allocateTemporaryFloatVariables, allocateTemporaryVariables, computeScopeFlagsFromInstructions, getCFG, getEngine, getFileName, getFlags, getInstructions, getLine, getName, getRequiredArgsCount, getRescueIPCs, getScope, getStaticScope, getTemporaryVariableCount, hasExplicitCallProtocol, initialize, isDynamicScopeEliminated, isEND, isRuby2Keywords, popDynScope, pushNewDynScope, receivesKeywordArguments, reuseParentDynScope, setDynamicScopeEliminated, setExplicitCallProtocol, setReuseParentDynScope, toString, toStringInstrs
-
Constructor Details
-
ClosureInterpreterContext
-
ClosureInterpreterContext
-
-
Method Details
-
newDynamicScope
Blocks have more complicated logic for pushing a dynamic scope (see InterpretedIRBlockBody). We throw an error in case somehow we mistakenly try and push a binding.- Overrides:
newDynamicScope
in classInterpreterContext
-