summaryrefslogtreecommitdiff
path: root/src/syntax
diff options
context:
space:
mode:
Diffstat (limited to 'src/syntax')
-rw-r--r--src/syntax/mod.rs17
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,
-}