Optional
marker0-based marker ID in the DSL. Not asserted if not provided.
The expected message of the issue. Can be a string or a regular expression to match against the actual message.
Optional
severityThe severity of the issue.
Defaults to DocumentIssueSeverity.ERROR
if not specified.
Optional
sourceThe source of the issue (lexer, parser, validator, etc.). Not asserted if not provided.
Represents an expected issue in a Langium document.