| Package | Description |
|---|---|
| com.google.javascript.jscomp |
Provides the core compiler and its public API.
|
| com.google.javascript.refactoring | |
| com.google.javascript.rhino |
The core AST from Rhino.
|
| com.google.javascript.rhino.jstype |
Provides abstractions to represent types in JavaScript.
|
| Modifier and Type | Class and Description |
|---|---|
class |
GlobalTypeInfo
Contains information about all scopes; for every variable reference computes
whether it is local, a formal parameter, etc.; and computes information about
the class hierarchy.
|
| 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) |
| Constructor and Description |
|---|
TemplateAstMatcher(TypeIRegistry typeRegistry,
Node templateFunctionNode,
TypeMatchingStrategy typeMatchingStrategy)
Constructs this matcher with a Function node that serves as the template
to match all other nodes against.
|
| Constructor and Description |
|---|
JsSourceMatcher(TypeIRegistry typeRegistry,
Node templateNode,
TypeMatchingStrategy typeMatchingStrategy)
Constructs this matcher with a Function node that serves as the template
to match all other nodes against.
|
| Modifier and Type | Method and Description |
|---|---|
JSType |
JSTypeExpression.evaluate(StaticTypedScope<JSType> scope,
TypeIRegistry registry)
Evaluates the type expression into a
JSType object. |
| Modifier and Type | Class and Description |
|---|---|
class |
JSTypeRegistry
The type registry is used to resolve named types.
|
Copyright © 2009-2017 Google. All Rights Reserved.