diff options
| author | Laurenz <laurmaedje@gmail.com> | 2023-01-22 13:32:58 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2023-01-22 13:32:58 +0100 |
| commit | 7e295d84b55322e84695e793af8d64b6ec89e357 (patch) | |
| tree | 4570ee01286e69846ed1be382e30d1d3b0ed9bed /src/syntax/kind.rs | |
| parent | 953bdc1859f7acdbecbb7b819bc5b113a50849d0 (diff) | |
Math delimiter grouping
Diffstat (limited to 'src/syntax/kind.rs')
| -rw-r--r-- | src/syntax/kind.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/syntax/kind.rs b/src/syntax/kind.rs index 5928fa0a..206df911 100644 --- a/src/syntax/kind.rs +++ b/src/syntax/kind.rs @@ -61,6 +61,9 @@ pub enum SyntaxKind { Math, /// An atom in math: `x`, `+`, `12`. Atom, + /// A subsection in a math formula that is surrounded by matched delimiters: + /// `[x + y]`. + Delimited, /// A base with optional sub- and superscripts in math: `a_1^2`. Script, /// A fraction in math: `x/2`. @@ -336,6 +339,7 @@ impl SyntaxKind { Self::TermItem => "term list item", Self::TermMarker => "term marker", Self::Math => "math formula", + Self::Delimited => "delimited math", Self::Atom => "math atom", Self::Script => "script", Self::Frac => "fraction", |
