summaryrefslogtreecommitdiff
path: root/src/parse/incremental.rs
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2022-01-28 20:02:42 +0100
committerLaurenz <laurmaedje@gmail.com>2022-01-28 20:02:42 +0100
commit76b1d4a93f6d045901f17db46d82a97c9f407703 (patch)
treef851460a038a4c543e3900352ec1a2903b6c9849 /src/parse/incremental.rs
parent2d97d406aced1f1ab7d3bc459e31bb0eff92b892 (diff)
Parse `show` and `wrap` expressions
Diffstat (limited to 'src/parse/incremental.rs')
-rw-r--r--src/parse/incremental.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/parse/incremental.rs b/src/parse/incremental.rs
index 4c82f158..2edb84ba 100644
--- a/src/parse/incremental.rs
+++ b/src/parse/incremental.rs
@@ -466,10 +466,13 @@ impl NodeKind {
// how far the expression would go.
Self::Let
| Self::Set
+ | Self::Show
+ | Self::Wrap
| Self::If
| Self::Else
| Self::For
| Self::In
+ | Self::As
| Self::While
| Self::Break
| Self::Continue
@@ -542,6 +545,8 @@ impl NodeKind {
| Self::IfExpr
| Self::LetExpr
| Self::SetExpr
+ | Self::ShowExpr
+ | Self::WrapExpr
| Self::ImportExpr
| Self::IncludeExpr => SuccessionRule::AtomicPrimary,