Interface LocalVariableCompiler

All Known Implementing Classes:
IndyLocalVariableCompiler, NormalLocalVariableCompiler

public interface LocalVariableCompiler
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    getHeapLocal(int depth, int index)
    Load local variable from dynamic scope.
    void
    getHeapLocalOrNil(int depth, int index)
    Load local variable from dynamic scope, returning nil if the resulting value is null.
  • Method Details

    • getHeapLocal

      void getHeapLocal(int depth, int index)
      Load local variable from dynamic scope.

      Stack required: scope Stack result: value

      Parameters:
      depth - depth into scope stack
      index - index into scope
    • getHeapLocalOrNil

      void getHeapLocalOrNil(int depth, int index)
      Load local variable from dynamic scope, returning nil if the resulting value is null.

      Stack required: scope Stack result: value

      Parameters:
      depth - depth into scope stack
      index - index into scope