/* Automatically @generated by tree-sitter v0.25.8 */

#include "tree_sitter/parser.h"

#if defined(__GNUC__) || defined(__clang__)
#pragma GCC diagnostic ignored "-Wmissing-field-initializers"
#endif

#define LANGUAGE_VERSION 15
#define STATE_COUNT 28
#define LARGE_STATE_COUNT 2
#define SYMBOL_COUNT 23
#define ALIAS_COUNT 0
#define TOKEN_COUNT 11
#define EXTERNAL_TOKEN_COUNT 0
#define FIELD_COUNT 0
#define MAX_ALIAS_SEQUENCE_LENGTH 4
#define MAX_RESERVED_WORD_SET_SIZE 0
#define PRODUCTION_ID_COUNT 1
#define SUPERTYPE_COUNT 0

enum ts_symbol_identifiers {
  anon_sym_PIPE = 1,
  aux_sym_separator_row_token1 = 2,
  aux_sym_header_cell_token1 = 3,
  sym_register_name = 4,
  sym_pin_name = 5,
  sym_generic_name = 6,
  sym_binary_value = 7,
  sym_decimal_value = 8,
  sym_register_reference = 9,
  sym__whitespace = 10,
  sym_source_file = 11,
  sym__item = 12,
  sym_header_row = 13,
  sym_table_row = 14,
  sym_separator_row = 15,
  sym_header_cell = 16,
  sym_data_cell = 17,
  sym_column_name = 18,
  aux_sym_source_file_repeat1 = 19,
  aux_sym_header_row_repeat1 = 20,
  aux_sym_table_row_repeat1 = 21,
  aux_sym_separator_row_repeat1 = 22,
};

static const char * const ts_symbol_names[] = {
  [ts_builtin_sym_end] = "end",
  [anon_sym_PIPE] = "|",
  [aux_sym_separator_row_token1] = "separator_row_token1",
  [aux_sym_header_cell_token1] = "header_cell_token1",
  [sym_register_name] = "register_name",
  [sym_pin_name] = "pin_name",
  [sym_generic_name] = "generic_name",
  [sym_binary_value] = "binary_value",
  [sym_decimal_value] = "decimal_value",
  [sym_register_reference] = "register_reference",
  [sym__whitespace] = "_whitespace",
  [sym_source_file] = "source_file",
  [sym__item] = "_item",
  [sym_header_row] = "header_row",
  [sym_table_row] = "table_row",
  [sym_separator_row] = "separator_row",
  [sym_header_cell] = "header_cell",
  [sym_data_cell] = "data_cell",
  [sym_column_name] = "column_name",
  [aux_sym_source_file_repeat1] = "source_file_repeat1",
  [aux_sym_header_row_repeat1] = "header_row_repeat1",
  [aux_sym_table_row_repeat1] = "table_row_repeat1",
  [aux_sym_separator_row_repeat1] = "separator_row_repeat1",
};

static const TSSymbol ts_symbol_map[] = {
  [ts_builtin_sym_end] = ts_builtin_sym_end,
  [anon_sym_PIPE] = anon_sym_PIPE,
  [aux_sym_separator_row_token1] = aux_sym_separator_row_token1,
  [aux_sym_header_cell_token1] = aux_sym_header_cell_token1,
  [sym_register_name] = sym_register_name,
  [sym_pin_name] = sym_pin_name,
  [sym_generic_name] = sym_generic_name,
  [sym_binary_value] = sym_binary_value,
  [sym_decimal_value] = sym_decimal_value,
  [sym_register_reference] = sym_register_reference,
  [sym__whitespace] = sym__whitespace,
  [sym_source_file] = sym_source_file,
  [sym__item] = sym__item,
  [sym_header_row] = sym_header_row,
  [sym_table_row] = sym_table_row,
  [sym_separator_row] = sym_separator_row,
  [sym_header_cell] = sym_header_cell,
  [sym_data_cell] = sym_data_cell,
  [sym_column_name] = sym_column_name,
  [aux_sym_source_file_repeat1] = aux_sym_source_file_repeat1,
  [aux_sym_header_row_repeat1] = aux_sym_header_row_repeat1,
  [aux_sym_table_row_repeat1] = aux_sym_table_row_repeat1,
  [aux_sym_separator_row_repeat1] = aux_sym_separator_row_repeat1,
};

