Optionalmarker0-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.
OptionalseverityThe severity of the issue.
Defaults to DocumentIssueSeverity.ERROR if not specified.
OptionalsourceThe source of the issue (lexer, parser, validator, etc.). Not asserted if not provided.
Represents an expected issue in a Langium document.