mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-04 14:21:11 +01:00
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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user