static const TSSymbolMetadata ts_symbol_metadata[] = {
  [ts_builtin_sym_end] = {
    .visible = false,
    .named = true,
  },
  [anon_sym_PIPE] = {
    .visible = true,
    .named = false,
  },
  [aux_sym_separator_row_token1] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_header_cell_token1] = {
    .visible = false,
    .named = false,
  },
  [sym_register_name] = {
    .visible = true,
    .named = true,
  },
  [sym_pin_name] = {
    .visible = true,
    .named = true,
  },
  [sym_generic_name] = {
    .visible = true,
    .named = true,
  },
  [sym_binary_value] = {
    .visible = true,
    .named = true,
  },
  [sym_decimal_value] = {
    .visible = true,
    .named = true,
  },
  [sym_register_reference] = {
    .visible = true,
    .named = true,
  },
  [sym__whitespace] = {
    .visible = false,
    .named = true,
  },
  [sym_source_file] = {
    .visible = true,
    .named = true,
  },
  [sym__item] = {
    .visible = false,
    .named = true,
  },
  [sym_header_row] = {
    .visible = true,
    .named = true,
  },
  [sym_table_row] = {
    .visible = true,
    .named = true,
  },
  [sym_separator_row] = {
    .visible = true,
    .named = true,
  },
  [sym_header_cell] = {
    .visible = true,
    .named = true,
  },
  [sym_data_cell] = {
    .visible = true,
    .named = true,
  },
  [sym_column_name] = {
    .visible = true,
    .named = true,
  },
  [aux_sym_source_file_repeat1] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_header_row_repeat1] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_table_row_repeat1] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_separator_row_repeat1] = {
    .visible = false,
    .named = false,
  },
};

static const TSSymbol ts_alias_sequences[PRODUCTION_ID_COUNT][MAX_ALIAS_SEQUENCE_LENGTH] = {
  [0] = {0},
};

static const uint16_t ts_non_terminal_alias_map[] = {
  0,
};

static const TSStateId ts_primary_state_ids[STATE_COUNT] = {
  [0] = 0,
  [1] = 1,
  [2] = 2,
  [3] = 3,
  [4] = 4,
  [5] = 5,
  [6] = 6,
  [7] = 7,
  [8] = 8,
  [9] = 9,
  [10] = 10,
  [11] = 11,
  [12] = 12,
  [13] = 13,
  [14] = 14,
  [15] = 15,
  [16] = 16,
  [17] = 17,
  [18] = 18,
  [19] = 19,
  [20] = 20,
  [21] = 21,
  [22] = 22,
  [23] = 23,
  [24] = 24,
  [25] = 25,
  [26] = 26,
  [27] = 27,
};

