build method

  1. @override
String build(
  1. Context context,
  2. ParserResult? result
)
override

Implementation

@override
String build(Context context, ParserResult? result) {
  final fast = result == null;
  if (fast) {
    final r1 = context.getResult(parser, true);
    final values = {
      'p1': parser.build(context, r1),
    };
    return render(_temeplateFast, values, [r1]);
  } else {
    return parser.build(context, result);
  }
}