Uses of Class
com.google.javascript.jscomp.CheckLevel
-
-
Uses of CheckLevel in com.google.javascript.jscomp
Fields in com.google.javascript.jscomp declared as CheckLevel Modifier and Type Field Description CheckLevel
CompilerOptions. brokenClosureRequiresLevel
Deprecated.CheckLevel
CompilerOptions. checkGlobalNamesLevel
CheckLevel
DiagnosticType. level
The default reporting level for this diagnosticMethods in com.google.javascript.jscomp that return CheckLevel Modifier and Type Method Description abstract CheckLevel
JSError. getDefaultLevel()
The default level, before any of theWarningsGuard
s are applied.CheckLevel
Compiler. getErrorLevel(JSError error)
CheckLevel
AllowlistWarningsGuard. level(JSError error)
CheckLevel
ByPathWarningsGuard. level(JSError error)
CheckLevel
ComposeWarningsGuard. level(JSError error)
CheckLevel
DiagnosticGroupPathSuppressingWarningsGuard. level(JSError error)
Does not touch warnings in other paths.CheckLevel
DiagnosticGroupWarningsGuard. level(JSError error)
CheckLevel
J2clSuppressWarningsGuard. level(JSError error)
CheckLevel
ShowByPathWarningsGuard. level(JSError error)
CheckLevel
StrictWarningsGuard. level(JSError error)
abstract CheckLevel
WarningsGuard. level(JSError error)
Returns a new check level for a given error.static CheckLevel
CheckLevel. valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static CheckLevel[]
CheckLevel. values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in com.google.javascript.jscomp with parameters of type CheckLevel Modifier and Type Method Description static ByPathWarningsGuard
ByPathWarningsGuard. exceptPath(java.util.List<java.lang.String> paths, CheckLevel level)
java.lang.String
JSError. format(CheckLevel level, MessageFormatter formatter)
Format a message at the given level.static ByPathWarningsGuard
ByPathWarningsGuard. forPath(java.util.List<java.lang.String> paths, CheckLevel level)
static DiagnosticType
DiagnosticType. make(java.lang.String name, CheckLevel level, java.lang.String descriptionFormat)
Create a DiagnosticType at a given CheckLevel.static JSError
JSError. make(Node n, CheckLevel level, DiagnosticType type, java.lang.String... arguments)
Creates a JSError from a file and Node position.static JSError
JSError. make(java.lang.String sourceName, int lineno, int charno, CheckLevel level, DiagnosticType type, java.lang.String... arguments)
Creates a JSError at a given source locationabstract void
BasicErrorManager. println(CheckLevel level, JSError error)
Deprecated.Print a message with a trailing new line.void
LoggerErrorManager. println(CheckLevel level, JSError error)
void
PrintStreamErrorManager. println(CheckLevel level, JSError error)
Deprecated.void
AllowlistWarningsGuard.AllowlistBuilder. report(CheckLevel level, JSError error)
void
Compiler. report(CheckLevel ignoredLevel, JSError error)
void
ErrorHandler. report(CheckLevel level, JSError error)
void
ErrorManager. report(CheckLevel level, JSError error)
Reports an error.void
SortingErrorManager. report(CheckLevel level, JSError error)
void
ThreadSafeDelegatingErrorManager. report(CheckLevel level, JSError error)
void
CompilerOptions. setBrokenClosureRequiresLevel(CheckLevel level)
Deprecated.void
CompilerOptions. setCheckGlobalNamesLevel(CheckLevel level)
Checks the integrity of references to qualified global names.void
CompilerOptions. setCheckGlobalThisLevel(CheckLevel level)
Deprecated.void
CompilerOptions. setWarningLevel(DiagnosticGroup type, CheckLevel level)
Configure the given type of warning to the given level.void
DiagnosticGroups. setWarningLevel(CompilerOptions options, java.lang.String name, CheckLevel level)
Adds warning levels by name.Method parameters in com.google.javascript.jscomp with type arguments of type CheckLevel Modifier and Type Method Description void
CompilerOptions. setPropertyInvalidationErrors(java.util.Map<java.lang.String,CheckLevel> propertyInvalidationErrors)
Sets the list of properties that we report property invalidation errors for.protected static void
AbstractCommandLineRunner. setWarningGuardOptions(CompilerOptions options, java.util.ArrayList<AbstractCommandLineRunner.FlagEntry<CheckLevel>> warningGuards, DiagnosticGroups diagnosticGroups)
AbstractCommandLineRunner.CommandLineConfig
AbstractCommandLineRunner.CommandLineConfig. setWarningGuards(java.util.List<AbstractCommandLineRunner.FlagEntry<CheckLevel>> warningGuards)
Add warning guards.Constructors in com.google.javascript.jscomp with parameters of type CheckLevel Constructor Description DiagnosticGroupWarningsGuard(DiagnosticGroup group, CheckLevel level)
-
Uses of CheckLevel in com.google.javascript.jscomp.ant
Methods in com.google.javascript.jscomp.ant that return CheckLevel Modifier and Type Method Description CheckLevel
Warning. getLevel()
Methods in com.google.javascript.jscomp.ant with parameters of type CheckLevel Modifier and Type Method Description void
AntErrorManager. println(CheckLevel level, JSError error)
void
Warning. setLevel(CheckLevel level)
-
Uses of CheckLevel in com.google.javascript.jscomp.disambiguate
Constructor parameters in com.google.javascript.jscomp.disambiguate with type arguments of type CheckLevel Constructor Description DisambiguateProperties(AbstractCompiler compiler, java.util.Map<java.lang.String,CheckLevel> propertiesToErrorFor)
DisambiguateProperties2(AbstractCompiler compiler, com.google.common.collect.ImmutableMap<java.lang.String,CheckLevel> invalidationReportingLevelByProp)
-
Uses of CheckLevel in com.google.javascript.jscomp.ijs
Methods in com.google.javascript.jscomp.ijs that return CheckLevel Modifier and Type Method Description CheckLevel
CheckTypeSummaryWarningsGuard. level(JSError error)
Constructors in com.google.javascript.jscomp.ijs with parameters of type CheckLevel Constructor Description CheckTypeSummaryWarningsGuard(CheckLevel level)
-
Uses of CheckLevel in com.google.javascript.refactoring
Methods in com.google.javascript.refactoring with parameters of type CheckLevel Modifier and Type Method Description void
FixingErrorManager. println(CheckLevel level, JSError error)
void
FixingErrorManager. report(CheckLevel level, JSError error)
-