fn renderTokenComma(r: *Render, token: Ast.TokenIndex, space: Space) Error!void OutOfMemoryRan out of memory allocating call stack frames to complete rendering.
WriteFailedTransitive failure from
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671fn renderTokenComma(r: *Render, token: Ast.TokenIndex, space: Space) Error!void {
const tree = r.tree;
const maybe_comma = token + 1;
if (tree.tokenTag(maybe_comma) == .comma and space != .comma) {
try renderToken(r, token, .none);
return renderToken(r, maybe_comma, space);
} else {
return renderToken(r, token, space);
}
}
Render a token, 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.