Package | Description |
---|---|
com.google.javascript.jscomp |
Provides the core compiler and its public API.
|
com.google.javascript.jscomp.ijs |
Modifier and Type | Class and Description |
---|---|
class |
AllowlistWarningsGuard
An extension of
WarningsGuard that provides functionality to maintain a list of warnings
(white-list). |
class |
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). |
class |
ComposeWarningsGuard
WarningsGuard that represents just a chain of other guards.
|
class |
DiagnosticGroupPathSuppressingWarningsGuard
A warnings guard that suppresses warnings for a particular diagnostic group for a file that
contains the specified substring.
|
class |
DiagnosticGroupWarningsGuard
Sets the level for a particular DiagnosticGroup.
|
class |
FileAwareWarningsGuard
An abstract WarningsGuard that provides an additional getScriptNodeForError() method
for accessing the containing SCRIPT node of the AST in a robust way.
|
class |
J2clSuppressWarningsGuard
A warnings guard that suppresses some warnings incompatible with J2CL.
|
class |
ShowByPathWarningsGuard
Control whether warnings should be restricted or suppressed for specified
paths.
|
class |
StrictWarningsGuard
All warnings should be reported as errors.
|
Modifier and Type | Method and Description |
---|---|
void |
CompilerOptions.addWarningsGuard(WarningsGuard guard)
Add a guard to the set of warnings guards.
|
Constructor and Description |
---|
ComposeWarningsGuard(WarningsGuard... guards) |
Constructor and Description |
---|
ComposeWarningsGuard(java.util.List<WarningsGuard> guards) |
Modifier and Type | Class and Description |
---|---|
class |
CheckTypeSummaryWarningsGuard
A warnings guard that demotes the errors found in type summary files to be less severe, leaving
only the errors found in the original source.
|
Copyright © 2009-2020 Google. All Rights Reserved.