Uses of Class
com.google.javascript.jscomp.SymbolTable.Symbol
-
Packages that use SymbolTable.Symbol Package Description com.google.javascript.jscomp Provides the core compiler and its public API. -
-
Uses of SymbolTable.Symbol in com.google.javascript.jscomp
Methods in com.google.javascript.jscomp that return SymbolTable.Symbol Modifier and Type Method Description SymbolTable.SymbolSymbolTable. getParameterInFunction(SymbolTable.Symbol sym, java.lang.String paramName)Ifsymis a function, try to find a Symbol for a parameter with the given name.SymbolTable.SymbolSymbolTable.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.SymbolTable.SymbolSymbolTable.SymbolScope. getSlot(java.lang.String name)SymbolTable.SymbolSymbolTable. getSymbolDeclaredBy(EnumType enumType)Gets the symbol for the given enum.SymbolTable.SymbolSymbolTable. getSymbolDeclaredBy(FunctionType fn)Gets the symbol for the given constructor or interface.SymbolTable.SymbolSymbolTable. getSymbolForInstancesOf(SymbolTable.Symbol sym)Gets the symbol for the prototype if this is the symbol for a constructor or interface.SymbolTable.SymbolSymbolTable. getSymbolForInstancesOf(FunctionType fn)Gets the symbol for the prototype of the given constructor or interface.SymbolTable.SymbolSymbolTable. 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.intSymbolTable.SymbolScope. getIndexOfSymbol(SymbolTable.Symbol sym)Gets a unique index for the symbol in this scope.SymbolTable.SymbolSymbolTable. getParameterInFunction(SymbolTable.Symbol sym, java.lang.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)java.lang.Iterable<SymbolTable.Reference>SymbolTable. getReferences(SymbolTable.Symbol symbol)SymbolTable.SymbolScopeSymbolTable. getScope(SymbolTable.Symbol slot)SymbolTable.SymbolSymbolTable. getSymbolForInstancesOf(SymbolTable.Symbol sym)Gets the symbol for the prototype if this is the symbol for a constructor or interface.
-