Uses of Class
com.google.javascript.jscomp.SymbolTable.Symbol
Packages that use SymbolTable.Symbol
-
Uses of SymbolTable.Symbol in com.google.javascript.jscomp
Methods in com.google.javascript.jscomp that return SymbolTable.SymbolModifier and TypeMethodDescription@Nullable SymbolTable.SymbolSymbolTable.getParameterInFunction(SymbolTable.Symbol sym, String paramName) Ifsymis a function, try to find a Symbol for a parameter with the given name.@Nullable SymbolTable.SymbolSymbolTable.SymbolScope.getQualifiedSlot(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.SymbolSymbolTable.getSymbolDeclaredBy(EnumType enumType) Gets the symbol for the given enum.SymbolTable.getSymbolDeclaredBy(FunctionType fn) Gets the symbol for the given constructor or interface.@Nullable SymbolTable.SymbolSymbolTable.getSymbolForInstancesOf(SymbolTable.Symbol sym) Gets the symbol for the prototype if this is the symbol for a constructor or interface.SymbolTable.getSymbolForInstancesOf(FunctionType fn) Gets the symbol for the prototype of the given constructor or interface.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.SymbolModifier and TypeMethodDescriptioncom.google.common.collect.ImmutableList<SymbolTable.Symbol> SymbolTable.getAllSymbols()SymbolTable.getAllSymbolsForType(JSType type) Gets all symbols associated with the given type.SymbolTable.getAllSymbolsForTypeOf(SymbolTable.Symbol sym) Get all symbols associated with the type of the given 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.SymbolModifier and TypeMethodDescriptionSymbolTable.getAllSymbolsForTypeOf(SymbolTable.Symbol sym) Get all symbols associated with the type of the given symbol.intSymbolTable.SymbolScope.getIndexOfSymbol(SymbolTable.Symbol sym) Gets a unique index for the symbol in this scope.@Nullable SymbolTable.SymbolSymbolTable.getParameterInFunction(SymbolTable.Symbol sym, String paramName) Ifsymis 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) SymbolTable.getReferences(SymbolTable.Symbol symbol) SymbolTable.getScope(SymbolTable.Symbol slot) @Nullable SymbolTable.SymbolSymbolTable.getSymbolForInstancesOf(SymbolTable.Symbol sym) Gets the symbol for the prototype if this is the symbol for a constructor or interface.