hasReduceAction method
Exact ts_language_has_reduce_action first-action predicate.
Implementation
bool hasReduceAction(int state, int symbol) {
final entry = tableEntry(state, symbol);
return entry.actions.isNotEmpty &&
entry.actions.first.type == TreeSitterParseActionType.reduce;
}