See: Description
Interface | Description |
---|---|
AstValidator.ViolationHandler |
Violation handler
|
CheckConformance.Rule | |
CodePrinter.Builder.CodeGeneratorFactory | |
CodingConvention |
CodingConvention defines a set of hooks to customize the behavior of the
Compiler for a specific team/company.
|
CompilerOptions.AliasTransformation |
A Role Specific Interface for the JS Compiler to report aliases used to
change the code during a compile.
|
CompilerOptions.AliasTransformationHandler |
A Role Specific Interface for JS Compiler that represents a data holder
object which is used to store goog.scope alias code changes to code made
during a compile.
|
CompilerPass |
Interface for classes that can compile JS.
|
ConformanceConfigOrBuilder | |
CssRenamingMap |
Interface used by
ReplaceCssNames to substitute CSS class names. |
ErrorHandler |
The error handler is any generic sink for warnings and errors,
after they've passed through any filtering
WarningsGuard s. |
ErrorManager |
The error manager is in charge of storing, organizing and displaying
errors and warnings generated by the compiler.
|
Es6SyntacticScopeCreator.ScopeFactory |
A simple API for injecting the use of alternative Scope classes
|
FunctionInformationMap.EntryOrBuilder | |
FunctionInformationMap.ModuleOrBuilder | |
FunctionInformationMapOrBuilder | |
HasCompiler |
An interface for objects that can provide a compiler instance.
|
HotSwapCompilerPass |
Interface for compiler passes that can be used in a hot-swap fashion.
|
InstrumentationOrBuilder | |
JsMessage.IdGenerator |
ID generator
|
MessageBundle |
An interface for providing alternative values for user-visible messages in
JavaScript code.
|
MessageFormatter |
Format warnings and errors.
|
NodeTraversal.AbstractPostOrderCallbackInterface |
Abstract callback to visit all nodes in postorder.
|
NodeTraversal.Callback |
Callback for tree-based traversals
|
NodeTraversal.ChangeScopeRootCallback |
Callback for passes that iterate over a list of change scope roots (FUNCTIONs and SCRIPTs)
|
NodeTraversal.ScopedCallback |
Callback that also knows about scope changes
|
NodeUtil.Visitor |
Interface for use with the visit method.
|
ReferenceCollectingCallback.Behavior |
Way for callers to add specific behavior during traversal that
utilizes the built-up reference information.
|
ReferenceMap |
Maps
Var s to their references. |
Region |
Source code region.
|
RenamingMap |
Interface used by to substitute names.
|
Requirement.WhitelistEntryOrBuilder | |
RequirementOrBuilder | |
SortingErrorManager.ErrorReportGenerator |
Strategy for customizing the output format of the error report
|
SourceAst |
An interface for accessing the AST root of an input.
|
SourceExcerptProvider |
A source excerpt provider is responsible for building source code excerpt
of specific locations, such as a specific line or a region around a
given line number.
|
SourceExcerptProvider.ExcerptFormatter |
A excerpt formatter is responsible of formatting source excerpts.
|
SourceFile.Generator |
A JavaScript source code provider.
|
SourceFileMapping |
A SourceFileMapping maps a source file, line, and column into an
Mapping.OriginalMapping . |
SourceMap.LocationMapping |
Function that mape a "destination" location to use within the source map.
|
Xid.HashFunction |
Strategy for selecting the underlying hash code function to be used by Xid.
|
Class | Description |
---|---|
AbstractCommandLineRunner<A extends Compiler,B extends CompilerOptions> |
Implementations of AbstractCommandLineRunner translate flags into Java
API calls on the Compiler.
|
AbstractCommandLineRunner.CommandLineConfig |
Configurations for the command line configs.
|
AbstractCommandLineRunner.FlagEntry<T> |
A pair from flag to its value.
|
AbstractCommandLineRunner.JsModuleSpec |
Represents a specification for a js module.
|
AbstractCommandLineRunner.JsonFileSpec |
Representation of a source file from an encoded json stream input
|
AbstractCompiler |
An abstract compiler, to help remove the circular dependency of
passes on JSCompiler.
|
AbstractMessageFormatter |
Abstract message formatter providing default behavior for implementations
of
MessageFormatter needing a SourceExcerptProvider . |
AbstractScope<S extends AbstractScope<S,V>,V extends AbstractVar<S,V>> |
Scope contains information about a variable scope in JavaScript.
|
AbstractVar<S extends AbstractScope<S,V>,V extends AbstractVar<S,V>> |
Used by
Scope to store information about variables. |
AccessControlUtils |
Helper functions for computing the visibility of names and properties
in JavaScript source code.
|
AstValidator |
This class walks the AST and validates that the structure is correct.
|
BasicErrorManager | Deprecated |
BlackHoleErrorManager |
An ErrorManager that silently swallows all messages.
|
BranchCoverageInstrumentationCallback |
Instrument branch coverage for javascript.
|
ByPathWarningsGuard |
An implementation of a
WarningsGuard that can modify the
CheckLevel based on the file that caused the warning, and whether
this file matches a set of paths (specified either as include or exclude
of path name parts). |
ChangeVerifier |
A Class to assist in AST change tracking verification.
|
CheckConformance |
Provides a framework for checking code against a set of user configured conformance rules.
|
CheckMissingAndExtraRequires |
Walks the AST looking for usages of qualified names, and 'goog.require's of those names.
|
CheckPathsBetweenNodes<N,E> |
See constructor,
#CheckPathsBetweenNodes(DiGraph,
DiGraphNode, DiGraphNode, Predicate, Predicate) , for a
description of this algorithm. |
CheckTypeImportCodeReferences |
Checks for invalid code references to type-only imports (i.e., goog.requireType).
|
ChromeCodingConvention |
Coding convention used by the Chrome team to compile Chrome's JS.
|
ChromePass |
Compiler pass for Chrome-specific needs.
|
ClosureCheckModule |
Checks that goog.module() is used correctly.
|
ClosureCodingConvention |
This describes the Closure-specific JavaScript coding conventions.
|
CodeConsumer |
Abstracted consumer of the CodeGenerator output.
|
CodeGenerator |
CodeGenerator generates codes from a parse tree, sending it to the specified
CodeConsumer.
|
CodePrinter |
CodePrinter prints out JS code in either pretty format or compact format.
|
CodePrinter.Builder | |
CodingConvention.AssertionFunctionLookup |
This stores a relation from either name or Closure Primitive to assertion function
|
CodingConvention.AssertionFunctionSpec |
A description of a JavaScript function that will throw an exception when either:
One of its parameters does not match the return type of the function
One of its parameters is falsy.
|
CodingConvention.AssertionFunctionSpec.Builder | |
CodingConvention.Bind |
Bind class
|
CodingConvention.Cache |
Cache class
|
CodingConvention.DelegateRelationship |
Delegates provides a mechanism and structure for identifying where classes
can call out to optional code to augment their functionality.
|
CodingConvention.ObjectLiteralCast |
An object literal cast provides a mechanism to cast object literals to
other types without a warning.
|
CodingConvention.SubclassRelationship |
Record subclass relations
|
CodingConventions |
Helper classes for dealing with coding conventions.
|
CodingConventions.Proxy |
A convention that wraps another.
|
CommandLineRunner |
CommandLineRunner translates flags into Java API calls on the Compiler.
|
Compiler |
Compiler (and the other classes in this package) does the following:
parses JS code
checks for undefined variables
performs optimizations such as constant folding and constants inlining
renames variables (to short names)
outputs compact JavaScript code
External variables are declared in 'externs' files.
|
Compiler.CodeBuilder |
Stores a buffer of text to which more can be appended.
|
Compiler.ExternalSourceLoader |
Subclasses are responsible for loading sources that were not provided as explicit inputs to the
compiler.
|
CompilerInput |
A class for the internal representation of an input to the compiler.
|
CompilerOptions |
Compiler options
|
ComposeWarningsGuard |
WarningsGuard that represents just a chain of other guards.
|
Conformance | |
ConformanceConfig |
A container to describe code requirements
|
ConformanceConfig.Builder |
A container to describe code requirements
|
ConformanceRules |
Standard conformance rules.
|
ConformanceRules.AbstractRule |
A conformance rule implementation to support things common to all rules such as whitelisting
and reporting.
|
ConformanceRules.BanCreateDom |
Ban
goog.dom.createDom and goog.dom.DomHelper#createDom with parameters
specified in value in the format tagname.attribute, e.g. |
ConformanceRules.BanCreateElement |
Bans
document.createElement and similar methods with string literal parameter specified
in value , e.g. |
ConformanceRules.BanExpose |
Banned @expose
|
ConformanceRules.BanForOf |
Banned for/of loops
|
ConformanceRules.BanGlobalVars |
Banned global var declarations.
|
ConformanceRules.BanNullDeref |
Banned dereferencing null or undefined types.
|
ConformanceRules.BanThrowOfNonErrorTypes |
Banned throw of non-error object types.
|
ConformanceRules.BanUnknownDirectThisPropsReferences |
Banned unknown type references of the form "this.prop" unless
- it is immediately cast,
- it is a @template type (until template type
restricts are enabled) or
- the value is unused.
|
ConformanceRules.BanUnknownThis |
Banned unknown "this" types.
|
ConformanceRules.BanUnknownTypedClassPropsReferences |
Banned unknown type references of the form "instance.prop" unless
(a) it is immediately cast/asserted, or
(b) it is a @template type (until template type restrictions are enabled), or
(c) the value is unused, or
(d) the source object type is unknown (to avoid error cascades)
|
ConformanceRules.BanUnresolvedType |
Banned accessing properties from objects that are unresolved
forward-declared type names.
|
ConformanceRules.ConformanceResult |
Classes extending AbstractRule must return ConformanceResult
from their checkConformance implementation.
|
ConformanceRules.RequireFileoverviewVisibility |
Requires source files to contain a top-level
@fileoverview block
with an explicit visibility annotation. |
ConformanceRules.RequireUseStrict |
Require "use strict" rule
|
ConformanceRules.StrictBanUnresolvedType |
Ban any use of unresolved forward-declared types
|
ConformanceWhitelister |
Creates or updates conformance whitelist entries.
|
ControlFlowAnalysis |
This is a compiler pass that computes a control flow graph.
|
ControlFlowGraph<N> |
Control flow graph.
|
ControlFlowGraph.AbstractCfgNodeTraversalCallback |
Abstract callback to visit a control flow graph node without going into
subtrees of the node that are also represented by other
control flow graph nodes.
|
CrossChunkReferenceCollector |
Collects global variable references for use by
CrossChunkCodeMotion . |
CssRenamingMap.ByPart |
ByPart renaming map
|
CssRenamingMap.ByWhole |
ByWhole renaming map
|
DartSuperAccessorsPass |
Converts
super getter and setter calls in order to support the output
of the Dart Dev Compiler (https://github.com/dart-lang/dev_compiler). |
DeadPropertyAssignmentElimination |
An optimization pass that finds and removes dead property assignments within functions and
classes.
|
DefaultExterns |
Contains information on default externs files.
|
DefaultPassConfig |
Pass factories and meta-data for native JSCompiler passes.
|
DependencyOptions |
Options for how to manage dependencies between input files.
|
DiagnosticGroup |
Group a set of related diagnostic types together, so that they can be toggled on and off as one
unit.
|
DiagnosticGroupPathSuppressingWarningsGuard |
A warnings guard that suppresses warnings for a particular diagnostic group for a file that
contains the specified substring.
|
DiagnosticGroups |
Named groups of DiagnosticTypes exposed by Compiler.
|
DiagnosticGroupWarningsGuard |
Sets the level for a particular DiagnosticGroup.
|
DiagnosticType |
The type of a compile or analysis error.
|
DotFormatter |
DotFormatter prints out a dot file of the Abstract Syntax Tree.
|
EmptyMessageBundle |
An implementation of MessageBundle that has no translations.
|
Es6CheckModule |
Checks that ES6 Modules are used correctly, and do not reference undefined keywords or features.
|
Es6ConvertSuper |
Converts
super.method() calls and adds constructors to any classes that lack them. |
Es6ConvertSuperConstructorCalls |
Converts
super() calls. |
Es6ExtractClasses |
Extracts ES6 classes defined in function calls to local constants.
|
Es6ForOfConverter |
Converts ES6 "for of" loops to ES5.
|
Es6InjectRuntimeLibraries |
Injects JS library code that may be needed by the transpiled form of the input source code.
|
Es6NormalizeShorthandProperties |
Normalizes shorthand object properties.
|
Es6RelativizeImportPaths |
Rewrites ES6 import paths to be relative after resolving according to the compiler's module
resolver.
|
Es6RenameVariablesInParamLists |
Renames declarations and references in function bodies to avoid shadowing
names referenced in the parameter list, in default values or computed properties.
|
Es6RewriteArrowFunction |
Converts ES6 arrow functions to standard anonymous ES3 functions.
|
Es6RewriteBlockScopedDeclaration |
Rewrite "let"s and "const"s as "var"s.
|
Es6RewriteBlockScopedFunctionDeclaration |
Rewrite block-scoped function declarations as "let"s.
|
Es6RewriteClass |
Converts ES6 classes to valid ES5 or ES3 code.
|
Es6RewriteClassExtendsExpressions |
Extracts ES6 class extends expressions and creates an alias.
|
Es6RewriteDestructuring |
Rewrites destructuring patterns and default parameters to valid ES3 code or to a different form
of destructuring.
|
Es6RewriteModules |
Rewrites a ES6 module into a form that can be safely concatenated.
|
Es6RewriteModulesToCommonJsModules |
Rewrites an ES6 module to a CommonJS-like module for the sake of per-file transpilation +
bunlding (e.g.
|
Es6RewriteRestAndSpread |
Converts REST parameters and SPREAD expressions.
|
Es6RewriteScriptsToModules |
Rewrites a script which was imported as a module into an ES6 module.
|
Es6SplitVariableDeclarations |
Splits variable declarations that declare multiple variables into
separate declarations, if at least one of the declarations is a
destructuring declaration.
|
Es6SyntacticScopeCreator |
The syntactic scope creator scans the parse tree to create a Scope object
containing all the variable declarations in that scope.
|
Es6ToEs3ClassSideInheritance |
Rewrites static inheritance to explicitly copy inherited properties from superclass to
subclass so that the typechecker knows the subclass has those properties.
|
Es6ToEs3Util |
Util functions for converting Es6 to Es5
|
Es6TypedToEs6Converter |
Converts
Node.getDeclaredTypeExpression() to JSDocInfo.getType() type
annotations. |
Es7RewriteExponentialOperator |
Replaces the ES7 `**` and `**=` operators to calls to `Math.pow`.
|
ExportTestFunctions |
Generates goog.exportSymbol for test functions, so they can be recognized
by the test runner, even if the code is compiled.
|
FieldCleanupPass |
A CleanupPass implementation that will remove all field declarations on
JSTypes contributed by the original file.
|
FileAwareWarningsGuard |
An abstract WarningsGuard that provides an additional getScriptNodeForError() method
for accessing the containing SCRIPT node of the AST in a robust way.
|
FindModuleDependencies |
Find and update any direct dependencies of an input.
|
FunctionInfo | |
FunctionInformationMap |
Protobuf type
jscomp.FunctionInformationMap |
FunctionInformationMap.Builder |
Protobuf type
jscomp.FunctionInformationMap |
FunctionInformationMap.Entry |
Protobuf type
jscomp.FunctionInformationMap.Entry |
FunctionInformationMap.Entry.Builder |
Protobuf type
jscomp.FunctionInformationMap.Entry |
FunctionInformationMap.Module |
Protobuf type
jscomp.FunctionInformationMap.Module |
FunctionInformationMap.Module.Builder |
Protobuf type
jscomp.FunctionInformationMap.Module |
GatherModuleMetadata |
Gathers metadata around modules that is useful for checking imports / requires and creates a
ModuleMetadataMap . |
GoogleCodingConvention |
This describes the Google-specific JavaScript coding conventions.
|
GoogleJsMessageIdGenerator |
An
JsMessage.IdGenerator designed to play nicely with Google's Translation
systems. |
IdMappingUtil |
A utility class for generating and parsing id mappings held by
ReplaceIdGenerators . |
ImplicitNullabilityCheck |
Warn about types in JSDoc that are implicitly nullable.
|
Instrumentation |
Protobuf type
jscomp.Instrumentation |
Instrumentation.Builder |
Protobuf type
jscomp.Instrumentation |
InstrumentationTemplate | |
J2clAssertRemovalPass |
An optimization pass to remove J2CL Asserts.$assert.
|
J2clChecksPass |
Performs correctness checks which are specific to J2CL-generated patterns.
|
J2clClinitPrunerPass |
An optimization pass to prune J2CL clinits.
|
J2clConstantHoisterPass |
An optimization pass for J2CL-generated code to hoist some constant assignments out clinit method
to declaration phase so they could be used by other optimization passes for static evaluation.
|
J2clEqualitySameRewriterPass |
An optimization pass to re-write J2CL Equality.$same.
|
J2clPass |
A normalization pass to inline some J2CL calls to enable other optimizations.
|
J2clPropertyInlinerPass |
This pass targets J2CL output.
|
J2clSuppressWarningsGuard |
A warnings guard that suppresses some warnings incompatible with J2CL.
|
J2clUtilGetDefineRewriterPass |
A normalization pass to re-write Util.$getDefine calls to make them work in compiled mode.
|
JsAst |
Generates an AST for a JavaScript source file.
|
JsAst.ParseResult |
Simple class to share parse results between compilation jobs
|
JsAst.RhinoError |
Representation of Rhino parser error.
|
JSDocInfoPrinter |
Prints a JSDocInfo, used for preserving type annotations in ES6 transpilation.
|
JSError |
Compile error description
|
JsMessage |
A representation of a translatable message in JavaScript source code.
|
JsMessage.Builder |
Contains functionality for creating JS messages.
|
JsMessage.PlaceholderReference |
A reference to a placeholder in a translatable message.
|
JsMessageDefinition |
Container class that holds information about JS message source.
|
JsMessageExtractor |
Extracts messages and message comments from JS code.
|
JsMessageVisitor |
Traverses across parsed tree and finds I18N messages.
|
JSModule |
A JavaScript module has a unique name, consists of a list of compiler inputs, and can depend on
other modules.
|
JSModuleGraph |
A
JSModule dependency graph that assigns a depth to each module and can answer
depth-related queries about them. |
JsonErrorReportGenerator |
An error report generator that prints error and warning data to the print stream as an array of
JSON objects.
|
LateEs6ToEs3Converter |
Converts ES6 code to valid ES5 code.
|
LazyParsedDependencyInfo |
A DependencyInfo class that determines load flags by parsing the AST just-in-time.
|
LightweightMessageFormatter |
Lightweight message formatter.
|
Linter |
Tool for running just the lint checks which can be run on a single file at a time.
|
Linter.Builder |
Builder for a Linter that allows some customization.
|
LinterMain |
Minimal binary that just runs the "lint" checks which can be run on a single file at a time.
|
LoggerErrorManager |
An error manager that logs errors and warnings using a logger in addition to
collecting them in memory.
|
MarkUntranspilableFeaturesAsRemoved |
Looks for presence of features that are not supported for transpilation (mostly new RegExp
features).
|
ModuleIdentifier |
Basic information on an entry point module.
|
NodeTraversal |
NodeTraversal allows an iteration through the nodes in the parse tree,
and facilitates the optimizations on the parse tree.
|
NodeTraversal.AbstractModuleCallback |
Abstract callback that knows when goog.provide, goog.module, and ES modules are entered and
exited.
|
NodeTraversal.AbstractPostOrderCallback |
Abstract callback to visit all nodes in postorder.
|
NodeTraversal.AbstractPreOrderCallback |
Abstract callback to visit all nodes in preorder.
|
NodeTraversal.AbstractScopedCallback |
Abstract scoped callback to visit all nodes in postorder.
|
NodeTraversal.AbstractShallowCallback |
Abstract callback to visit all nodes but not traverse into function
bodies.
|
NodeTraversal.AbstractShallowStatementCallback |
Abstract callback to visit all structure and statement nodes but doesn't traverse into
functions or expressions.
|
NodeTraversal.ExternsSkippingCallback |
Abstract callback to visit all non-extern nodes in postorder.
|
NodeUtil |
NodeUtil contains generally useful AST utilities.
|
PassConfig |
Pass factories and meta-data for native Compiler passes.
|
PassFactory |
A factory for creating JSCompiler passes based on the Options
injected.
|
PassFactory.HotSwapPassFactory |
A pass-factory that is good for
HotSwapCompilerPass passes. |
PassNames |
If the name of a pass is used in more than one place in the source, it's good to create a
symbolic name here.
|
PerformanceTracker |
A PerformanceTracker collects statistics about the runtime of each pass, and
how much a pass impacts the size of the compiled output, before and after
gzip.
|
PerformanceTracker.Stats |
A Stats object contains statistics about a pass run, such as running time,
size changes, etc
|
PrintStreamErrorManager | Deprecated |
PrintStreamErrorReportGenerator |
An error report generator that prints errors and warnings to the print stream provided.
|
ProcessCommonJSModules |
Rewrites a CommonJS module http://wiki.commonjs.org/wiki/Modules/1.1.1 into a form that can be
safely concatenated.
|
RandomNameGenerator |
A class for generating unique, randomized JavaScript variable/property
names.
|
RecoverableJsAst |
An implementation of
SourceAst that avoids re-creating the AST
unless it was manually cleared. |
Reference |
Represents a single declaration or reference to a variable.
|
ReferenceCollectingCallback |
A helper class for passes that want to access all information about where a variable is
referenced and declared at once and then make a decision as to how it should be handled, possibly
inlining, reordering, or generating warnings.
|
ReferenceCollection |
A collection of references.
|
ReplacedStringsDecoder |
A decoder for strings encoded by the ReplaceStrings JS compiler pass.
|
Requirement |
A specification of code requirements
NEXT ID: 15
|
Requirement.Builder |
A specification of code requirements
NEXT ID: 15
|
Requirement.WhitelistEntry |
Protobuf type
jscomp.Requirement.WhitelistEntry |
Requirement.WhitelistEntry.Builder |
Protobuf type
jscomp.Requirement.WhitelistEntry |
Result |
Compilation results
|
RewriteAsyncFunctions |
Converts async functions to valid ES6 generator functions code.
|
RewriteAsyncIteration |
Converts async generator functions into a function returning a new $jscomp.AsyncGenWrapper around
the original block and awaits/yields converted to yields of ActionRecords.
|
RewriteGoogJsImports |
Looks for references to Closure's goog.js file and globalizes.
|
RewriteJsonToModule |
Rewrites a JSON file to be a module export.
|
RewriteObjectSpread |
Converts object spread to valid ES2017 code.
|
RewritePolyfills |
Injects polyfill libraries to ensure that ES6 library functions are available.
|
Scope |
Scope contains information about a variable scope in JavaScript.
|
ShowByPathWarningsGuard |
Control whether warnings should be restricted or suppressed for specified
paths.
|
SimpleRegion |
Simple region.
|
SortingErrorManager |
A customizable error manager that sorts all errors and warnings reported to it, and has
customizable output through the
SortingErrorManager.ErrorReportGenerator interface. |
SourceFile |
An abstract representation of a source file that provides access to language-neutral features.
|
SourceFile.Builder |
A builder interface for source files.
|
SourceMap |
Collects information mapping the generated (compiled) source back to
its original source for debugging purposes.
|
SourceMap.PrefixLocationMapping |
Simple
SourceMap.LocationMapping that strips a prefix from a location. |
SourceMapInput |
A lazy-loaded SourceMapConsumerV3 instance.
|
SourceMapResolver |
Utility class for resolving source maps and files referenced in source maps.
|
StrictWarningsGuard |
All warnings should be reported as errors.
|
SymbolTable |
A symbol table for people that want to use Closure Compiler as an indexer.
|
SymbolTable.Reference |
Reference
|
SymbolTable.Symbol |
A symbol-table entry
|
SymbolTable.SymbolScope |
Scope of a symbol
|
SyntheticAst |
An AST generated totally by the compiler.
|
TemplateAstMatcher |
A matcher that can take an arbitrary AST and use it as a template to find
matches in another.
|
ThreadSafeDelegatingErrorManager |
A simple delegating
ErrorManager that provides a thread-safe wrapper
for the one being delegated. |
TransformAMDToCJSModule |
Rewrites an AMD module https://github.com/amdjs/amdjs-api/wiki/AMD to a
CommonJS module.
|
TranspilationPasses |
Provides a single place to manage transpilation passes.
|
TypeCheck |
Checks the types of JS expressions against any declared type
information.
|
TypedScope |
TypedScope contains information about variables and their types.
|
TypedVar |
AbstractVar subclass for use with TypedScope . |
Var |
Used by
Scope to store information about variables. |
VariableMap |
Stores the mapping from original variable name to new variable names.
|
WarningsGuard |
Class that allows to flexibly manage what to do with a reported
warning/error.
|
WhitelistWarningsGuard |
An extension of
WarningsGuard that provides functionality to maintain
a list of warnings (white-list). |
WhitespaceWrapGoogModules |
Replicates the effect of ClosureBundler in whitespace-only mode and wraps goog.modules
in goog.loadModule calls.
|
Xid |
A simple utility for shortening identifiers in a stable way.
|
XtbMessageBundle |
A MessageBundle that parses messages from an XML Translation Bundle (XTB)
file.
|
Enum | Description |
---|---|
AbstractCommandLineRunner.CommandLineConfig.ErrorFormatOption |
Set of options that can be used with the --formatting flag.
|
AbstractCommandLineRunner.JsSourceType |
Flag types for JavaScript source files.
|
AbstractCompiler.PropertyAccessKind |
Indicates whether a property has a getter or a setter, or both.
|
AnonymousFunctionNamingPolicy |
Strategies for how to do naming of anonymous functions that occur as
r-values in assignments and variable declarations.
|
CheckLevel |
Controls checking levels of certain options.
|
CheckLevelLegacy |
Enum used in flags to control the behavior of JS compiler checks.
|
CodeGenerator.Context |
Information on the current context.
|
CodePrinter.Format |
Specifies a format for code generation.
|
CodingConvention.AssertionFunctionSpec.AssertionKind | |
CodingConvention.SubclassType |
Specify the kind of inheritance
|
CompilationLevel |
A CompilationLevel represents the level of optimization that should be
applied when compiling JavaScript code.
|
CompilerInput.ModuleType |
JavaScript module type.
|
CompilerOptions.DevMode |
When to do the extra validity checks
|
CompilerOptions.DisposalCheckingPolicy | Deprecated
No longer has any effect.
|
CompilerOptions.Environment |
An environment specifies the built-in externs that are loaded for a given
compilation.
|
CompilerOptions.Es6ModuleTranspilation |
How ES6 modules should be transformed.
|
CompilerOptions.ExtractPrototypeMemberDeclarationsMode | |
CompilerOptions.IncrementalCheckMode | |
CompilerOptions.IsolationMode |
What kind of isolation is going to be used
|
CompilerOptions.J2clPassMode |
A mode enum used to indicate whether J2clPass should be enabled, disabled, or enabled
automatically if there is any J2cl source file (i.e.
|
CompilerOptions.LanguageMode |
A language mode applies to the whole compilation job.
|
CompilerOptions.OutputJs |
What type of JS file should be output by this compilation
|
CompilerOptions.PropertyCollapseLevel | |
CompilerOptions.Reach |
A common enum for compiler passes that can run either globally or locally.
|
CompilerOptions.TracerMode |
How much tracing we want to do
|
CompilerOptions.TweakProcessing |
Option for the ProcessTweaks pass
|
ConformanceRules.ConformanceLevel |
Possible check check results
|
ControlFlowGraph.Branch |
The edge object for the control flow graph.
|
CssRenamingMap.Style |
Kind of renaming map
|
CustomPassExecutionTime |
Custom pass type.
|
DependencyOptions.DependencyMode |
Describes how the compiler should manage dependencies.
|
ErrorFormat |
Error formats available.
|
JsMessage.Style |
Message style that could be used for JS code parsing.
|
NodeUtil.ValueType | |
PolymerExportPolicy |
How to handle exports/externs for Polymer properties and methods.
|
PropertyRenamingPolicy |
Policies to determine how properties should be renamed.
|
Requirement.Severity |
With what severity to report the issue by default.
|
Requirement.Type |
A classification of the requirement and how it is enforced.
|
Requirement.TypeMatchingStrategy |
Protobuf enum
jscomp.Requirement.TypeMatchingStrategy |
Requirement.WhitelistEntry.Reason |
Protobuf enum
jscomp.Requirement.WhitelistEntry.Reason |
RewriteGoogJsImports.Mode |
Possible traversal modes - either linting or linting+rewriting.
|
ShowByPathWarningsGuard.ShowType |
Controls whether warnings should be restricted to a specified path or
suppressed within the specified path.
|
SourceExcerptProvider.SourceExcerpt |
Source excerpt variety.
|
SourceMap.DetailLevel |
Source maps can be very large different levels of detail can be specified.
|
SourceMap.Format |
An enumeration of available source map formats
|
TypeMatchingStrategy |
The different strategies for matching the
JSType of nodes. |
TypeMatchingStrategy.MatchResult |
The result of comparing two different
JSType instances. |
VariableRenamingPolicy |
Policies to determine which variables should be renamed.
|
WarningLevel |
Convert the warnings level to an Options object.
|
WarningsGuard.Priority |
Priority
|
Exception | Description |
---|---|
CheckConformance.InvalidRequirementSpec | |
FlagUsageException |
An exception thrown when command-line flags are used incorrectly.
|
JSModuleGraph.MissingModuleException |
Another exception class
|
JSModuleGraph.ModuleDependenceException |
Exception class for declaring when the modules being fed into a
JSModuleGraph as input aren't in dependence order, and so can't be
processed for caching of various dependency-related queries.
|
Copyright © 2009-2019 Google. All Rights Reserved.