Uses of Interface
com.google.javascript.rhino.StaticScope
Packages that use StaticScope
Package
Description
-
Uses of StaticScope in com.google.javascript.jscomp
Classes in com.google.javascript.jscomp that implement StaticScopeModifier and TypeClassDescriptionclass
AbstractScope<S extends AbstractScope<S,
V>, V extends AbstractVar<S, V>> Scope contains information about a variable scope in JavaScript.final class
Scope contains information about a variable scope in JavaScript.class
TypedScope contains information about variables and their types.Methods in com.google.javascript.jscomp that return StaticScopeModifier and TypeMethodDescription@Nullable StaticScope
TypedScope.getTopmostScopeOfEventualDeclaration
(String name) -
Uses of StaticScope in com.google.javascript.jscomp.type
Subinterfaces of StaticScope in com.google.javascript.jscomp.typeModifier and TypeInterfaceDescriptioninterface
A symbol table for inferring types during data flow analysis. -
Uses of StaticScope in com.google.javascript.rhino
Methods in com.google.javascript.rhino that return StaticScopeModifier and TypeMethodDescriptionStaticScope.getParentScope()
Returns the scope enclosing this one or null if none.StaticSlot.getScope()
Returns the scope for a given symbol.default @Nullable StaticScope
StaticScope.getTopmostScopeOfEventualDeclaration
(String name) Returns the topmost slot containing this name, or null if no slots do. -
Uses of StaticScope in com.google.javascript.rhino.jstype
Subinterfaces of StaticScope in com.google.javascript.rhino.jstypeModifier and TypeInterfaceDescriptioninterface
TheStaticTypedScope
interface must be implemented by any object that defines variables for the purposes of static analysis.Methods in com.google.javascript.rhino.jstype with parameters of type StaticScopeModifier and TypeMethodDescriptionboolean
JSTypeRegistry.declareType
(StaticScope scope, String name, JSType type) Records declared global type names.boolean
JSTypeRegistry.declareTypeForExactScope
(StaticScope scope, String name, JSType type) Records declared global type names.JSTypeRegistry.getType
(@Nullable StaticScope scope, String jsTypeName) Looks up a native type by name.void
JSTypeRegistry.identifyNonNullableName
(@Nullable StaticScope scope, String name) Identifies the name of a typedef or enum before we actually declare it.boolean
JSTypeRegistry.isNonNullableName
(StaticScope scope, String name) Identifies the name of a typedef or enum before we actually declare it.@Nullable com.google.common.collect.ImmutableList
<TemplateType> JSTypeRegistry.maybeGetTemplateTypesOfBuiltin
(StaticScope scope, String fnName) Returns an immutable list of template types of the given builtin.void
JSTypeRegistry.overwriteDeclaredType
(StaticScope scope, String name, JSType type) Overrides a declared global type name.