build method

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

Implementation

@override
String build(Context context, ParserResult? result) {
  context.refersToStateSource = true;
  final fast = result == null;
  final values = context.allocateLocals(['index', 'pos']);
  values.addAll({
    'length': '${tag.length}',
    'tag': helper.escapeString(tag),
  });
  return render2(fast, _templateFast, _template, values, [result]);
}