mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-05 20:31:15 +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:
@@ -9,7 +9,7 @@
|
||||
|
||||
namespace Carbon::Check {
|
||||
|
||||
auto HandleCallExpr(Context& context, Parse::Node parse_node) -> bool {
|
||||
auto HandleCallExpr(Context& context, Parse::NodeId parse_node) -> bool {
|
||||
// Process the final explicit call argument now, but leave the arguments
|
||||
// block on the stack until the end of this function.
|
||||
context.ParamOrArgEndNoPop(Parse::NodeKind::CallExprStart);
|
||||
@@ -84,12 +84,13 @@ auto HandleCallExpr(Context& context, Parse::Node parse_node) -> bool {
|
||||
return true;
|
||||
}
|
||||
|
||||
auto HandleCallExprComma(Context& context, Parse::Node /*parse_node*/) -> bool {
|
||||
auto HandleCallExprComma(Context& context, Parse::NodeId /*parse_node*/)
|
||||
-> bool {
|
||||
context.ParamOrArgComma();
|
||||
return true;
|
||||
}
|
||||
|
||||
auto HandleCallExprStart(Context& context, Parse::Node parse_node) -> bool {
|
||||
auto HandleCallExprStart(Context& context, Parse::NodeId parse_node) -> bool {
|
||||
auto name_id = context.node_stack().PopExpr();
|
||||
context.node_stack().Push(parse_node, name_id);
|
||||
context.ParamOrArgStart();
|
||||
|
||||
Reference in New Issue
Block a user