add method
Exact ts_reduce_action_set_add uniqueness and insertion-order contract.
Implementation
void add(TreeSitterReduceAction newAction) {
for (final action in _actions.values) {
if (action.symbol == newAction.symbol &&
action.count == newAction.count) {
return;
}
}
_actions.push(newAction);
}