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 classCheckMissingOverrideTypesChecks if the @override methods are missing type annotations.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.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).classRewriteDynamicImportsRewrite dynamic import expressions to account for bundling and module rewriting.classRewriteJsonToModuleRewrites a JSON file to be a module export.classSourceInformationAnnotatorAnnotates 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.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.classCheckConstPrivatePropertiesThis pass looks for properties that are not modified and ensures they use the @const annotation.classCheckDuplicateCaseCheck for duplicate case labels in a switch statement Eg: switch (foo) { case 1: case 1: }classCheckEmptyStatementsCheck for empty statements (i.e.classCheckEnumsChecks the following: Whether there are 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`).
-