Class constructor (optional)

This commit is contained in:
2026-05-05 20:11:43 +02:00
parent 8bb5dc3584
commit 9e5d030b0c
5 changed files with 29 additions and 2 deletions
+2
View File
@@ -167,11 +167,13 @@ prefix = {
deref_px
| mut_ref_px
| ref_px
| new_px
}
deref_px = { "*" }
mut_ref_px = { "&" ~ mutable }
ref_px = { "&" }
new_px = { "new" }
expr = {
prefix* ~ primary ~ postfix*