Package com.google.javascript.jscomp
Class DiagnosticGroupPathSuppressingWarningsGuard
java.lang.Object
com.google.javascript.jscomp.WarningsGuard
com.google.javascript.jscomp.DiagnosticGroupPathSuppressingWarningsGuard
- All Implemented Interfaces:
Serializable
A warnings guard that suppresses warnings for a particular diagnostic group for a file that
contains the specified substring.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.google.javascript.jscomp.WarningsGuard
WarningsGuard.Priority
-
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescription@Nullable CheckLevel
Does not touch warnings in other paths.toString()
Methods inherited from class com.google.javascript.jscomp.WarningsGuard
getPriority, mustRunChecks
-
Constructor Details
-
DiagnosticGroupPathSuppressingWarningsGuard
-
-
Method Details
-
level
Does not touch warnings in other paths.- Specified by:
level
in classWarningsGuard
- Parameters:
error
- a reported error.- Returns:
- what level given error should have.
-
toString
-