Uses of Class
com.google.javascript.jscomp.DiagnosticType
-
-
Uses of DiagnosticType in com.google.javascript.jscomp
Methods in com.google.javascript.jscomp that return DiagnosticType Modifier and Type Method Description static DiagnosticType
DiagnosticType. disabled(java.lang.String name, java.lang.String descriptionFormat)
Create a DiagnosticType at level CheckLevel.OFFstatic DiagnosticType
DiagnosticType. error(java.lang.String name, java.lang.String descriptionFormat)
Create a DiagnosticType at level CheckLevel.ERRORabstract DiagnosticType
JSError. getType()
A type of the error.static DiagnosticType
DiagnosticType. make(java.lang.String name, CheckLevel level, java.lang.String descriptionFormat)
Create a DiagnosticType at a given CheckLevel.static DiagnosticType
DiagnosticType. warning(java.lang.String name, java.lang.String descriptionFormat)
Create a DiagnosticType at level CheckLevel.WARNINGMethods in com.google.javascript.jscomp that return types with arguments of type DiagnosticType Modifier and Type Method Description com.google.common.collect.ImmutableSet<DiagnosticType>
DiagnosticGroup. getTypes()
Returns all the types in this group.Methods in com.google.javascript.jscomp with parameters of type DiagnosticType Modifier and Type Method Description int
DiagnosticType. compareTo(DiagnosticType diagnosticType)
static DiagnosticGroup
DiagnosticGroup. forType(DiagnosticType type)
Create a diagnostic group that matches only the given type.static JSError
JSError. make(DiagnosticType type, java.lang.String... arguments)
Creates a JSError with no source informationstatic 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(Node n, 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 locationstatic JSError
JSError. make(java.lang.String sourceName, int lineno, int charno, DiagnosticType type, java.lang.String... arguments)
Creates a JSError at a given source locationboolean
DiagnosticGroup. matches(DiagnosticType type)
Returns whether the given type matches a type in this group.void
NodeTraversal. report(Node n, DiagnosticType diagnosticType, java.lang.String... arguments)
Reports a diagnostic (error or warning)Constructors in com.google.javascript.jscomp with parameters of type DiagnosticType Constructor Description DiagnosticGroup(DiagnosticType... types)
Create a group that matches all errors of the given types. -
Uses of DiagnosticType in com.google.javascript.jscomp.deps
Fields in com.google.javascript.jscomp.deps declared as DiagnosticType Modifier and Type Field Description static DiagnosticType
ModuleLoader. INVALID_MODULE_PATH
static DiagnosticType
ModuleLoader. LOAD_WARNING
static DiagnosticType
ModuleLoader. MODULE_CONFLICT
static DiagnosticType
JsFileLineParser. PARSE_ERROR
-
Uses of DiagnosticType in com.google.javascript.jscomp.ijs
Fields in com.google.javascript.jscomp.ijs declared as DiagnosticType Modifier and Type Field Description static DiagnosticType
IjsErrors. BAD_IJS_FILE_NAME
static DiagnosticType
IjsErrors. CONFLICTING_IJS_FILE
-
Uses of DiagnosticType in com.google.javascript.jscomp.lint
-
Uses of DiagnosticType in com.google.javascript.jscomp.modules
Fields in com.google.javascript.jscomp.modules declared as DiagnosticType Modifier and Type Field Description static DiagnosticType
EsModuleProcessor. AMBIGUOUS_EXPORT_DEFINITION
Error occurs when there is an ambiguous export, which can happen if there are multipleexport * from
statements.static DiagnosticType
EsModuleProcessor. CANNOT_PATH_IMPORT_CLOSURE_FILE
static DiagnosticType
EsModuleProcessor. CYCLIC_EXPORT_DEFINITION
static DiagnosticType
ModuleMapCreator. DOES_NOT_HAVE_EXPORT
static DiagnosticType
ModuleMapCreator. DOES_NOT_HAVE_EXPORT_WITH_DETAILS
static DiagnosticType
EsModuleProcessor. DUPLICATE_EXPORT
static DiagnosticType
EsModuleProcessor. IMPORTED_AMBIGUOUS_EXPORT
static DiagnosticType
ModuleMapCreator. MISSING_NAMESPACE_IMPORT
static DiagnosticType
EsModuleProcessor. NAMESPACE_IMPORT_CANNOT_USE_STAR
-
Uses of DiagnosticType in com.google.javascript.refactoring
Constructor parameters in com.google.javascript.refactoring with type arguments of type DiagnosticType Constructor Description FixingErrorManager(com.google.common.collect.ImmutableSet<DiagnosticType> unfixableErrors)
-