Package | Description |
---|---|
com.google.javascript.jscomp |
Provides the core compiler and its public API.
|
com.google.javascript.rhino |
The core AST from Rhino.
|
com.google.javascript.rhino.jstype |
Provides abstractions to represent types in JavaScript.
|
Modifier and Type | Method and Description |
---|---|
abstract TypeIRegistry |
AbstractCompiler.getTypeIRegistry() |
TypeIRegistry |
Compiler.getTypeIRegistry() |
Modifier and Type | Method and Description |
---|---|
CodePrinter.Builder |
CodePrinter.Builder.setTypeRegistry(TypeIRegistry registry) |
Modifier and Type | Method and Description |
---|---|
JSType |
JSTypeExpression.evaluate(StaticTypedScope<JSType> scope,
TypeIRegistry registry)
Evaluates the type expression into a
JSType object. |
TypeI |
JSTypeExpression.evaluateInEmptyScope(TypeIRegistry registry) |
Modifier and Type | Class and Description |
---|---|
class |
JSTypeRegistry
The type registry is used to resolve named types.
|
Copyright © 2009–2023 Google. All rights reserved.