style: 删除没有使用的模式变量

This commit is contained in:
Luke 2025-06-12 23:06:52 +08:00
parent 78ceca9a36
commit 91bc1f15cc

View File

@ -196,7 +196,7 @@ public class ASTJsonSerializer {
// 字符串字面量
case StringLiteralNode(String value) -> exprMap("StringLiteral", "value", value);
// 调用表达式
case CallExpressionNode(ExpressionNode callee, List<ExpressionNode> arguments, int line, int column, String file) -> {
case CallExpressionNode(ExpressionNode callee, List<ExpressionNode> arguments, _, _, _) -> {
List<Object> args = new ArrayList<>(arguments.size());
for (ExpressionNode arg : arguments) args.add(exprToMap(arg));
yield exprMap("CallExpression", "callee", exprToMap(callee), "arguments", args);