public class JsonMLError extends Object
Modifier and Type | Field and Description |
---|---|
String |
description
Description of the error
|
JsonML |
element
Node where the warning occurred.
|
ErrorLevel |
level
Level
|
int |
lineNumber
Line number of the source
|
String |
sourceName
Name of the source
|
Modifier and Type | Method and Description |
---|---|
static JsonMLError |
make(DiagnosticType type,
String sourceName,
JsonML element,
int lineNumber,
ErrorLevel level,
String... arguments) |
static JsonMLError |
make(JSError error,
JsonMLAst ast) |
public final String description
public final String sourceName
public final JsonML element
public final int lineNumber
public final ErrorLevel level
public static JsonMLError make(DiagnosticType type, String sourceName, JsonML element, int lineNumber, ErrorLevel level, String... arguments)
public static JsonMLError make(JSError error, JsonMLAst ast)