Uses of Class
com.google.javascript.jscomp.JSError
-
Packages that use JSError Package Description com.google.javascript.jscomp com.google.javascript.jscomp.ant com.google.javascript.jscomp.bundle com.google.javascript.jscomp.ijs com.google.javascript.refactoring -
-
Uses of JSError in com.google.javascript.jscomp
Fields in com.google.javascript.jscomp with type parameters of type JSError Modifier and Type Field Description com.google.common.collect.ImmutableList<JSError>Result. errorscom.google.common.collect.ImmutableList<JSError>Result. warningsMethods in com.google.javascript.jscomp that return JSError Modifier and Type Method Description static JSErrorJSError. make(DiagnosticType type, java.lang.String... arguments)Creates a JSError with no source informationstatic JSErrorJSError. make(com.google.javascript.jscomp.Requirement requirement, Node n, DiagnosticType type, java.lang.String... arguments)Creates a JSError from a requirement, 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, DiagnosticType type, java.lang.String... arguments)Creates a JSError at a given source locationMethods in com.google.javascript.jscomp that return types with arguments of type JSError Modifier and Type Method Description static com.google.common.collect.ImmutableList<JSError>ConformanceAllowlister. getConformanceErrors(Compiler compiler, Node externs, Node ast, com.google.javascript.jscomp.Requirement requirement)com.google.common.collect.ImmutableList<JSError>Compiler. getErrors()Returns the list of errors (never null).com.google.common.collect.ImmutableList<JSError>ErrorManager. getErrors()Gets all the errors.com.google.common.collect.ImmutableList<JSError>SortingErrorManager. getErrors()com.google.common.collect.ImmutableList<JSError>ThreadSafeDelegatingErrorManager. getErrors()com.google.common.collect.ImmutableList<JSError>Compiler. getWarnings()Returns the list of warnings (never null).com.google.common.collect.ImmutableList<JSError>ErrorManager. getWarnings()Gets all the warnings.com.google.common.collect.ImmutableList<JSError>SortingErrorManager. getWarnings()com.google.common.collect.ImmutableList<JSError>ThreadSafeDelegatingErrorManager. getWarnings()Methods in com.google.javascript.jscomp with parameters of type JSError Modifier and Type Method Description java.lang.StringLightweightMessageFormatter. formatError(JSError error)java.lang.StringMessageFormatter. formatError(JSError error)Format an error.protected java.lang.StringAllowlistWarningsGuard. formatWarning(JSError error)If subclasses want to modify the formatting, they should override #formatWarning(JSError, boolean), not this method.protected java.lang.StringAllowlistWarningsGuard. formatWarning(JSError error, boolean withMetaData)java.lang.StringLightweightMessageFormatter. formatWarning(JSError warning)java.lang.StringMessageFormatter. formatWarning(JSError warning)Format a warning.CheckLevelCompiler. getErrorLevel(JSError error)@Nullable CheckLevelAllowlistWarningsGuard. level(JSError error)@Nullable CheckLevelByPathWarningsGuard. level(JSError error)@Nullable CheckLevelComposeWarningsGuard. level(JSError error)@Nullable CheckLevelDiagnosticGroupPathSuppressingWarningsGuard. level(JSError error)Does not touch warnings in other paths.@Nullable CheckLevelDiagnosticGroupWarningsGuard. level(JSError error)@Nullable CheckLevelJ2clSuppressWarningsGuard. level(JSError error)CheckLevelShowByPathWarningsGuard. level(JSError error)@Nullable CheckLevelStrictWarningsGuard. level(JSError error)abstract @Nullable CheckLevelWarningsGuard. level(JSError error)Returns a new check level for a given error.booleanDiagnosticGroup. matches(JSError error)Returns whether the given error's type matches a type in this group.abstract voidBasicErrorManager. println(CheckLevel level, JSError error)Deprecated.Print a message with a trailing new line.voidLoggerErrorManager. println(CheckLevel level, JSError error)voidPrintStreamErrorManager. println(CheckLevel level, JSError error)Deprecated.abstract voidAbstractCompiler. report(JSError error)Report an error or warning.voidAllowlistWarningsGuard.AllowlistBuilder. report(CheckLevel level, JSError error)voidCompiler. report(CheckLevel ignoredLevel, JSError error)voidCompiler. report(JSError error)voidErrorHandler. report(CheckLevel level, JSError error)voidErrorManager. report(CheckLevel level, JSError error)Reports an error.voidSortingErrorManager. report(CheckLevel level, JSError error)voidThreadSafeDelegatingErrorManager. report(CheckLevel level, JSError error)default booleanErrorManager. shouldReportConformanceViolation(com.google.javascript.jscomp.Requirement requirement, com.google.common.base.Optional<com.google.javascript.jscomp.Requirement.WhitelistEntry> whitelistEntry, JSError diagnostic)Return true if the conformance violation should be reported.booleanThreadSafeDelegatingErrorManager. shouldReportConformanceViolation(com.google.javascript.jscomp.Requirement requirement, com.google.common.base.Optional<com.google.javascript.jscomp.Requirement.WhitelistEntry> whitelistEntry, JSError diagnostic)Constructor parameters in com.google.javascript.jscomp with type arguments of type JSError Constructor Description Result(com.google.common.collect.ImmutableList<JSError> errors, com.google.common.collect.ImmutableList<JSError> warnings, VariableMap variableMap, VariableMap propertyMap, VariableMap namedAnonFunctionMap, SourceMap sourceMap, java.lang.String externExport)Deprecated. -
Uses of JSError in com.google.javascript.jscomp.ant
Methods in com.google.javascript.jscomp.ant with parameters of type JSError Modifier and Type Method Description voidAntErrorManager. println(CheckLevel level, JSError error) -
Uses of JSError in com.google.javascript.jscomp.bundle
Fields in com.google.javascript.jscomp.bundle with type parameters of type JSError Modifier and Type Field Description com.google.common.collect.ImmutableList<JSError>CompilerBasedTransformer.CompileResult. errorsMethods in com.google.javascript.jscomp.bundle that return types with arguments of type JSError Modifier and Type Method Description com.google.common.collect.ImmutableList<JSError>TranspilationException. errors()com.google.common.collect.ImmutableList<JSError>TranspilationException. warnings()Constructor parameters in com.google.javascript.jscomp.bundle with type arguments of type JSError Constructor Description CompileResult(java.lang.String source, com.google.common.collect.ImmutableList<JSError> errors, boolean transformed, java.lang.String sourceMap)TranspilationException(SourceExcerptProvider source, com.google.common.collect.ImmutableList<JSError> errors, com.google.common.collect.ImmutableList<JSError> warnings) -
Uses of JSError in com.google.javascript.jscomp.ijs
Methods in com.google.javascript.jscomp.ijs with parameters of type JSError Modifier and Type Method Description @Nullable CheckLevelCheckTypeSummaryWarningsGuard. level(JSError error) -
Uses of JSError in com.google.javascript.refactoring
Methods in com.google.javascript.refactoring with parameters of type JSError Modifier and Type Method Description com.google.common.collect.ImmutableList<SuggestedFix>ErrorToFixMapper. getFixesForJsError(JSError error)java.util.List<SuggestedFix>FixingErrorManager. getFixesForJsError(JSError error)@Nullable SuggestedFixErrorToFixMapper. getFixForJsError(JSError error)Creates a SuggestedFix for the given error.voidFixingErrorManager. println(CheckLevel level, JSError error)voidFixingErrorManager. report(CheckLevel level, JSError error)
-