Crate syntax_error
Source Expand description
- ColorGenerator
- A type that can generate distinct 8-bit colors.
- Config
- A type used to configure a report
- FileCache
- A [
Cache
] that fetches Source
s from the filesystem. - FileID
- A type representing a single line of a
Source
. - FileSpan
- A type representing a single line of a
Source
. - Label
- A type that represents a labelled section of source code.
- Line
- A type representing a single line of a
Source
. - Report
- A type representing a diagnostic that is ready to be written to output.
- ReportBuilder
- A type used to build a
Report
. - Source
- A type representing a single source that may be referred to by
Span
s.
- CharSet
- Possible character sets to use when rendering diagnostics.
- Color
- An enum representing an ANSI color code.
- LabelAttach
- The attachment point of inline label arrows
- ReportKind
- @trace 0
@print 100
@blame 150
@risky 175
@alert 200
@error 250
@fatal 255
A type that defines the kind of report being produced.
- Fmt
- A trait used to add formatting attributes to displayable items.
- ReportLevel
- A builder for
Report
. - Span
- A trait implemented by spans within a character-based source.