build method
Implementation
@override
String build(Context context, ParserResult? result) {
context.refersToStateSource = true;
if (predicate is CharClass) {
final charClass = predicate as CharClass;
final charList = charClass.getCharList();
if (charList.length == 2 && charList[0] == charList[1]) {
return _buildOne(context, result);
}
}
return _build(context, result);
}