Rename Parse::Node -> Parse::NodeId. (#3432)

As discussed [on
discord](https://discord.com/channels/655572317891461132/655578254970716160/1178878128714678282)
and today's toolchain discussion.
This commit is contained in:
Richard Smith
2023-11-29 18:53:12 +00:00
committed by GitHub
parent 0c0998d7cd
commit 332a368cee
45 changed files with 396 additions and 372 deletions
+3 -3
View File
@@ -10,17 +10,17 @@
namespace Carbon::Check {
auto HandleArrayExprStart(Context& /*context*/, Parse::Node /*parse_node*/)
auto HandleArrayExprStart(Context& /*context*/, Parse::NodeId /*parse_node*/)
-> bool {
return true;
}
auto HandleArrayExprSemi(Context& context, Parse::Node parse_node) -> bool {
auto HandleArrayExprSemi(Context& context, Parse::NodeId parse_node) -> bool {
context.node_stack().Push(parse_node);
return true;
}
auto HandleArrayExpr(Context& context, Parse::Node parse_node) -> bool {
auto HandleArrayExpr(Context& context, Parse::NodeId parse_node) -> bool {
// TODO: Handle array type with undefined bound.
if (context.parse_tree().node_kind(context.node_stack().PeekParseNode()) ==
Parse::NodeKind::ArrayExprSemi) {