Class JsonMLError
java.lang.Object
com.google.javascript.jscomp.jsonml.JsonMLError
Class used to represent errors which correspond to JsonML elements.
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal StringDescription of the errorfinal JsonMLNode where the warning occurred.final ErrorLevelLevelfinal intLine number of the sourcefinal StringName of the source -
Method Summary
Modifier and TypeMethodDescriptionstatic JsonMLErrormake(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
-