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 |
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 |
ShowByPathWarningsGuard
Control whether warnings should be restricted or suppressed for specified
paths.
|
class |
StrictWarningsGuard
All warnings should be reported as errors.
|
class |
WhitelistWarningsGuard
An extension of
WarningsGuard that provides functionality to maintain
a list of warnings (white-list). |
Modifier and Type | Method and Description |
---|---|
protected WarningsGuard |
WarningsGuard.makeNonStrict()
Make a warnings guard that's the same as this one but with
all escalating guards turned down.
|
protected WarningsGuard |
DiagnosticGroupWarningsGuard.makeNonStrict() |
protected WarningsGuard |
StrictWarningsGuard.makeNonStrict() |
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-2019 Google. All Rights Reserved.