static bool ts_lex(TSLexer *lexer, TSStateId state) {
  START_LEXER();
  eof = lexer->eof(lexer);
  switch (state) {
    case 0:
      ACCEPT_TOKEN(aux_sym_header_cell_token1);
      if (eof) ADVANCE(3);
      if (lookahead == '\t' ||
          lookahead == ' ') ADVANCE(6);
      if (('\n' <= lookahead && lookahead <= '\r')) ADVANCE(7);
      END_STATE();
    case 1:
      if (lookahead == 'R') ADVANCE(9);
      if (lookahead == '|') ADVANCE(4);
      if (lookahead == '\t' ||
          lookahead == ' ') SKIP(1);
      if (('A' <= lookahead && lookahead <= 'Z') ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(12);
      END_STATE();
    case 2:
      if (eof) ADVANCE(3);
      if (lookahead == '|') ADVANCE(4);
      if (lookahead == '\t' ||
          lookahead == ' ') ADVANCE(16);
      if (lookahead == '-' ||
          lookahead == '=') ADVANCE(5);
      if (('\n' <= lookahead && lookahead <= '\r')) ADVANCE(17);
      END_STATE();
    case 3:
      ACCEPT_TOKEN(ts_builtin_sym_end);
      END_STATE();
    case 4:
      ACCEPT_TOKEN(anon_sym_PIPE);
      END_STATE();
    case 5:
      ACCEPT_TOKEN(aux_sym_separator_row_token1);
      if (lookahead == '-' ||
          lookahead == '=') ADVANCE(5);
      END_STATE();
    case 6:
      ACCEPT_TOKEN(aux_sym_header_cell_token1);
      if (lookahead == '\t' ||
          lookahead == ' ') ADVANCE(6);
      if (('\n' <= lookahead && lookahead <= '\r')) ADVANCE(7);
      END_STATE();
    case 7:
      ACCEPT_TOKEN(aux_sym_header_cell_token1);
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') ADVANCE(7);
      END_STATE();
    case 8:
      ACCEPT_TOKEN(sym_register_name);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= '[') ||
          lookahead == ']' ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(15);
      END_STATE();
    case 9:
      ACCEPT_TOKEN(sym_pin_name);
      if (lookahead == 'A') ADVANCE(10);
      if (lookahead == '[' ||
          lookahead == ']') ADVANCE(15);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(12);
      END_STATE();
    case 10:
      ACCEPT_TOKEN(sym_pin_name);
      if (lookahead == 'M') ADVANCE(11);
      if (lookahead == '[' ||
          lookahead == ']') ADVANCE(15);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(12);
      END_STATE();
    case 11:
      ACCEPT_TOKEN(sym_pin_name);
      if (lookahead == '[') ADVANCE(14);
      if (lookahead == ']') ADVANCE(15);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(12);
      END_STATE();
    case 12:
      ACCEPT_TOKEN(sym_pin_name);
      if (lookahead == '[' ||
          lookahead == ']') ADVANCE(15);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(12);
      END_STATE();
    case 13:
      ACCEPT_TOKEN(sym_generic_name);
      if (lookahead == ']') ADVANCE(8);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(13);
      if (('A' <= lookahead && lookahead <= '[') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(15);
      END_STATE();
    case 14:
      ACCEPT_TOKEN(sym_generic_name);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(13);
      if (('A' <= lookahead && lookahead <= '[') ||
          lookahead == ']' ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(15);
      END_STATE();
    case 15:
      ACCEPT_TOKEN(sym_generic_name);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= '[') ||
          lookahead == ']' ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(15);
      END_STATE();
    case 16:
      ACCEPT_TOKEN(sym__whitespace);
      if (lookahead == '\t' ||
          lookahead == ' ') ADVANCE(16);
      if (('\n' <= lookahead && lookahead <= '\r')) ADVANCE(17);
      END_STATE();
    case 17:
      ACCEPT_TOKEN(sym__whitespace);
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') ADVANCE(17);
      END_STATE();
    default:
      return false;
  }
}

static const TSLexerMode ts_lex_modes[STATE_COUNT] = {
  [0] = {.lex_state = 0},
  [1] = {.lex_state = 2},
  [2] = {.lex_state = 2},
  [3] = {.lex_state = 0},
  [4] = {.lex_state = 2},
  [5] = {.lex_state = 0},
  [6] = {.lex_state = 2},
  [7] = {.lex_state = 2},
  [8] = {.lex_state = 2},
  [9] = {.lex_state = 0},
  [10] = {.lex_state = 0},
  [11] = {.lex_state = 0},
  [12] = {.lex_state = 1},
  [13] = {.lex_state = 6},
  [14] = {.lex_state = 0},
  [15] = {.lex_state = 2},
  [16] = {.lex_state = 2},
  [17] = {.lex_state = 0},
  [18] = {.lex_state = 0},
  [19] = {.lex_state = 0},
  [20] = {.lex_state = 0},
  [21] = {.lex_state = 1},
  [22] = {.lex_state = 1},
  [23] = {.lex_state = 0},
  [24] = {.lex_state = 0},
  [25] = {.lex_state = 1},
  [26] = {.lex_state = 1},
  [27] = {.lex_state = 0},
};

static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = {
  [STATE(0)] = {
    [ts_builtin_sym_end] = ACTIONS(1),
    [anon_sym_PIPE] = ACTIONS(1),
    [aux_sym_separator_row_token1] = ACTIONS(1),
    [aux_sym_header_cell_token1] = ACTIONS(1),
    [sym_register_name] = ACTIONS(1),
    [sym_pin_name] = ACTIONS(1),
    [sym_generic_name] = ACTIONS(1),
    [sym_binary_value] = ACTIONS(1),
    [sym_decimal_value] = ACTIONS(1),
    [sym_register_reference] = ACTIONS(1),
  },
  [STATE(1)] = {
    [sym_source_file] = STATE(20),
    [sym__item] = STATE(2),
    [sym_header_row] = STATE(2),
    [sym_table_row] = STATE(2),
    [sym_separator_row] = STATE(2),
    [aux_sym_source_file_repeat1] = STATE(2),
    [ts_builtin_sym_end] = ACTIONS(3),
    [anon_sym_PIPE] = ACTIONS(5),
    [sym__whitespace] = ACTIONS(7),
  },
};

static const uint16_t ts_small_parse_table[] = {
  [0] = 4,
    ACTIONS(5), 1,
      anon_sym_PIPE,
    ACTIONS(9), 1,
      ts_builtin_sym_end,
    ACTIONS(11), 1,
      sym__whitespace,
    STATE(4), 5,
      sym__item,
      sym_header_row,
      sym_table_row,
      sym_separator_row,
      aux_sym_source_file_repeat1,
  [17] = 4,
    ACTIONS(13), 1,
      aux_sym_header_cell_token1,
    STATE(24), 1,
      sym_column_name,
    ACTIONS(15), 3,
      sym_register_name,
      sym_pin_name,
      sym_generic_name,
    ACTIONS(17), 3,
      sym_binary_value,
      sym_decimal_value,
      sym_register_reference,
  [34] = 4,
    ACTIONS(19), 1,
      ts_builtin_sym_end,
    ACTIONS(21), 1,
      anon_sym_PIPE,
    ACTIONS(24), 1,
      sym__whitespace,
    STATE(4), 5,
      sym__item,
      sym_header_row,
      sym_table_row,
      sym_separator_row,
      aux_sym_source_file_repeat1,
  [51] = 5,
    ACTIONS(27), 1,
      aux_sym_separator_row_token1,
    ACTIONS(29), 1,
      aux_sym_header_cell_token1,
    STATE(6), 1,
      aux_sym_separator_row_repeat1,
    STATE(9), 2,
      sym_header_cell,
      aux_sym_header_row_repeat1,
    STATE(10), 2,
      sym_data_cell,
      aux_sym_table_row_repeat1,
  [69] = 4,
    ACTIONS(27), 1,
      aux_sym_separator_row_token1,
    ACTIONS(33), 1,
      anon_sym_PIPE,
    STATE(7), 1,
      aux_sym_separator_row_repeat1,
    ACTIONS(31), 2,
      ts_builtin_sym_end,
      sym__whitespace,
  [83] = 4,
    ACTIONS(37), 1,
      anon_sym_PIPE,
    ACTIONS(39), 1,
      aux_sym_separator_row_token1,
    STATE(7), 1,
      aux_sym_separator_row_repeat1,
    ACTIONS(35), 2,
      ts_builtin_sym_end,
      sym__whitespace,
  [97] = 2,
    ACTIONS(35), 2,
      ts_builtin_sym_end,
      sym__whitespace,
    ACTIONS(37), 2,
      anon_sym_PIPE,
      aux_sym_separator_row_token1,
  [106] = 3,
    ACTIONS(42), 1,
      anon_sym_PIPE,
    ACTIONS(44), 1,
      aux_sym_header_cell_token1,
    STATE(11), 2,
      sym_header_cell,
      aux_sym_header_row_repeat1,
  [117] = 3,
    ACTIONS(46), 1,
      anon_sym_PIPE,
    ACTIONS(48), 1,
      aux_sym_header_cell_token1,
    STATE(14), 2,
      sym_data_cell,
      aux_sym_table_row_repeat1,
  [128] = 3,
    ACTIONS(50), 1,
      anon_sym_PIPE,
    ACTIONS(52), 1,
      aux_sym_header_cell_token1,
    STATE(11), 2,
      sym_header_cell,
      aux_sym_header_row_repeat1,
  [139] = 2,
    STATE(24), 1,
      sym_column_name,
    ACTIONS(15), 3,
      sym_register_name,
      sym_pin_name,
      sym_generic_name,
  [148] = 2,
    ACTIONS(13), 1,
      aux_sym_header_cell_token1,
    ACTIONS(17), 3,
      sym_binary_value,
      sym_decimal_value,
      sym_register_reference,
  [157] = 3,
    ACTIONS(55), 1,
      anon_sym_PIPE,
    ACTIONS(57), 1,
      aux_sym_header_cell_token1,
    STATE(14), 2,
      sym_data_cell,
      aux_sym_table_row_repeat1,
  [168] = 2,
    ACTIONS(62), 1,
      anon_sym_PIPE,
    ACTIONS(60), 2,
      ts_builtin_sym_end,
      sym__whitespace,
  [176] = 2,
    ACTIONS(66), 1,
      anon_sym_PIPE,
    ACTIONS(64), 2,
      ts_builtin_sym_end,
      sym__whitespace,
  [184] = 2,
    ACTIONS(68), 1,
      anon_sym_PIPE,
    ACTIONS(70), 1,
      aux_sym_header_cell_token1,
  [191] = 2,
    ACTIONS(72), 1,
      anon_sym_PIPE,
    ACTIONS(74), 1,
      aux_sym_header_cell_token1,
  [198] = 2,
    ACTIONS(76), 1,
      anon_sym_PIPE,
    ACTIONS(78), 1,
      aux_sym_header_cell_token1,
  [205] = 1,
    ACTIONS(80), 1,
      ts_builtin_sym_end,
  [209] = 1,
    ACTIONS(82), 1,
      anon_sym_PIPE,
  [213] = 1,
    ACTIONS(84), 1,
      anon_sym_PIPE,
  [217] = 1,
    ACTIONS(86), 1,
      aux_sym_header_cell_token1,
  [221] = 1,
    ACTIONS(88), 1,
      aux_sym_header_cell_token1,
  [225] = 1,
    ACTIONS(90), 1,
      anon_sym_PIPE,
  [229] = 1,
    ACTIONS(92), 1,
      anon_sym_PIPE,
  [233] = 1,
    ACTIONS(94), 1,
      aux_sym_header_cell_token1,
};

static const uint32_t ts_small_parse_table_map[] = {
  [SMALL_STATE(2)] = 0,
  [SMALL_STATE(3)] = 17,
  [SMALL_STATE(4)] = 34,
  [SMALL_STATE(5)] = 51,
  [SMALL_STATE(6)] = 69,
  [SMALL_STATE(7)] = 83,
  [SMALL_STATE(8)] = 97,
  [SMALL_STATE(9)] = 106,
  [SMALL_STATE(10)] = 117,
  [SMALL_STATE(11)] = 128,
  [SMALL_STATE(12)] = 139,
  [SMALL_STATE(13)] = 148,
  [SMALL_STATE(14)] = 157,
  [SMALL_STATE(15)] = 168,
  [SMALL_STATE(16)] = 176,
  [SMALL_STATE(17)] = 184,
  [SMALL_STATE(18)] = 191,
  [SMALL_STATE(19)] = 198,
  [SMALL_STATE(20)] = 205,
  [SMALL_STATE(21)] = 209,
  [SMALL_STATE(22)] = 213,
  [SMALL_STATE(23)] = 217,
  [SMALL_STATE(24)] = 221,
  [SMALL_STATE(25)] = 225,
  [SMALL_STATE(26)] = 229,
  [SMALL_STATE(27)] = 233,
};

static const TSParseActionEntry ts_parse_actions[] = {
  [0] = {.entry = {.count = 0, .reusable = false}},
  [1] = {.entry = {.count = 1, .reusable = false}}, RECOVER(),
  [3] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_source_file, 0, 0, 0),
  [5] = {.entry = {.count = 1, .reusable = false}}, SHIFT(5),
  [7] = {.entry = {.count = 1, .reusable = true}}, SHIFT(2),
  [9] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_source_file, 1, 0, 0),
  [11] = {.entry = {.count = 1, .reusable = true}}, SHIFT(4),
  [13] = {.entry = {.count = 1, .reusable = true}}, SHIFT(22),
  [15] = {.entry = {.count = 1, .reusable = false}}, SHIFT(23),
  [17] = {.entry = {.count = 1, .reusable = false}}, SHIFT(27),
  [19] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2, 0, 0),
  [21] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_source_file_repeat1, 2, 0, 0), SHIFT_REPEAT(5),
  [24] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2, 0, 0), SHIFT_REPEAT(4),
  [27] = {.entry = {.count = 1, .reusable = false}}, SHIFT(21),
  [29] = {.entry = {.count = 1, .reusable = true}}, SHIFT(3),
  [31] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_separator_row, 2, 0, 0),
  [33] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_separator_row, 2, 0, 0),
  [35] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_separator_row_repeat1, 2, 0, 0),
  [37] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_separator_row_repeat1, 2, 0, 0),
  [39] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_separator_row_repeat1, 2, 0, 0), SHIFT_REPEAT(21),
  [42] = {.entry = {.count = 1, .reusable = false}}, SHIFT(16),
  [44] = {.entry = {.count = 1, .reusable = true}}, SHIFT(12),
  [46] = {.entry = {.count = 1, .reusable = false}}, SHIFT(15),
  [48] = {.entry = {.count = 1, .reusable = true}}, SHIFT(13),
  [50] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_header_row_repeat1, 2, 0, 0),
  [52] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_header_row_repeat1, 2, 0, 0), SHIFT_REPEAT(12),
  [55] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_table_row_repeat1, 2, 0, 0),
  [57] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_table_row_repeat1, 2, 0, 0), SHIFT_REPEAT(13),
  [60] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_table_row, 3, 0, 0),
  [62] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_table_row, 3, 0, 0),
  [64] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_header_row, 3, 0, 0),
  [66] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_header_row, 3, 0, 0),
  [68] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_data_cell, 3, 0, 0),
  [70] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_data_cell, 3, 0, 0),
  [72] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_data_cell, 4, 0, 0),
  [74] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_data_cell, 4, 0, 0),
  [76] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_header_cell, 4, 0, 0),
  [78] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_header_cell, 4, 0, 0),
  [80] = {.entry = {.count = 1, .reusable = true}},  ACCEPT_INPUT(),
  [82] = {.entry = {.count = 1, .reusable = true}}, SHIFT(8),
  [84] = {.entry = {.count = 1, .reusable = true}}, SHIFT(17),
  [86] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_column_name, 1, 0, 0),
  [88] = {.entry = {.count = 1, .reusable = true}}, SHIFT(26),
  [90] = {.entry = {.count = 1, .reusable = true}}, SHIFT(18),
  [92] = {.entry = {.count = 1, .reusable = true}}, SHIFT(19),
  [94] = {.entry = {.count = 1, .reusable = true}}, SHIFT(25),
};

