com.google.javascript.rhino.jstype
Interface StaticSymbolTable<S extends StaticSlot<JSType>,R extends StaticReference<JSType>>

All Known Implementing Classes:
Scope, SymbolTable

public interface StaticSymbolTable<S extends StaticSlot<JSType>,R extends StaticReference<JSType>>

Lookup references by the symbols that they refer to.


Method Summary
 Iterable<S> getAllSymbols()
          Returns all variables in this symbol table.
 Iterable<R> getReferences(S symbol)
          Returns the references that point to the given symbol.
 StaticScope<JSType> getScope(S symbol)
          Returns the scope for a given symbol.
 

Method Detail

getReferences

Iterable<R> getReferences(S symbol)
Returns the references that point to the given symbol.


getScope

StaticScope<JSType> getScope(S symbol)
Returns the scope for a given symbol.


getAllSymbols

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