diff options
| author | Laurenz <laurmaedje@gmail.com> | 2023-01-27 12:04:23 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2023-01-27 12:04:36 +0100 |
| commit | 1de53730bce0bd3f9de89db1da7c19b7889b9a75 (patch) | |
| tree | e2746f4853a5a8e99f32e8c52d6e4b4f411c1933 /src/syntax/ast.rs | |
| parent | 13efa128c855637a7fe3351a4579383359d1be1b (diff) | |
Symbol values and modules
Diffstat (limited to 'src/syntax/ast.rs')
| -rw-r--r-- | src/syntax/ast.rs | 14 |
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 } |
