Binding pattern naming cleanup (#3410)

- Rename `PatternBinding` to `BindingPattern`.
- Use `BindingPattern` rather than `Pattern` in the names of
binding-pattern-specific parse states.
This commit is contained in:
Geoff Romer
2023-12-01 21:36:51 +00:00
committed by GitHub
parent 18c3622bec
commit b8d4e2f41b
131 changed files with 349 additions and 278 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ auto HandleLet(Context& context) -> void {
context.AddLeafNode(NodeKind::LetIntroducer, context.Consume());
// This will start at the pattern.
context.PushState(State::PatternAsLet);
context.PushState(State::BindingPatternAsLet);
}
auto HandleLetAfterPattern(Context& context) -> void {