build method
Implementation
@override
String build(Context context, ParserResult? result) {
context.refersToStateSource = true;
final fast = result == null;
final values = context.allocateLocals(['end', 'pos', 'start']);
final r1 = context.getResult(start, true);
final r2 = context.getResult(content, !fast);
final r3 = context.getResult(end, true);
values.addAll({
'compare': compare.build(context, 'compare', ['v1', 'v2']),
'map': map.build(context, 'map', ['v4']),
'p1': start.build(context, r1),
'p2': content.build(context, r2),
'p3': end.build(context, r3),
});
return render2(
fast, _templateFast, _template, values, [result, r1, r2, r3]);
}