Class ClosureInterpreterContext

java.lang.Object
org.jruby.ir.interpreter.InterpreterContext
org.jruby.ir.interpreter.ClosureInterpreterContext

public class ClosureInterpreterContext extends InterpreterContext
Interpreter knowledge needed to interpret a closure.
  • Constructor Details

  • Method Details

    • newDynamicScope

      public DynamicScope newDynamicScope(ThreadContext context)
      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 class InterpreterContext