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 |
CheckConformance
Provides a framework for checking code against a set of user configured
conformance rules.
|
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 |
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 |
Es6TypedToEs6Converter
Converts
Node.getDeclaredTypeExpression() to JSDocInfo.getType() type
annotations. |
class |
ImplicitNullabilityCheck
Warn about types in JSDoc that are implicitly nullable.
|
class |
JsdocToEs6TypedConverter
Converts JS with types in jsdocs to an extended JS syntax that includes types.
|
class |
JsMessageVisitor
Traverses across parsed tree and finds I18N messages.
|
class |
ProcessEs6Modules
Rewrites a ES6 module into a form that can be safely concatenated.
|
Modifier and Type | Class and Description |
---|---|
class |
CheckEmptyStatements
Check for empty statements (i.e.
|
class |
CheckEnums
Check for duplicate values in enums.
|
class |
CheckInterfaces
Checks for errors related to interfaces.
|
class |
CheckJSDocStyle
Checks for various JSDoc-related style issues, such as function definitions without JsDoc, params
with no corresponding
@param annotation, coding conventions not being respected, etc. |
Copyright © 2009-2015 Google. All Rights Reserved.