Package | Description |
---|---|
com.google.javascript.jscomp |
Provides the core compiler and its public API.
|
com.google.javascript.jscomp.lint |
Modifier and Type | Class and Description |
---|---|
class |
Es6ConvertSuper
Converts
super nodes. |
class |
Es6RenameVariablesInParamLists
Renames declarations and references in function bodies to avoid shadowing
names referenced in the parameter list, in default values or computed properties.
|
class |
Es6RewriteArrowFunction
Converts ES6 arrow functions to standard anonymous ES3 functions.
|
class |
Es6RewriteDestructuring
Rewrites ES6 destructuring patterns and default parameters to valid ES3 code.
|
class |
Es6RewriteGenerators
Converts ES6 generator functions to valid ES3 code.
|
class |
Es6RewriteLetConst
Rewrites "let"s and "const"s as "var"s, renaming declarations when necessary.
|
class |
Es6SplitVariableDeclarations
Splits variable declarations that declare multiple variables into
separate declarations, if at least one of the declarations is a
destructuring declaration.
|
class |
Es6ToEs3ClassSideInheritance
Rewrites static inheritance to explicitly copy inherited properties from superclass to
subclass so that the typechecker knows the subclass has those properties.
|
class |
Es6ToEs3Converter
Converts ES6 code to valid ES5 code.
|
class |
Es6TypedToEs6Converter
Converts
Node.getDeclaredTypeExpression() to JSDocInfo.getType() type
annotations. |
class |
FieldCleanupPass
A CleanupPass implementation that will remove all field declarations on
JSTypes contributed by the original file.
|
Modifier and Type | Class and Description |
---|---|
class |
CheckInterfaces
Checks for errors related to interfaces.
|
class |
CheckNullableReturn
Checks when a function is annotated as returning {SomeType} (nullable)
but actually always returns {!SomeType}, i.e.
|
class |
CheckPrototypeProperties
Checks when a mutable property is assigned to a prototype.
|
Copyright © 2009-2015 Google. All Rights Reserved.