Interface IScope<K,V extends ISymbol>

All Superinterfaces:
Map<K,V>
All Known Implementing Classes:
CommonSymbolsScope, StandardScope

public interface IScope<K,V extends ISymbol> extends Map<K,V>
  • Method Details

    • copy

      IScope<K,V> copy()
      Shallow copy this scope
    • getActivationCtx

      IActivationContext getActivationCtx()
      Get the activation record context. This can be any object representing the activation record e.g., a function symbol, a rule set context, whatever delimits a call boundary.
      Returns:
      The activation context.
    • countSymbols

      int countSymbols()
      visit all symbols in this Scope,
      Returns:
      true if the visitor want to continue visitiong other symbol/scope, false otherwise.
    • put

      V put(K key, V value)
      Specified by:
      put in interface Map<K,V extends ISymbol>
    • getCSR

      int getCSR()
      Returns:
      the compile-time csr for this scope if it exists
    • setCSR

      void setCSR(int csr)