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 classChecks for invalid code references to type-only imports (i.e., goog.requireType).classCompiler pass for Chrome-specific needs.final classChecks that ES6 Modules are used correctly, and do not reference undefined keywords or features.final classConvertssuper.method()calls and adds constructors to any classes that lack them.final classExtracts ES6 classes defined in function calls to local constants.final classConverts ES6 "for of" loops to ES5.final classRewrite "let"s and "const"s as "var"s.final classRewrite block-scoped function declarations as "let"s.final classConverts REST parameters and SPREAD expressions.final classSplits variable declarations that declare multiple variables into separate declarations, if at least one of the declarations is a destructuring declaration.final classWarn about types in JSDoc that are implicitly nullable.final classInjects JS library code that may be needed by the transpiled form of the input source code.classAn optimization pass to remove J2CL Asserts.$assert.classPerforms correctness checks which are specific to J2CL-generated patterns.classA normalization pass to re-write Util.$getDefine calls to make them work in compiled mode.classLocates JS code that is intended to declare localizable messages.classRewrite dynamic import expressions to account for bundling and module rewriting.classRewrites a JSON file to be a module export.final classAnnotates 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 classLints 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.classThis pass looks for properties that are not modified and ensures they use the @const annotation.final classCheck for duplicate case labels in a switch statement Eg: switch (foo) { case 1: case 1: }final classCheck for empty statements (i.e.final classChecks the following: Whether there are duplicate values in enums.classWalks the AST looking for usages of qualified names, and 'goog.require's of those names.final classChecks for errors related to interfaces.final classChecks for various JSDoc-related style issues, such as function definitions without JsDoc, params with no corresponding@paramannotation, coding conventions not being respected, etc.final classCheck for statements that should end with a semicolon according to the Google style guide.classChecks for missing or redundant nullability modifiers.final classCheck for explicit creation of the object equivalents of primitive types (e.g.final classCheck for `var` (prefer `const` or `let`).