Package | Description |
---|---|
com.google.javascript.jscomp |
Provides the core compiler and its public API.
|
com.google.javascript.jscomp.lint | |
com.google.javascript.jscomp.newtypes |
Modifier and Type | Method and Description |
---|---|
DiagnosticGroup |
DiagnosticGroups.forName(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.
|
Modifier and Type | Method and Description |
---|---|
Map<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) |
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) |
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.
|
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(String name,
DiagnosticGroup... groups)
Create a composite group.
|
DiagnosticGroupWarningsGuard(DiagnosticGroup group,
CheckLevel level) |
Modifier and Type | Field and Description |
---|---|
static DiagnosticGroup |
CheckJSDocStyle.ALL_DIAGNOSTICS |
Modifier and Type | Field and Description |
---|---|
static DiagnosticGroup |
JSTypeCreatorFromJSDoc.COMPATIBLE_DIAGNOSTICS |
static DiagnosticGroup |
JSTypeCreatorFromJSDoc.NEW_DIAGNOSTICS |
Copyright © 2009-2016 Google. All Rights Reserved.