fn renderExpressionComma(r: *Render, node: Ast.Node.Index, space: Space) Error!void OutOfMemoryRan out of memory allocating call stack frames to complete rendering.
WriteFailedTransitive failure from
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658fn renderExpressionComma(r: *Render, node: Ast.Node.Index, space: Space) Error!void {
const tree = r.tree;
const maybe_comma = tree.lastToken(node) + 1;
if (tree.tokenTag(maybe_comma) == .comma and space != .comma) {
try renderExpression(r, node, .none);
return renderToken(r, maybe_comma, space);
} else {
return renderExpression(r, node, space);
}
}
Render an expression, and the comma that follows it, if it is present in the source. If a comma is present, and
spaceisSpace.comma, render only a single comma.