style: 删除没有使用的模式变量
This commit is contained in:
parent
78ceca9a36
commit
91bc1f15cc
@ -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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user