Rename BindPat -> IdentPat

This commit is contained in:
Aleksey Kladov 2020-07-31 20:09:09 +02:00
parent 6791eb9685
commit 9818108798
83 changed files with 277 additions and 273 deletions

View file

@ -361,7 +361,7 @@ fn bind_pat(p: &mut Parser, with_at: bool) -> CompletedMarker {
if with_at && p.eat(T![@]) {
pattern_single(p);
}
m.complete(p, BIND_PAT)
m.complete(p, IDENT_PAT)
}
// test box_pat

View file

@ -156,7 +156,7 @@ pub enum SyntaxKind {
PAREN_PAT,
REF_PAT,
BOX_PAT,
BIND_PAT,
IDENT_PAT,
WILDCARD_PAT,
DOT_DOT_PAT,
PATH_PAT,