Crate language_reporting
source ·Re-exports
pub extern crate termcolor;
Macros
This macro builds a [
Document
] using nested syntax.Structs
A command line argument that configures the coloring of the output
Represents a diagnostic message and associated child messages.
The
Document
is the root node in a render tree.A list of items that can be appended into a
Document
. For each item in
items
, the callback is invoked, and its return value is appended to
the document.A label describing an underlined region of code associated with a diagnostic
A section that can be appended into a document. Sections are invisible, but
can be targeted in stylesheets with selectors using their name.
Enums
Traits
The Render trait defines a type that can be added to a Document.
It is defined for
Node
, String
, &str
, and Document
.allocThis trait defines a renderable entity with arguments. Types that implement
RenderComponent
can be packaged up together with their arguments in a
Component
, and the Component
is renderable.