summaryrefslogtreecommitdiff
path: root/src/syntax/ast.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/syntax/ast.rs')
-rw-r--r--src/syntax/ast.rs14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/syntax/ast.rs b/src/syntax/ast.rs
index b9186787..3b573f7d 100644
--- a/src/syntax/ast.rs
+++ b/src/syntax/ast.rs
@@ -89,8 +89,6 @@ pub enum Expr {
/// A shorthand for a unicode codepoint. For example, `~` for non-breaking
/// space or `-?` for a soft hyphen.
Shorthand(Shorthand),
- /// Symbol notation: `:arrow:l:`.
- Symbol(Symbol),
/// A smart quote: `'` or `"`.
SmartQuote(SmartQuote),
/// Strong content: `*Strong*`.
@@ -414,18 +412,6 @@ impl Shorthand {
}
node! {
- /// Symbol notation: `:arrow:l:`.
- Symbol
-}
-
-impl Symbol {
- /// Get the symbol's notation.
- pub fn get(&self) -> &str {
- self.0.text().trim_matches(':')
- }
-}
-
-node! {
/// A smart quote: `'` or `"`.
SmartQuote
}