Uses of Interface
com.google.javascript.rhino.jstype.StaticTypedScope
-
Packages that use StaticTypedScope Package Description com.google.javascript.jscomp Provides the core compiler and its public API.com.google.javascript.jscomp.type Provides type-checking data structures and algorithms.com.google.javascript.rhino The core AST from Rhino.com.google.javascript.rhino.jstype Provides abstractions to represent types in JavaScript. -
-
Uses of StaticTypedScope in com.google.javascript.jscomp
Classes in com.google.javascript.jscomp that implement StaticTypedScope Modifier and Type Class Description class
TypedScope
TypedScope contains information about variables and their types. -
Uses of StaticTypedScope in com.google.javascript.jscomp.type
Subinterfaces of StaticTypedScope in com.google.javascript.jscomp.type Modifier and Type Interface Description interface
FlowScope
A symbol table for inferring types during data flow analysis.Methods in com.google.javascript.jscomp.type that return StaticTypedScope Modifier and Type Method Description StaticTypedScope
FlowScope. getDeclarationScope()
Returns the underlying TypedScope.Methods in com.google.javascript.jscomp.type with parameters of type StaticTypedScope Modifier and Type Method Description FlowScope
FlowScope. withSyntacticScope(StaticTypedScope scope)
Returns a flow scope with the given syntactic scope, which may be required to be a specific subclass, such as TypedScope. -
Uses of StaticTypedScope in com.google.javascript.rhino
Methods in com.google.javascript.rhino with parameters of type StaticTypedScope Modifier and Type Method Description JSType
JSTypeExpression. evaluate(StaticTypedScope scope, JSTypeRegistry registry)
Evaluates the type expression into aJSType
object. -
Uses of StaticTypedScope in com.google.javascript.rhino.jstype
Methods in com.google.javascript.rhino.jstype that return StaticTypedScope Modifier and Type Method Description StaticTypedScope
JSTypeRegistry. createScopeWithTemplates(StaticTypedScope scope, java.lang.Iterable<TemplateType> templates)
Returns a new scope that includes the given template names for type resolution purposes.StaticTypedScope
StaticTypedScope. getParentScope()
Returns the scope enclosing this one or null if none.StaticTypedScope
Property. getScope()
StaticTypedScope
SimpleSlot. getScope()
StaticTypedScope
StaticTypedSlot. getScope()
Methods in com.google.javascript.rhino.jstype with parameters of type StaticTypedScope Modifier and Type Method Description NamedType
JSTypeRegistry. createNamedType(StaticTypedScope scope, java.lang.String reference, java.lang.String sourceName, int lineno, int charno)
Creates a named type.StaticTypedScope
JSTypeRegistry. createScopeWithTemplates(StaticTypedScope scope, java.lang.Iterable<TemplateType> templates)
Returns a new scope that includes the given template names for type resolution purposes.JSType
JSTypeRegistry. createTypeFromCommentNode(Node n, java.lang.String sourceName, StaticTypedScope scope)
Creates a JSType from the nodes representing a type.JSType
JSTypeRegistry. evaluateTypeExpression(JSTypeExpression expr, StaticTypedScope scope)
JSType
JSTypeRegistry. getType(StaticTypedScope scope, java.lang.String jsTypeName, java.lang.String sourceName, int lineno, int charno)
Looks up a type by name.
-