Abbreviate "parameter" -> "param" (#3392)

Part of switching to the [abbreviations we've decided to
use](https://docs.google.com/document/d/1RRYMm42osyqhI2LyjrjockYCutQ5dOf8Abu50kTrkX0/edit?resourcekey=0-kHyqOESbOHmzZphUbtLrTw#heading=h.pph7i5m5un7q).

I will rename files in a follow-up PR.

---------

Co-authored-by: Jon Ross-Perkins <jperkins@google.com>
This commit is contained in:
josh11b
2023-11-13 19:06:54 +00:00
committed by GitHub
co-authored by Jon Ross-Perkins
parent 522dcc44c5
commit c53b248800
142 changed files with 614 additions and 640 deletions
+3 -3
View File
@@ -15,12 +15,12 @@ auto HandleCallExpr(Context& context) -> void {
context.AddNode(NodeKind::CallExprStart, context.Consume(),
state.subtree_start, state.has_error);
if (!context.PositionIs(Lex::TokenKind::CloseParen)) {
context.PushState(State::CallExprParameterFinish);
context.PushState(State::CallExprParamFinish);
context.PushState(State::Expr);
}
}
auto HandleCallExprParameterFinish(Context& context) -> void {
auto HandleCallExprParamFinish(Context& context) -> void {
auto state = context.PopState();
if (state.has_error) {
@@ -30,7 +30,7 @@ auto HandleCallExprParameterFinish(Context& context) -> void {
if (context.ConsumeListToken(NodeKind::CallExprComma,
Lex::TokenKind::CloseParen, state.has_error) ==
Context::ListTokenKind::Comma) {
context.PushState(State::CallExprParameterFinish);
context.PushState(State::CallExprParamFinish);
context.PushState(State::Expr);
}
}