Package | Description |
---|---|
com.google.javascript.jscomp |
Provides the core compiler and its public API.
|
com.google.javascript.jscomp.newtypes |
Modifier and Type | Field and Description |
---|---|
private static java.util.Map<java.lang.String,DiagnosticGroup> |
DiagnosticGroups.groupsByName |
private static java.util.Map<DiagnosticType,DiagnosticGroup> |
DiagnosticGroup.singletons |
Modifier and Type | Method and Description |
---|---|
DiagnosticGroup |
DiagnosticGroups.forName(java.lang.String name)
Find the diagnostic group registered under the given name.
|
static DiagnosticGroup |
DiagnosticGroup.forType(DiagnosticType type)
Create a diagnostic group that matches only the given type.
|
(package private) static DiagnosticGroup |
DiagnosticGroups.registerDeprecatedGroup(java.lang.String name) |
(package private) static DiagnosticGroup |
DiagnosticGroups.registerGroup(java.lang.String name,
DiagnosticGroup... groups) |
(package private) static DiagnosticGroup |
DiagnosticGroups.registerGroup(java.lang.String name,
DiagnosticGroup group) |
(package private) static DiagnosticGroup |
DiagnosticGroups.registerGroup(java.lang.String name,
DiagnosticType... types) |
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,DiagnosticGroup> |
DiagnosticGroups.getRegisteredGroups()
Get the registered diagnostic groups, indexed by name.
|
Modifier and Type | Method and Description |
---|---|
boolean |
ComposeWarningsGuard.disables(DiagnosticGroup group) |
boolean |
DiagnosticGroupWarningsGuard.disables(DiagnosticGroup otherGroup) |
(package private) boolean |
CompilerOptions.disables(DiagnosticGroup type)
Whether the warnings guard in this Options object disables the given
group of warnings.
|
protected boolean |
WarningsGuard.disables(DiagnosticGroup group)
Returns whether all warnings in the given diagnostic group will be
filtered out.
|
boolean |
ComposeWarningsGuard.enables(DiagnosticGroup group)
Determines whether this guard will "elevate" the status of any disabled
diagnostic type in the group to a warning or an error.
|
boolean |
DiagnosticGroupWarningsGuard.enables(DiagnosticGroup otherGroup) |
(package private) boolean |
CompilerOptions.enables(DiagnosticGroup type)
Whether the warnings guard in this Options object enables the given
group of warnings.
|
protected boolean |
WarningsGuard.enables(DiagnosticGroup group)
Returns whether any of the warnings in the given diagnostic group will be
upgraded to a warning or error.
|
(package private) boolean |
DiagnosticGroup.isSubGroup(DiagnosticGroup group)
Returns whether all of the types in the given group are in this group.
|
(package private) static DiagnosticGroup |
DiagnosticGroups.registerGroup(java.lang.String name,
DiagnosticGroup... groups) |
(package private) static DiagnosticGroup |
DiagnosticGroups.registerGroup(java.lang.String name,
DiagnosticGroup group) |
void |
CompilerOptions.setWarningLevel(DiagnosticGroup type,
CheckLevel level)
Configure the given type of warning to the given level.
|
Constructor and Description |
---|
DiagnosticGroup(DiagnosticGroup... groups)
Create a composite group.
|
DiagnosticGroup(java.lang.String name,
DiagnosticGroup... groups)
Create a composite group.
|
DiagnosticGroupWarningsGuard(DiagnosticGroup group,
CheckLevel level) |
Constructor and Description |
---|
SuppressDocWarningsGuard(java.util.Map<java.lang.String,DiagnosticGroup> suppressibleGroups)
The suppressible groups, indexed by name.
|
Modifier and Type | Field and Description |
---|---|
static DiagnosticGroup |
JSTypeCreatorFromJSDoc.ALL_DIAGNOSTICS |