mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-05 22:02:55 +01:00
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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user