Uses of Interface
com.google.javascript.rhino.StaticScope
-
Packages that use StaticScope Package Description com.google.javascript.jscomp com.google.javascript.jscomp.type com.google.javascript.rhino com.google.javascript.rhino.jstype -
-
Uses of StaticScope in com.google.javascript.jscomp
Classes in com.google.javascript.jscomp that implement StaticScope Modifier and Type Class Description class
AbstractScope<S extends AbstractScope<S,V>,V extends AbstractVar<S,V>>
Scope contains information about a variable scope in JavaScript.class
Scope
Scope contains information about a variable scope in JavaScript.class
TypedScope
TypedScope contains information about variables and their types.Methods in com.google.javascript.jscomp that return StaticScope Modifier and Type Method Description StaticScope
TypedScope. getTopmostScopeOfEventualDeclaration(java.lang.String name)
-
Uses of StaticScope in com.google.javascript.jscomp.type
Subinterfaces of StaticScope in com.google.javascript.jscomp.type Modifier and Type Interface Description interface
FlowScope
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 StaticScope Modifier and Type Method Description StaticScope
StaticScope. getParentScope()
Returns the scope enclosing this one or null if none.StaticScope
StaticSlot. getScope()
StaticScope
StaticSymbolTable. getScope(S symbol)
Returns the scope for a given symbol.default StaticScope
StaticScope. getTopmostScopeOfEventualDeclaration(java.lang.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.jstype Modifier and Type Interface Description interface
StaticTypedScope
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 StaticScope Modifier and Type Method Description boolean
JSTypeRegistry. declareType(StaticScope scope, java.lang.String name, JSType type)
Records declared global type names.boolean
JSTypeRegistry. declareTypeForExactScope(StaticScope scope, java.lang.String name, JSType type)
Records declared global type names.JSType
JSTypeRegistry. getType(StaticScope scope, java.lang.String jsTypeName)
Looks up a native type by name.void
JSTypeRegistry. identifyNonNullableName(StaticScope scope, java.lang.String name)
Identifies the name of a typedef or enum before we actually declare it.boolean
JSTypeRegistry. isNonNullableName(StaticScope scope, java.lang.String name)
Identifies the name of a typedef or enum before we actually declare it.void
JSTypeRegistry. overwriteDeclaredType(StaticScope scope, java.lang.String name, JSType type)
Overrides a declared global type name.
-