build method
Implementation
@override
String build(Context context, ParserResult? result) {
final fast = result == null;
final values = context.allocateLocals(['ok', 'pos']);
final r1 = context.getResult(operator, !fast);
final r2 = context.getResult(expression, !fast);
values.addAll({
'calculate': calculate.build(context, 'calculate', ['v1', 'v2']),
'p1': Silent(operator).build(context, r1),
'p2': expression.build(context, r2),
});
return render2(fast, _templateFast, _template, values, [result, r1, r2]);
}