fn renderIdentifierComma(r: *Render, token: Ast.TokenIndex, space: Space, quote: QuoteBehavior) Error!void r: *Rendertoken: Ast.TokenIndexspace: Spacequote: QuoteBehaviorOutOfMemoryRan out of memory allocating call stack frames to complete rendering.
WriteFailedTransitive failure from
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684fn renderIdentifierComma(r: *Render, token: Ast.TokenIndex, space: Space, quote: QuoteBehavior) Error!void {
const tree = r.tree;
const maybe_comma = token + 1;
if (tree.tokenTag(maybe_comma) == .comma and space != .comma) {
try renderIdentifier(r, token, .none, quote);
return renderToken(r, maybe_comma, space);
} else {
return renderIdentifier(r, token, space, quote);
}
}
Render an identifier, 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.