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 TypeClassDescriptionclassAbstractScope<S extends AbstractScope<S,V>, V extends AbstractVar<S, V>> Scope contains information about a variable scope in JavaScript.final classScope contains information about a variable scope in JavaScript.classTypedScope contains information about variables and their types.Methods in com.google.javascript.jscomp that return StaticScopeModifier and TypeMethodDescription@Nullable StaticScopeTypedScope.getTopmostScopeOfEventualDeclaration(String name) -
Uses of StaticScope in com.google.javascript.jscomp.type
Subinterfaces of StaticScope in com.google.javascript.jscomp.typeModifier and TypeInterfaceDescriptioninterfaceA 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 StaticScopeStaticScope.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 TypeInterfaceDescriptioninterfaceTheStaticTypedScopeinterface 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 TypeMethodDescriptionbooleanJSTypeRegistry.declareType(StaticScope scope, String name, JSType type) Records declared global type names.booleanJSTypeRegistry.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.voidJSTypeRegistry.identifyNonNullableName(@Nullable StaticScope scope, String name) Identifies the name of a typedef or enum before we actually declare it.booleanJSTypeRegistry.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.voidJSTypeRegistry.overwriteDeclaredType(StaticScope scope, String name, JSType type) Overrides a declared global type name.