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 values = context.allocateLocals(['c', 'pos']);
  final isUnicode = predicate.isUnicode;
  final c = isUnicode ? values['c']! : 'c';
  values.addAll({
    'test': predicate.build(context, 'test', [c]),
  });
  return render2(isUnicode, _template32, _template16, values);
}