Added expr? syntax

This commit is contained in:
2026-05-17 06:08:53 +02:00
parent e270ec727e
commit 5fa3e77b8f
4 changed files with 10 additions and 0 deletions
+5
View File
@@ -500,6 +500,10 @@ as_px = {
"as" ~ type_expr
}
try_px = {
"?"
}
postfix = {
field_px
| call_px
@@ -507,6 +511,7 @@ postfix = {
| struct_px
| index_px
| as_px
| try_px
}
// ------------------------------------------------------