diff options
| author | Laurenz <laurmaedje@gmail.com> | 2020-10-07 18:24:47 +0200 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2020-10-07 18:24:47 +0200 |
| commit | d2e220245d9c17a0ac8c3474984924f65ed6b835 (patch) | |
| tree | 003ae20f6bc1c13c5f202d0e7beb3c9fff6b09b7 /src/syntax | |
| parent | 537545e7f8351d7677c396456e46568f5a5e2a7a (diff) | |
Move deco, pass and feedback into diagnostics module ↩
Diffstat (limited to 'src/syntax')
| -rw-r--r-- | src/syntax/mod.rs | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/syntax/mod.rs b/src/syntax/mod.rs index a85b06a9..8b716da4 100644 --- a/src/syntax/mod.rs +++ b/src/syntax/mod.rs @@ -10,20 +10,3 @@ pub use ast::*; pub use ident::*; pub use span::*; pub use token::*; - -/// Decorations for semantic syntax highlighting. -#[derive(Debug, Copy, Clone, Eq, PartialEq, Ord, PartialOrd)] -#[cfg_attr(feature = "serialize", derive(serde::Serialize))] -#[cfg_attr(feature = "serialize", serde(rename_all = "camelCase"))] -pub enum Deco { - /// Emphasized text. - Emph, - /// Strong text. - Strong, - /// A valid, successfully resolved name. - Resolved, - /// An invalid, unresolved name. - Unresolved, - /// A key in a dictionary. - DictKey, -} |
