Uses of Class
com.google.javascript.jscomp.NodeTraversal.AbstractPostOrderCallback
-
Packages that use NodeTraversal.AbstractPostOrderCallback Package Description com.google.javascript.jscomp com.google.javascript.jscomp.instrumentation com.google.javascript.jscomp.lint -
-
Uses of NodeTraversal.AbstractPostOrderCallback in com.google.javascript.jscomp
Subclasses of NodeTraversal.AbstractPostOrderCallback in com.google.javascript.jscomp Modifier and Type Class Description classCheckTypeImportCodeReferencesChecks for invalid code references to type-only imports (i.e., goog.requireType).classChromePassCompiler pass for Chrome-specific needs.classEs6CheckModuleChecks that ES6 Modules are used correctly, and do not reference undefined keywords or features.classEs6ConvertSuperConvertssuper.method()calls and adds constructors to any classes that lack them.classEs6ExtractClassesExtracts ES6 classes defined in function calls to local constants.classEs6ForOfConverterConverts ES6 "for of" loops to ES5.classEs6NormalizeShorthandPropertiesNormalizes shorthand object properties.classEs6RenameVariablesInParamListsRenames declarations and references in function bodies to avoid shadowing names referenced in the parameter list, in default values or computed properties.classEs6RewriteBlockScopedDeclarationRewrite "let"s and "const"s as "var"s.classEs6RewriteBlockScopedFunctionDeclarationRewrite block-scoped function declarations as "let"s.classEs6RewriteClassExtendsExpressionsExtracts ES6 class extends expressions and creates an alias.classEs6RewriteRestAndSpreadConverts REST parameters and SPREAD expressions.classEs6SplitVariableDeclarationsSplits variable declarations that declare multiple variables into separate declarations, if at least one of the declarations is a destructuring declaration.classImplicitNullabilityCheckWarn about types in JSDoc that are implicitly nullable.classInjectTranspilationRuntimeLibrariesInjects JS library code that may be needed by the transpiled form of the input source code.classJ2clAssertRemovalPassAn optimization pass to remove J2CL Asserts.$assert.classJ2clChecksPassPerforms correctness checks which are specific to J2CL-generated patterns.classJ2clUtilGetDefineRewriterPassA normalization pass to re-write Util.$getDefine calls to make them work in compiled mode.classJsMessageVisitorTraverses across parsed tree and finds I18N messages.classMarkUntranspilableFeaturesAsRemovedLooks for presence of features that are not supported for transpilation (mostly new RegExp features).classRewriteJsonToModuleRewrites a JSON file to be a module export. -
Uses of NodeTraversal.AbstractPostOrderCallback in com.google.javascript.jscomp.instrumentation
Subclasses of NodeTraversal.AbstractPostOrderCallback in com.google.javascript.jscomp.instrumentation Modifier and Type Class Description classBranchCoverageInstrumentationCallbackInstrument branch coverage for javascript. -
Uses of NodeTraversal.AbstractPostOrderCallback in com.google.javascript.jscomp.lint
Subclasses of NodeTraversal.AbstractPostOrderCallback in com.google.javascript.jscomp.lint Modifier and Type Class Description classCheckArrayWithGoogObjectLints 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.classCheckDuplicateCaseCheck for duplicate case labels in a switch statement Eg: switch (foo) { case 1: case 1: } This is normally an indication of a programmer error.classCheckEmptyStatementsCheck for empty statements (i.e.classCheckEnumsCheck for duplicate values in enums.classCheckExtraRequiresWalks the AST looking for usages of qualified names, and 'goog.require's of those names.classCheckInterfacesChecks for errors related to interfaces.classCheckJSDocStyleChecks for various JSDoc-related style issues, such as function definitions without JsDoc, params with no corresponding@paramannotation, coding conventions not being respected, etc.classCheckMissingSemicolonCheck for statements that should end with a semicolon according to the Google style guide.classCheckNullabilityModifiersChecks for missing or redundant nullability modifiers.classCheckPrimitiveAsObjectCheck for explicit creation of the object equivalents of primitive types (e.g.classCheckVarCheck for `var` (prefer `const` or `let`).
-