mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-19 02:10:34 +00:00
Rename Name -> IdentifierName given that we have several other kinds of parse nodes that represent names. (#3453)
Factor out common checking handling for the different kinds of unqualified names
This commit is contained in:
1 parent
bf8697113a
commit
fe6f7b4330
201 files changed
+712
-725
No files matched your search
@@ -73,7 +73,7 @@ auto HandleExprInPostfix(Context& context) -> void {
|
||||
// expression.
|
||||
switch (context.PositionKind()) {
|
||||
case Lex::TokenKind::Identifier: {
|
||||
context.AddLeafNode(NodeKind::NameExpr, context.Consume());
|
||||
context.AddLeafNode(NodeKind::IdentifierNameExpr, context.Consume());
|
||||
context.PushState(state);
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user