class Parser::Diagnostic

@api public

@!attribute [r] level

@see LEVELS
@return [Symbol] diagnostic level

@!attribute [r] reason

@see Parser::MESSAGES
@return [Symbol] reason for error

@!attribute [r] arguments

@see Parser::MESSAGES
@return [Symbol] extended arguments that describe the error

@!attribute [r] message

@return [String] error message

@!attribute [r] location

Main error-related source range.
@return [Parser::Source::Range]

@!attribute [r] highlights

Supplementary error-related source ranges.
@return [Array<Parser::Source::Range>]