#ifdef __cplusplus
extern "C" {
#endif
#ifdef TREE_SITTER_HIDE_SYMBOLS
#define TS_PUBLIC
#elif defined(_WIN32)
#define TS_PUBLIC __declspec(dllexport)
#else
#define TS_PUBLIC __attribute__((visibility("default")))
#endif

TS_PUBLIC const TSLanguage *tree_sitter_compare_output(void) {
  static const TSLanguage language = {
    .abi_version = LANGUAGE_VERSION,
    .symbol_count = SYMBOL_COUNT,
    .alias_count = ALIAS_COUNT,
    .token_count = TOKEN_COUNT,
    .external_token_count = EXTERNAL_TOKEN_COUNT,
    .state_count = STATE_COUNT,
    .large_state_count = LARGE_STATE_COUNT,
    .production_id_count = PRODUCTION_ID_COUNT,
    .supertype_count = SUPERTYPE_COUNT,
    .field_count = FIELD_COUNT,
    .max_alias_sequence_length = MAX_ALIAS_SEQUENCE_LENGTH,
    .parse_table = &ts_parse_table[0][0],
    .small_parse_table = ts_small_parse_table,
    .small_parse_table_map = ts_small_parse_table_map,
    .parse_actions = ts_parse_actions,
    .symbol_names = ts_symbol_names,
    .symbol_metadata = ts_symbol_metadata,
    .public_symbol_map = ts_symbol_map,
    .alias_map = ts_non_terminal_alias_map,
    .alias_sequences = &ts_alias_sequences[0][0],
    .lex_modes = (const void*)ts_lex_modes,
    .lex_fn = ts_lex,
    .primary_state_ids = ts_primary_state_ids,
    .name = "compare_output",
    .max_reserved_word_set_size = 0,
    .metadata = {
      .major_version = 1,
      .minor_version = 0,
      .patch_version = 0,
    },
  };
  return &language;
}
#ifdef __cplusplus
}
#endif
