Interface StaticSymbolTable<S extends StaticSlot,​R extends StaticRef>

  • All Known Implementing Classes:
    ReferenceCollector

    public interface StaticSymbolTable<S extends StaticSlot,​R extends StaticRef>
    Lookup references by the symbols that they refer to.
    • Method Detail

      • getReferences

        java.lang.Iterable<R> getReferences​(S symbol)
        Returns the references that point to the given symbol.
      • getScope

        StaticScope getScope​(S symbol)
        Returns the scope for a given symbol.
      • getAllSymbols

        java.lang.Iterable<S> getAllSymbols()
        Returns all variables in this symbol table.