Uses of Class
com.google.javascript.jscomp.SymbolTable.Symbol
-
Packages that use SymbolTable.Symbol Package Description com.google.javascript.jscomp -
-
Uses of SymbolTable.Symbol in com.google.javascript.jscomp
Methods in com.google.javascript.jscomp that return SymbolTable.Symbol Modifier and Type Method Description @Nullable SymbolTable.Symbol
SymbolTable. getParameterInFunction(SymbolTable.Symbol sym, java.lang.String paramName)
Ifsym
is a function, try to find a Symbol for a parameter with the given name.@Nullable SymbolTable.Symbol
SymbolTable.SymbolScope. getQualifiedSlot(java.lang.String name)
Get the slot for a fully-qualified name (e.g., "a.b.c") by trying to find property scopes at each part of the path.@Nullable SymbolTable.Symbol
SymbolTable.SymbolScope. getSlot(java.lang.String name)
SymbolTable.Symbol
SymbolTable. getSymbolDeclaredBy(EnumType enumType)
Gets the symbol for the given enum.SymbolTable.Symbol
SymbolTable. getSymbolDeclaredBy(FunctionType fn)
Gets the symbol for the given constructor or interface.@Nullable SymbolTable.Symbol
SymbolTable. getSymbolForInstancesOf(SymbolTable.Symbol sym)
Gets the symbol for the prototype if this is the symbol for a constructor or interface.SymbolTable.Symbol
SymbolTable. getSymbolForInstancesOf(FunctionType fn)
Gets the symbol for the prototype of the given constructor or interface.SymbolTable.Symbol
SymbolTable. getSymbolForScope(SymbolTable.SymbolScope scope)
All local scopes are associated with a function, and some functions are associated with a symbol.Methods in com.google.javascript.jscomp that return types with arguments of type SymbolTable.Symbol Modifier and Type Method Description com.google.common.collect.ImmutableList<SymbolTable.Symbol>
SymbolTable. getAllSymbols()
java.util.List<SymbolTable.Symbol>
SymbolTable. getAllSymbolsForType(JSType type)
Gets all symbols associated with the given type.java.lang.Iterable<SymbolTable.Symbol>
SymbolTable. getAllSymbolsForTypeOf(SymbolTable.Symbol sym)
Get all symbols associated with the type of the given symbol.java.util.List<SymbolTable.Symbol>
SymbolTable. getAllSymbolsSorted()
Get the symbols in their natural ordering.com.google.common.collect.Ordering<SymbolTable.Symbol>
SymbolTable. getNaturalSymbolOrdering()
Gets the 'natural' ordering of symbols.Methods in com.google.javascript.jscomp with parameters of type SymbolTable.Symbol Modifier and Type Method Description java.lang.Iterable<SymbolTable.Symbol>
SymbolTable. getAllSymbolsForTypeOf(SymbolTable.Symbol sym)
Get all symbols associated with the type of the given symbol.int
SymbolTable.SymbolScope. getIndexOfSymbol(SymbolTable.Symbol sym)
Gets a unique index for the symbol in this scope.@Nullable SymbolTable.Symbol
SymbolTable. getParameterInFunction(SymbolTable.Symbol sym, java.lang.String paramName)
Ifsym
is a function, try to find a Symbol for a parameter with the given name.com.google.common.collect.ImmutableList<SymbolTable.Reference>
SymbolTable. getReferenceList(SymbolTable.Symbol symbol)
java.lang.Iterable<SymbolTable.Reference>
SymbolTable. getReferences(SymbolTable.Symbol symbol)
SymbolTable.SymbolScope
SymbolTable. getScope(SymbolTable.Symbol slot)
@Nullable SymbolTable.Symbol
SymbolTable. getSymbolForInstancesOf(SymbolTable.Symbol sym)
Gets the symbol for the prototype if this is the symbol for a constructor or interface.
-