Class JsonMLError
java.lang.Object
com.google.javascript.jscomp.jsonml.JsonMLError
Class used to represent errors which correspond to JsonML elements.
-
Field Summary
Modifier and TypeFieldDescriptionfinal String
Description of the errorfinal JsonML
Node where the warning occurred.final ErrorLevel
Levelfinal int
Line number of the sourcefinal String
Name of the source -
Method Summary
Modifier and TypeMethodDescriptionstatic JsonMLError
make
(DiagnosticType type, String sourceName, JsonML element, int lineNumber, ErrorLevel level, String... arguments) static JsonMLError
-
Field Details
-
description
Description of the error -
sourceName
Name of the source -
element
Node where the warning occurred. -
lineNumber
public final int lineNumberLine number of the source -
level
Level
-
-
Method Details
-
make
public static JsonMLError make(DiagnosticType type, String sourceName, JsonML element, int lineNumber, ErrorLevel level, String... arguments) -
make
-