Package | Description |
---|---|
com.google.javascript.jscomp.parsing |
Provides utilities to help with parsing JSDoc annotations and performing AST
transformations.
|
com.google.javascript.jscomp.testing | |
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,
String sourceString,
Config config,
ErrorReporter errorReporter) |
Modifier and Type | Class and Description |
---|---|
class |
TestErrorReporter
An error reporter for testing that verifies that messages reported to the
reporter are expected.
|
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,
StaticScope<JSType> scope)
Resolve this type in the given scope.
|
Constructor and Description |
---|
JSTypeRegistry(ErrorReporter reporter)
Constructs a new type registry populated with the built-in types.
|
JSTypeRegistry(ErrorReporter reporter,
boolean tolerateUndefinedValues)
Constructs a new type registry populated with the built-in types.
|
Copyright © 2009-2014 Google. All Rights Reserved.