Package | Description |
---|---|
com.google.javascript.jscomp.parsing |
Provides utilities to help with parsing JSDoc annotations and performing AST
transformations.
|
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 |
---|---|
static ErrorReporter |
NullErrorReporter.forOldRhino() |
Modifier and Type | Method and Description |
---|---|
static ParserRunner.ParseResult |
ParserRunner.parse(StaticSourceFile sourceFile,
java.lang.String sourceString,
Config config,
ErrorReporter errorReporter) |
Constructor and Description |
---|
TypeTransformationParser(java.lang.String typeTransformationString,
StaticSourceFile sourceFile,
ErrorReporter errorReporter,
int templateLineno,
int templateCharno) |
Modifier and Type | Class and Description |
---|---|
class |
SimpleErrorReporter
A simple
ErrorReporter that collects warnings and errors and makes
them accessible via SimpleErrorReporter.errors and SimpleErrorReporter.warnings . |
Modifier and Type | Method and Description |
---|---|
ErrorReporter |
JSTypeRegistry.getErrorReporter() |
Modifier and Type | Method and Description |
---|---|
JSType |
JSType.resolve(ErrorReporter t,
StaticTypedScope<JSType> scope)
Resolve this type in the given scope.
|
Constructor and Description |
---|
JSTypeRegistry(ErrorReporter reporter) |
JSTypeRegistry(ErrorReporter reporter,
java.util.Set<java.lang.String> forwardDeclaredTypes)
Constructs a new type registry populated with the built-in types.
|
Copyright © 2009-2018 Google. All Rights Reserved.