Package | Description |
---|---|
com.google.javascript.jscomp |
Provides the core compiler and its public API.
|
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 |
DiagnosticGroupWarningsGuard
Sets the level for a particular DiagnosticGroup.
|
class |
ShowByPathWarningsGuard
Control whether warnings should be restricted or suppressed for specified
paths.
|
class |
StrictWarningsGuard
All warnings should be reported as errors.
|
(package private) class |
SuppressDocWarningsGuard
Filters warnings based on in-code
@suppress annotations. |
class |
WhitelistWarningsGuard
An extension of
WarningsGuard that provides functionality to maintain
a list of warnings (white-list). |
Modifier and Type | Field and Description |
---|---|
private WarningsGuard |
Compiler.warningsGuard |
Modifier and Type | Field and Description |
---|---|
private java.util.Comparator<WarningsGuard> |
ComposeWarningsGuard.guardComparator |
private java.util.TreeSet<WarningsGuard> |
ComposeWarningsGuard.guards |
private java.util.Map<WarningsGuard,java.lang.Integer> |
ComposeWarningsGuard.orderOfAddition |
private java.util.Map<WarningsGuard,java.lang.Integer> |
ComposeWarningsGuard.GuardComparator.orderOfAddition |
Modifier and Type | Method and Description |
---|---|
(package private) WarningsGuard |
CompilerOptions.getWarningsGuard() |
protected WarningsGuard |
StrictWarningsGuard.makeNonStrict() |
protected WarningsGuard |
DiagnosticGroupWarningsGuard.makeNonStrict() |
protected WarningsGuard |
WarningsGuard.makeNonStrict()
Make a warnings guard that's the same as this one but with
all escalating guards turned down.
|
Modifier and Type | Method and Description |
---|---|
(package private) java.util.List<WarningsGuard> |
ComposeWarningsGuard.getGuards() |
Modifier and Type | Method and Description |
---|---|
(package private) void |
ComposeWarningsGuard.addGuard(WarningsGuard guard) |
void |
CompilerOptions.addWarningsGuard(WarningsGuard guard)
Add a guard to the set of warnings guards.
|
int |
ComposeWarningsGuard.GuardComparator.compare(WarningsGuard a,
WarningsGuard b) |
(package private) void |
Compiler.initWarningsGuard(WarningsGuard warningsGuard) |
Modifier and Type | Method and Description |
---|---|
private void |
ComposeWarningsGuard.addGuards(java.lang.Iterable<WarningsGuard> guards) |
Constructor and Description |
---|
ComposeWarningsGuard(WarningsGuard... guards) |
Constructor and Description |
---|
ComposeWarningsGuard(java.util.List<WarningsGuard> guards) |
GuardComparator(java.util.Map<WarningsGuard,java.lang.Integer> orderOfAddition) |