Uses of Class
com.google.javascript.jscomp.NodeTraversal.AbstractPostOrderCallback
Packages that use NodeTraversal.AbstractPostOrderCallback
-
Uses of NodeTraversal.AbstractPostOrderCallback in com.google.javascript.jscomp
Subclasses of NodeTraversal.AbstractPostOrderCallback in com.google.javascript.jscompModifier and TypeClassDescriptionfinal class
Checks for invalid code references to type-only imports (i.e., goog.requireType).class
Compiler pass for Chrome-specific needs.final class
Checks that ES6 Modules are used correctly, and do not reference undefined keywords or features.final class
Convertssuper.method()
calls and adds constructors to any classes that lack them.final class
Extracts ES6 classes defined in function calls to local constants.final class
Converts ES6 "for of" loops to ES5.final class
Rewrite "let"s and "const"s as "var"s.final class
Rewrite block-scoped function declarations as "let"s.final class
Converts REST parameters and SPREAD expressions.final class
Splits variable declarations that declare multiple variables into separate declarations, if at least one of the declarations is a destructuring declaration.final class
Warn about types in JSDoc that are implicitly nullable.final class
Injects JS library code that may be needed by the transpiled form of the input source code.class
An optimization pass to remove J2CL Asserts.$assert.class
Performs correctness checks which are specific to J2CL-generated patterns.class
A normalization pass to re-write Util.$getDefine calls to make them work in compiled mode.class
Locates JS code that is intended to declare localizable messages.class
Rewrite dynamic import expressions to account for bundling and module rewriting.class
Rewrites a JSON file to be a module export.final class
Annotates nodes with information from their original input file before the compiler performs work that changes this information (such as its original location, its original name, etc). -
Uses of NodeTraversal.AbstractPostOrderCallback in com.google.javascript.jscomp.lint
Subclasses of NodeTraversal.AbstractPostOrderCallback in com.google.javascript.jscomp.lintModifier and TypeClassDescriptionfinal class
Lints against passing arrays to goog.object methods with the intention of iterating over them as though with a for-in loop, which is discouraged with arrays.class
This pass looks for properties that are not modified and ensures they use the @const annotation.final class
Check for duplicate case labels in a switch statement Eg: switch (foo) { case 1: case 1: }final class
Check for empty statements (i.e.final class
Checks the following: Whether there are duplicate values in enums.class
Walks the AST looking for usages of qualified names, and 'goog.require's of those names.final class
Checks for errors related to interfaces.final class
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.final class
Check for statements that should end with a semicolon according to the Google style guide.class
Checks for missing or redundant nullability modifiers.final class
Check for explicit creation of the object equivalents of primitive types (e.g.final class
Check for `var` (prefer `const` or `let`).