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 DiagnosticTypeDiagnosticType. disabled(java.lang.String name, java.lang.String descriptionFormat)Create a DiagnosticType at level CheckLevel.OFFstatic DiagnosticTypeDiagnosticType. error(java.lang.String name, java.lang.String descriptionFormat)Create a DiagnosticType at level CheckLevel.ERRORabstract DiagnosticTypeJSError. getType()A type of the error.static DiagnosticTypeDiagnosticType. make(java.lang.String name, CheckLevel level, java.lang.String descriptionFormat)Create a DiagnosticType at a given CheckLevel.static DiagnosticTypeDiagnosticType. 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 intDiagnosticType. compareTo(DiagnosticType diagnosticType)static DiagnosticGroupDiagnosticGroup. forType(DiagnosticType type)Create a diagnostic group that matches only the given type.static JSErrorJSError. make(DiagnosticType type, java.lang.String... arguments)Creates a JSError with no source informationstatic JSErrorJSError. make(Node n, CheckLevel level, DiagnosticType type, java.lang.String... arguments)Creates a JSError from a file and Node position.static JSErrorJSError. make(Node n, DiagnosticType type, java.lang.String... arguments)Creates a JSError from a file and Node position.static JSErrorJSError. 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 JSErrorJSError. make(java.lang.String sourceName, int lineno, int charno, DiagnosticType type, java.lang.String... arguments)Creates a JSError at a given source locationbooleanDiagnosticGroup. matches(DiagnosticType type)Returns whether the given type matches a type in this group.voidNodeTraversal. 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 DiagnosticTypeModuleLoader. INVALID_MODULE_PATHstatic DiagnosticTypeModuleLoader. LOAD_WARNINGstatic DiagnosticTypeModuleLoader. MODULE_CONFLICTstatic DiagnosticTypeJsFileLineParser. 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 DiagnosticTypeIjsErrors. BAD_IJS_FILE_NAMEstatic DiagnosticTypeIjsErrors. 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 DiagnosticTypeEsModuleProcessor. AMBIGUOUS_EXPORT_DEFINITIONError occurs when there is an ambiguous export, which can happen if there are multipleexport * fromstatements.static DiagnosticTypeEsModuleProcessor. CANNOT_PATH_IMPORT_CLOSURE_FILEstatic DiagnosticTypeEsModuleProcessor. CYCLIC_EXPORT_DEFINITIONstatic DiagnosticTypeModuleMapCreator. DOES_NOT_HAVE_EXPORTstatic DiagnosticTypeModuleMapCreator. DOES_NOT_HAVE_EXPORT_WITH_DETAILSstatic DiagnosticTypeEsModuleProcessor. DUPLICATE_EXPORTstatic DiagnosticTypeEsModuleProcessor. IMPORTED_AMBIGUOUS_EXPORTstatic DiagnosticTypeModuleMapCreator. MISSING_NAMESPACE_IMPORTstatic DiagnosticTypeEsModuleProcessor. 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)
-