code: function inconsistentArity(ruleName, expected, actual, expr) {
    return createError(
        'Rule ' + ruleName + ' involves an alternation which has inconsistent arity ' +
            '(expected ' + expected + ', got ' + actual + ')',
        expr.source);
  }
docs: ----------------- arity -----------------