Rename LambdaExpr -> ClosureExpr

This commit is contained in:
Aleksey Kladov 2020-07-31 17:08:58 +02:00
parent bfcee63e75
commit 633aace411
19 changed files with 59 additions and 54 deletions

View file

@ -250,7 +250,7 @@ fn lambda_expr(p: &mut Parser) -> CompletedMarker {
p.error("expected expression");
}
}
m.complete(p, LAMBDA_EXPR)
m.complete(p, CLOSURE_EXPR)
}
// test if_expr

View file

@ -173,7 +173,7 @@ pub enum SyntaxKind {
ARRAY_EXPR,
PAREN_EXPR,
PATH_EXPR,
LAMBDA_EXPR,
CLOSURE_EXPR,
IF_EXPR,
WHILE_EXPR,
CONDITION,