Package com.google.javascript.rhino
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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.Iterable<S>
getAllSymbols()
Returns all variables in this symbol table.java.lang.Iterable<R>
getReferences(S symbol)
Returns the references that point to the given symbol.StaticScope
getScope(S symbol)
Returns the scope for a given symbol.
-
-
-
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.
-
-