build method

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

Implementation

@override
String build(Context context, ParserResult? result) {
  final value = context.allocateSematicValue<int>(key);
  final values = {
    'p1': parser.build(context, result),
    'value': value.name,
  };
  return render(_template, values);
}