mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-05 17:31:07 +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:
@@ -8,27 +8,28 @@
|
||||
|
||||
namespace Carbon::Check {
|
||||
|
||||
auto HandleVariableIntroducer(Context& context, Parse::Node parse_node)
|
||||
auto HandleVariableIntroducer(Context& context, Parse::NodeId parse_node)
|
||||
-> bool {
|
||||
// No action, just a bracketing node.
|
||||
context.node_stack().Push(parse_node);
|
||||
return true;
|
||||
}
|
||||
|
||||
auto HandleReturnedModifier(Context& context, Parse::Node parse_node) -> bool {
|
||||
// No action, just a bracketing node.
|
||||
context.node_stack().Push(parse_node);
|
||||
return true;
|
||||
}
|
||||
|
||||
auto HandleVariableInitializer(Context& context, Parse::Node parse_node)
|
||||
auto HandleReturnedModifier(Context& context, Parse::NodeId parse_node)
|
||||
-> bool {
|
||||
// No action, just a bracketing node.
|
||||
context.node_stack().Push(parse_node);
|
||||
return true;
|
||||
}
|
||||
|
||||
auto HandleVariableDecl(Context& context, Parse::Node parse_node) -> bool {
|
||||
auto HandleVariableInitializer(Context& context, Parse::NodeId parse_node)
|
||||
-> bool {
|
||||
// No action, just a bracketing node.
|
||||
context.node_stack().Push(parse_node);
|
||||
return true;
|
||||
}
|
||||
|
||||
auto HandleVariableDecl(Context& context, Parse::NodeId parse_node) -> bool {
|
||||
// Handle the optional initializer.
|
||||
auto init_id = SemIR::InstId::Invalid;
|
||||
bool has_init =
|
||||
|
||||
Reference in New Issue
Block a user