Add BoxPat variant

This commit is contained in:
Dylan MacKenzie 2019-08-23 13:04:58 -07:00
parent fdece911fe
commit e6f3790106
3 changed files with 41 additions and 2 deletions

View file

@ -158,6 +158,7 @@ Grammar(
"DYN_TRAIT_TYPE",
"REF_PAT",
"BOX_PAT",
"BIND_PAT",
"PLACEHOLDER_PAT",
"PATH_PAT",
@ -523,6 +524,7 @@ Grammar(
),
"RefPat": ( options: [ "Pat" ]),
"BoxPat": ( options: [ "Pat" ]),
"BindPat": (
options: [ "Pat" ],
traits: ["NameOwner"]
@ -552,6 +554,7 @@ Grammar(
"Pat": (
enum: [
"RefPat",
"BoxPat",
"BindPat",
"PlaceholderPat",
"PathPat",