#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 65
#define LARGE_STATE_COUNT 2
#define SYMBOL_COUNT 36
#define ALIAS_COUNT 0
#define TOKEN_COUNT 21
#define EXTERNAL_TOKEN_COUNT 10
#define FIELD_COUNT 3
#define MAX_ALIAS_SEQUENCE_LENGTH 11
#define MAX_RESERVED_WORD_SET_SIZE 0
#define PRODUCTION_ID_COUNT 7
#define SUPERTYPE_COUNT 0
enum ts_symbol_identifiers {
sym__blank_line = 1,
sym_pod_command = 2,
aux_sym_begin_paragraph_token1 = 3,
sym_begin_command = 4,
sym_end_command = 5,
sym_for_command = 6,
sym_format_name = 7,
aux_sym_command_paragraph_token1 = 8,
sym_command = 9,
sym_cut_command = 10,
sym__eol = 11,
sym__start_command = 12,
sym__start_plain = 13,
sym__start_verbatim = 14,
sym__content_plain = 15,
sym__intseq_letter = 16,
sym__intseq_start = 17,
sym__intseq_end = 18,
sym__data_section = 19,
sym__intseq_escape_letter = 20,
sym_pod = 21,
sym_pod_paragraph = 22,
sym_begin_paragraph = 23,
sym_for_paragraph = 24,
sym_command_paragraph = 25,
sym_plain_paragraph = 26,
sym_verbatim_paragraph = 27,
sym_cut_paragraph = 28,
sym_content = 29,
aux_sym__content = 30,
sym_interior_sequence = 31,
sym_sequence_letter = 32,
sym_escape_sequence = 33,
aux_sym__escape_content = 34,
aux_sym_pod_repeat1 = 35,
};
static const char * const ts_symbol_names[] = {
[ts_builtin_sym_end] = "end",
[sym__blank_line] = "_blank_line",
[sym_pod_command] = "pod_command",
[aux_sym_begin_paragraph_token1] = "begin_paragraph_token1",
[sym_begin_command] = "begin_command",
[sym_end_command] = "end_command",
[sym_for_command] = "for_command",
[sym_format_name] = "format_name",
[aux_sym_command_paragraph_token1] = "command_paragraph_token1",
[sym_command] = "command",
[sym_cut_command] = "cut_command",
[sym__eol] = "_eol",
[sym__start_command] = "_start_command",
[sym__start_plain] = "_start_plain",
[sym__start_verbatim] = "_start_verbatim",
[sym__content_plain] = "_content_plain",
[sym__intseq_letter] = "_intseq_letter",
[sym__intseq_start] = "<",
[sym__intseq_end] = ">",
[sym__data_section] = "data",
[sym__intseq_escape_letter] = "sequence_letter",
[sym_pod] = "pod",
[sym_pod_paragraph] = "pod_paragraph",
[sym_begin_paragraph] = "begin_paragraph",
[sym_for_paragraph] = "for_paragraph",
[sym_command_paragraph] = "command_paragraph",
[sym_plain_paragraph] = "plain_paragraph",
[sym_verbatim_paragraph] = "verbatim_paragraph",
[sym_cut_paragraph] = "cut_paragraph",
[sym_content] = "content",
[aux_sym__content] = "_content",
[sym_interior_sequence] = "interior_sequence",
[sym_sequence_letter] = "sequence_letter",
[sym_escape_sequence] = "escape_sequence",
[aux_sym__escape_content] = "_escape_content",
[aux_sym_pod_repeat1] = "pod_repeat1",
};
static const TSSymbol ts_symbol_map[] = {
[ts_builtin_sym_end] = ts_builtin_sym_end,
[sym__blank_line] = sym__blank_line,
[sym_pod_command] = sym_pod_command,
[aux_sym_begin_paragraph_token1] = aux_sym_begin_paragraph_token1,
[sym_begin_command] = sym_begin_command,
[sym_end_command] = sym_end_command,
[sym_for_command] = sym_for_command,
[sym_format_name] = sym_format_name,
[aux_sym_command_paragraph_token1] = aux_sym_command_paragraph_token1,
[sym_command] = sym_command,
[sym_cut_command] = sym_cut_command,
[sym__eol] = sym__eol,
[sym__start_command] = sym__start_command,
[sym__start_plain] = sym__start_plain,
[sym__start_verbatim] = sym__start_verbatim,
[sym__content_plain] = sym__content_plain,
[sym__intseq_letter] = sym__intseq_letter,
[sym__intseq_start] = sym__intseq_start,
[sym__intseq_end] = sym__intseq_end,
[sym__data_section] = sym__data_section,
[sym__intseq_escape_letter] = sym_sequence_letter,
[sym_pod] = sym_pod,
[sym_pod_paragraph] = sym_pod_paragraph,
[sym_begin_paragraph] = sym_begin_paragraph,
[sym_for_paragraph] = sym_for_paragraph,
[sym_command_paragraph] = sym_command_paragraph,
[sym_plain_paragraph] = sym_plain_paragraph,
[sym_verbatim_paragraph] = sym_verbatim_paragraph,
[sym_cut_paragraph] = sym_cut_paragraph,
[sym_content] = sym_content,
[aux_sym__content] = aux_sym__content,
[sym_interior_sequence] = sym_interior_sequence,
[sym_sequence_letter] = sym_sequence_letter,
[sym_escape_sequence] = sym_escape_sequence,
[aux_sym__escape_content] = aux_sym__escape_content,
[aux_sym_pod_repeat1] = aux_sym_pod_repeat1,
};
static const TSSymbolMetadata ts_symbol_metadata[] = {
[ts_builtin_sym_end] = {
.visible = false,
.named = true,
},
[sym__blank_line] = {
.visible = false,
.named = true,
},
[sym_pod_command] = {
.visible = true,
.named = true,
},
[aux_sym_begin_paragraph_token1] = {
.visible = false,
.named = false,
},
[sym_begin_command] = {
.visible = true,
.named = true,
},
[sym_end_command] = {
.visible = true,
.named = true,
},
[sym_for_command] = {
.visible = true,
.named = true,
},
[sym_format_name] = {
.visible = true,
.named = true,
},
[aux_sym_command_paragraph_token1] = {
.visible = false,
.named = false,
},
[sym_command] = {
.visible = true,
.named = true,
},
[sym_cut_command] = {
.visible = true,
.named = true,
},
[sym__eol] = {
.visible = false,
.named = true,
},
[sym__start_command] = {
.visible = false,
.named = true,
},
[sym__start_plain] = {
.visible = false,
.named = true,
},
[sym__start_verbatim] = {
.visible = false,
.named = true,
},
[sym__content_plain] = {
.visible = false,
.named = true,
},
[sym__intseq_letter] = {
.visible = false,
.named = true,
},
[sym__intseq_start] = {
.visible = true,
.named = false,
},
[sym__intseq_end] = {
.visible = true,
.named = false,
},
[sym__data_section] = {
.visible = true,
.named = true,
},
[sym__intseq_escape_letter] = {
.visible = true,
.named = true,
},
[sym_pod] = {
.visible = true,
.named = true,
},
[sym_pod_paragraph] = {
.visible = true,
.named = true,
},
[sym_begin_paragraph] = {
.visible = true,
.named = true,
},
[sym_for_paragraph] = {
.visible = true,
.named = true,
},
[sym_command_paragraph] = {
.visible = true,
.named = true,
},
[sym_plain_paragraph] = {
.visible = true,
.named = true,
},
[sym_verbatim_paragraph] = {
.visible = true,
.named = true,
},
[sym_cut_paragraph] = {
.visible = true,
.named = true,
},
[sym_content] = {
.visible = true,
.named = true,
},
[aux_sym__content] = {
.visible = false,
.named = false,
},
[sym_interior_sequence] = {
.visible = true,
.named = true,
},
[sym_sequence_letter] = {
.visible = true,
.named = true,
},
[sym_escape_sequence] = {
.visible = true,
.named = true,
},
[aux_sym__escape_content] = {
.visible = false,
.named = false,
},
[aux_sym_pod_repeat1] = {
.visible = false,
.named = false,
},
};
enum ts_field_identifiers {
field_command = 1,
field_format = 2,
field_letter = 3,
};
static const char * const ts_field_names[] = {
[0] = NULL,
[field_command] = "command",
[field_format] = "format",
[field_letter] = "letter",
};
static const TSMapSlice ts_field_map_slices[PRODUCTION_ID_COUNT] = {
[2] = {.index = 0, .length = 1},
[3] = {.index = 1, .length = 1},
[4] = {.index = 2, .length = 1},
[5] = {.index = 1, .length = 1},
[6] = {.index = 2, .length = 1},
};
static const TSFieldMapEntry ts_field_map_entries[] = {
[0] =
{field_command, 1},
[1] =
{field_letter, 0},
[2] =
{field_format, 3},
};
static const TSSymbol ts_alias_sequences[PRODUCTION_ID_COUNT][MAX_ALIAS_SEQUENCE_LENGTH] = {
[0] = {0},
[1] = {
[1] = sym_content,
},
[5] = {
[2] = sym_content,
},
[6] = {
[5] = sym_content,
},
};
static const uint16_t ts_non_terminal_alias_map[] = {
aux_sym__escape_content, 2,
aux_sym__escape_content,
sym_content,
0,
};
static const TSStateId ts_primary_state_ids[STATE_COUNT] = {
[0] = 0,
[1] = 1,
[2] = 2,
[3] = 3,
[4] = 4,
[5] = 5,
[6] = 5,
[7] = 7,
[8] = 8,
[9] = 9,
[10] = 7,
[11] = 9,
[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] = 23,
[27] = 24,
[28] = 22,
[29] = 25,
[30] = 30,
[31] = 31,
[32] = 31,
[33] = 33,
[34] = 33,
[35] = 35,
[36] = 36,
[37] = 37,
[38] = 38,
[39] = 39,
[40] = 40,
[41] = 41,
[42] = 42,
[43] = 43,
[44] = 44,
[45] = 45,
[46] = 46,
[47] = 47,
[48] = 48,
[49] = 49,
[50] = 50,
[51] = 51,
[52] = 52,
[53] = 53,
[54] = 54,
[55] = 55,
[56] = 56,
[57] = 57,
[58] = 58,
[59] = 59,
[60] = 60,
[61] = 61,
[62] = 39,
[63] = 61,
[64] = 41,
};
static bool ts_lex(TSLexer *lexer, TSStateId state) {
START_LEXER();
eof = lexer->eof(lexer);
switch (state) {
case 0:
if (eof) ADVANCE(11);
if (lookahead == '=') ADVANCE(4);
if (('\t' <= lookahead && lookahead <= '\r') ||
lookahead == ' ') SKIP(0);
if (lookahead == ':' ||
('A' <= lookahead && lookahead <= 'Z') ||
('a' <= lookahead && lookahead <= 'z')) ADVANCE(19);
END_STATE();
case 1:
if (lookahead == '\n') ADVANCE(12);
if (lookahead == '\r') ADVANCE(1);
if (('\t' <= lookahead && lookahead <= '\f') ||
lookahead == ' ') SKIP(1);
END_STATE();
case 2:
if (lookahead == '=') ADVANCE(5);
if (('\t' <= lookahead && lookahead <= '\r') ||
lookahead == ' ') SKIP(2);
END_STATE();
case 3:
if (lookahead == '=') ADVANCE(7);
if (('\t' <= lookahead && lookahead <= '\r') ||
lookahead == ' ') SKIP(3);
END_STATE();
case 4:
if (lookahead == 'b') ADVANCE(23);
if (lookahead == 'c') ADVANCE(32);
if (lookahead == 'e') ADVANCE(26);
if (lookahead == 'f') ADVANCE(28);
if (lookahead == 'p') ADVANCE(29);
if (('A' <= lookahead && lookahead <= 'Z') ||
('a' <= lookahead && lookahead <= 'z')) ADVANCE(33);
END_STATE();
case 5:
if (lookahead == 'b') ADVANCE(23);
if (lookahead == 'c') ADVANCE(32);
if (lookahead == 'f') ADVANCE(28);
if (lookahead == 'p') ADVANCE(29);
if (('A' <= lookahead && lookahead <= 'Z') ||
('a' <= lookahead && lookahead <= 'z')) ADVANCE(33);
END_STATE();
case 6:
if (lookahead == 'd') ADVANCE(16);
END_STATE();
case 7:
if (lookahead == 'e') ADVANCE(8);
END_STATE();
case 8:
if (lookahead == 'n') ADVANCE(6);
END_STATE();
case 9:
if (lookahead == '\t' ||
lookahead == ' ') ADVANCE(14);
if (('\n' <= lookahead && lookahead <= '\r')) SKIP(9);
END_STATE();
case 10:
if (eof) ADVANCE(11);
if (lookahead == '\n') ADVANCE(12);
if (lookahead == '\r') ADVANCE(1);
if (('\t' <= lookahead && lookahead <= '\f') ||
lookahead == ' ') SKIP(10);
END_STATE();
case 11:
ACCEPT_TOKEN(ts_builtin_sym_end);
END_STATE();
case 12:
ACCEPT_TOKEN(sym__blank_line);
if (lookahead == '\n') ADVANCE(12);
if (lookahead == '\r') ADVANCE(1);
END_STATE();
case 13:
ACCEPT_TOKEN(sym_pod_command);
if (lookahead != 0 &&
(lookahead < '\t' || '\r' < lookahead) &&
lookahead != ' ') ADVANCE(33);
END_STATE();
case 14:
ACCEPT_TOKEN(aux_sym_begin_paragraph_token1);
if (lookahead == '\t' ||
lookahead == ' ') ADVANCE(14);
END_STATE();
case 15:
ACCEPT_TOKEN(sym_begin_command);
if (lookahead != 0 &&
(lookahead < '\t' || '\r' < lookahead) &&
lookahead != ' ') ADVANCE(33);
END_STATE();
case 16:
ACCEPT_TOKEN(sym_end_command);
END_STATE();
case 17:
ACCEPT_TOKEN(sym_end_command);
if (lookahead != 0 &&
(lookahead < '\t' || '\r' < lookahead) &&
lookahead != ' ') ADVANCE(33);
END_STATE();
case 18:
ACCEPT_TOKEN(sym_for_command);
if (lookahead != 0 &&
(lookahead < '\t' || '\r' < lookahead) &&
lookahead != ' ') ADVANCE(33);
END_STATE();
case 19:
ACCEPT_TOKEN(sym_format_name);
if (lookahead != 0 &&
(lookahead < '\t' || '\r' < lookahead) &&
lookahead != ' ') ADVANCE(19);
END_STATE();
case 20:
ACCEPT_TOKEN(aux_sym_command_paragraph_token1);
if (lookahead == '\t' ||
lookahead == ' ') ADVANCE(20);
END_STATE();
case 21:
ACCEPT_TOKEN(sym_command);
if (lookahead == 'd') ADVANCE(17);
if (lookahead != 0 &&
(lookahead < '\t' || '\r' < lookahead) &&
lookahead != ' ') ADVANCE(33);
END_STATE();
case 22:
ACCEPT_TOKEN(sym_command);
if (lookahead == 'd') ADVANCE(13);
if (lookahead != 0 &&
(lookahead < '\t' || '\r' < lookahead) &&
lookahead != ' ') ADVANCE(33);
END_STATE();
case 23:
ACCEPT_TOKEN(sym_command);
if (lookahead == 'e') ADVANCE(24);
if (lookahead != 0 &&
(lookahead < '\t' || '\r' < lookahead) &&
lookahead != ' ') ADVANCE(33);
END_STATE();
case 24:
ACCEPT_TOKEN(sym_command);
if (lookahead == 'g') ADVANCE(25);
if (lookahead != 0 &&
(lookahead < '\t' || '\r' < lookahead) &&
lookahead != ' ') ADVANCE(33);
END_STATE();
case 25:
ACCEPT_TOKEN(sym_command);
if (lookahead == 'i') ADVANCE(27);
if (lookahead != 0 &&
(lookahead < '\t' || '\r' < lookahead) &&
lookahead != ' ') ADVANCE(33);
END_STATE();
case 26:
ACCEPT_TOKEN(sym_command);
if (lookahead == 'n') ADVANCE(21);
if (lookahead != 0 &&
(lookahead < '\t' || '\r' < lookahead) &&
lookahead != ' ') ADVANCE(33);
END_STATE();
case 27:
ACCEPT_TOKEN(sym_command);
if (lookahead == 'n') ADVANCE(15);
if (lookahead != 0 &&
(lookahead < '\t' || '\r' < lookahead) &&
lookahead != ' ') ADVANCE(33);
END_STATE();
case 28:
ACCEPT_TOKEN(sym_command);
if (lookahead == 'o') ADVANCE(30);
if (lookahead != 0 &&
(lookahead < '\t' || '\r' < lookahead) &&
lookahead != ' ') ADVANCE(33);
END_STATE();
case 29:
ACCEPT_TOKEN(sym_command);
if (lookahead == 'o') ADVANCE(22);
if (lookahead != 0 &&
(lookahead < '\t' || '\r' < lookahead) &&
lookahead != ' ') ADVANCE(33);
END_STATE();
case 30:
ACCEPT_TOKEN(sym_command);
if (lookahead == 'r') ADVANCE(18);
if (lookahead != 0 &&
(lookahead < '\t' || '\r' < lookahead) &&
lookahead != ' ') ADVANCE(33);
END_STATE();
case 31:
ACCEPT_TOKEN(sym_command);
if (lookahead == 't') ADVANCE(34);
if (lookahead != 0 &&
(lookahead < '\t' || '\r' < lookahead) &&
lookahead != ' ') ADVANCE(33);
END_STATE();
case 32:
ACCEPT_TOKEN(sym_command);
if (lookahead == 'u') ADVANCE(31);
if (lookahead != 0 &&
(lookahead < '\t' || '\r' < lookahead) &&
lookahead != ' ') ADVANCE(33);
END_STATE();
case 33:
ACCEPT_TOKEN(sym_command);
if (lookahead != 0 &&
(lookahead < '\t' || '\r' < lookahead) &&
lookahead != ' ') ADVANCE(33);
END_STATE();
case 34:
ACCEPT_TOKEN(sym_cut_command);
if (lookahead != 0 &&
(lookahead < '\t' || '\r' < lookahead) &&
lookahead != ' ') ADVANCE(33);
END_STATE();
default:
return false;
}
}
static const TSLexerMode ts_lex_modes[STATE_COUNT] = {
[0] = {.lex_state = 0, .external_lex_state = 1},
[1] = {.lex_state = 10, .external_lex_state = 2},
[2] = {.lex_state = 10, .external_lex_state = 2},
[3] = {.lex_state = 10, .external_lex_state = 2},
[4] = {.lex_state = 0, .external_lex_state = 3},
[5] = {.lex_state = 0, .external_lex_state = 4},
[6] = {.lex_state = 0, .external_lex_state = 4},
[7] = {.lex_state = 0, .external_lex_state = 3},
[8] = {.lex_state = 0, .external_lex_state = 5},
[9] = {.lex_state = 0, .external_lex_state = 3},
[10] = {.lex_state = 0, .external_lex_state = 4},
[11] = {.lex_state = 0, .external_lex_state = 4},
[12] = {.lex_state = 10, .external_lex_state = 2},
[13] = {.lex_state = 2},
[14] = {.lex_state = 10, .external_lex_state = 2},
[15] = {.lex_state = 10, .external_lex_state = 2},
[16] = {.lex_state = 10, .external_lex_state = 2},
[17] = {.lex_state = 10, .external_lex_state = 2},
[18] = {.lex_state = 10, .external_lex_state = 2},
[19] = {.lex_state = 10, .external_lex_state = 2},
[20] = {.lex_state = 10, .external_lex_state = 2},
[21] = {.lex_state = 10, .external_lex_state = 2},
[22] = {.lex_state = 0, .external_lex_state = 3},
[23] = {.lex_state = 0, .external_lex_state = 4},
[24] = {.lex_state = 0, .external_lex_state = 3},
[25] = {.lex_state = 0, .external_lex_state = 3},
[26] = {.lex_state = 0, .external_lex_state = 3},
[27] = {.lex_state = 0, .external_lex_state = 4},
[28] = {.lex_state = 0, .external_lex_state = 4},
[29] = {.lex_state = 0, .external_lex_state = 4},
[30] = {.lex_state = 0, .external_lex_state = 6},
[31] = {.lex_state = 0, .external_lex_state = 6},
[32] = {.lex_state = 0, .external_lex_state = 6},
[33] = {.lex_state = 0, .external_lex_state = 6},
[34] = {.lex_state = 0, .external_lex_state = 6},
[35] = {.lex_state = 0, .external_lex_state = 6},
[36] = {.lex_state = 9, .external_lex_state = 7},
[37] = {.lex_state = 0, .external_lex_state = 7},
[38] = {.lex_state = 0},
[39] = {.lex_state = 0, .external_lex_state = 8},
[40] = {.lex_state = 0, .external_lex_state = 9},
[41] = {.lex_state = 0, .external_lex_state = 10},
[42] = {.lex_state = 0, .external_lex_state = 11},
[43] = {.lex_state = 0, .external_lex_state = 7},
[44] = {.lex_state = 0, .external_lex_state = 7},
[45] = {.lex_state = 9},
[46] = {.lex_state = 0, .external_lex_state = 10},
[47] = {.lex_state = 0, .external_lex_state = 12},
[48] = {.lex_state = 0, .external_lex_state = 7},
[49] = {.lex_state = 3},
[50] = {.lex_state = 0, .external_lex_state = 11},
[51] = {.lex_state = 9},
[52] = {.lex_state = 0, .external_lex_state = 7},
[53] = {.lex_state = 0, .external_lex_state = 7},
[54] = {.lex_state = 0},
[55] = {.lex_state = 0},
[56] = {.lex_state = 0, .external_lex_state = 7},
[57] = {.lex_state = 0},
[58] = {.lex_state = 0, .external_lex_state = 7},
[59] = {.lex_state = 20},
[60] = {.lex_state = 9},
[61] = {.lex_state = 0, .external_lex_state = 10},
[62] = {.lex_state = 0, .external_lex_state = 8},
[63] = {.lex_state = 0, .external_lex_state = 10},
[64] = {.lex_state = 0, .external_lex_state = 10},
};
static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = {
[STATE(0)] = {
[ts_builtin_sym_end] = ACTIONS(1),
[sym_pod_command] = ACTIONS(1),
[sym_begin_command] = ACTIONS(1),
[sym_end_command] = ACTIONS(1),
[sym_for_command] = ACTIONS(1),
[sym_format_name] = ACTIONS(1),
[sym_command] = ACTIONS(1),
[sym_cut_command] = ACTIONS(1),
[sym__eol] = ACTIONS(1),
[sym__start_command] = ACTIONS(1),
[sym__start_plain] = ACTIONS(1),
[sym__start_verbatim] = ACTIONS(1),
[sym__content_plain] = ACTIONS(1),
[sym__intseq_letter] = ACTIONS(1),
[sym__intseq_start] = ACTIONS(1),
[sym__intseq_end] = ACTIONS(1),
[sym__data_section] = ACTIONS(1),
[sym__intseq_escape_letter] = ACTIONS(1),
},
[STATE(1)] = {
[sym_pod] = STATE(38),
[sym_pod_paragraph] = STATE(2),
[sym_begin_paragraph] = STATE(2),
[sym_for_paragraph] = STATE(2),
[sym_command_paragraph] = STATE(2),
[sym_plain_paragraph] = STATE(2),
[sym_verbatim_paragraph] = STATE(2),
[sym_cut_paragraph] = STATE(2),
[aux_sym_pod_repeat1] = STATE(2),
[ts_builtin_sym_end] = ACTIONS(3),
[sym__blank_line] = ACTIONS(5),
[sym__start_command] = ACTIONS(7),
[sym__start_plain] = ACTIONS(9),
[sym__start_verbatim] = ACTIONS(11),
},
};
static const uint16_t ts_small_parse_table[] = {
[0] = 6,
ACTIONS(7), 1,
sym__start_command,
ACTIONS(9), 1,
sym__start_plain,
ACTIONS(11), 1,
sym__start_verbatim,
ACTIONS(13), 1,
ts_builtin_sym_end,
ACTIONS(15), 1,
sym__blank_line,
STATE(3), 8,
sym_pod_paragraph,
sym_begin_paragraph,
sym_for_paragraph,
sym_command_paragraph,
sym_plain_paragraph,
sym_verbatim_paragraph,
sym_cut_paragraph,
aux_sym_pod_repeat1,
[26] = 6,
ACTIONS(17), 1,
ts_builtin_sym_end,
ACTIONS(19), 1,
sym__blank_line,
ACTIONS(22), 1,
sym__start_command,
ACTIONS(25), 1,
sym__start_plain,
ACTIONS(28), 1,
sym__start_verbatim,
STATE(3), 8,
sym_pod_paragraph,
sym_begin_paragraph,
sym_for_paragraph,
sym_command_paragraph,
sym_plain_paragraph,
sym_verbatim_paragraph,
sym_cut_paragraph,
aux_sym_pod_repeat1,
[52] = 7,
ACTIONS(31), 1,
sym__eol,
ACTIONS(33), 1,
sym__content_plain,
ACTIONS(35), 1,
sym__intseq_letter,
ACTIONS(37), 1,
sym__intseq_escape_letter,
STATE(37), 1,
sym_content,
STATE(41), 1,
sym_sequence_letter,
STATE(7), 3,
aux_sym__content,
sym_interior_sequence,
sym_escape_sequence,
[76] = 7,
ACTIONS(35), 1,
sym__intseq_letter,
ACTIONS(39), 1,
sym__content_plain,
ACTIONS(41), 1,
sym__intseq_end,
ACTIONS(43), 1,
sym__intseq_escape_letter,
STATE(39), 1,
sym_content,
STATE(64), 1,
sym_sequence_letter,
STATE(10), 3,
aux_sym__content,
sym_interior_sequence,
sym_escape_sequence,
[100] = 7,
ACTIONS(35), 1,
sym__intseq_letter,
ACTIONS(39), 1,
sym__content_plain,
ACTIONS(43), 1,
sym__intseq_escape_letter,
ACTIONS(45), 1,
sym__intseq_end,
STATE(62), 1,
sym_content,
STATE(64), 1,
sym_sequence_letter,
STATE(10), 3,
aux_sym__content,
sym_interior_sequence,
sym_escape_sequence,
[124] = 6,
ACTIONS(35), 1,
sym__intseq_letter,
ACTIONS(37), 1,
sym__intseq_escape_letter,
ACTIONS(47), 1,
sym__eol,
ACTIONS(49), 1,
sym__content_plain,
STATE(41), 1,
sym_sequence_letter,
STATE(9), 3,
aux_sym__content,
sym_interior_sequence,
sym_escape_sequence,
[145] = 6,
ACTIONS(33), 1,
sym__content_plain,
ACTIONS(35), 1,
sym__intseq_letter,
ACTIONS(37), 1,
sym__intseq_escape_letter,
STATE(41), 1,
sym_sequence_letter,
STATE(58), 1,
sym_content,
STATE(7), 3,
aux_sym__content,
sym_interior_sequence,
sym_escape_sequence,
[166] = 6,
ACTIONS(51), 1,
sym__eol,
ACTIONS(53), 1,
sym__content_plain,
ACTIONS(56), 1,
sym__intseq_letter,
ACTIONS(59), 1,
sym__intseq_escape_letter,
STATE(41), 1,
sym_sequence_letter,
STATE(9), 3,
aux_sym__content,
sym_interior_sequence,
sym_escape_sequence,
[187] = 6,
ACTIONS(35), 1,
sym__intseq_letter,
ACTIONS(43), 1,
sym__intseq_escape_letter,
ACTIONS(47), 1,
sym__intseq_end,
ACTIONS(62), 1,
sym__content_plain,
STATE(64), 1,
sym_sequence_letter,
STATE(11), 3,
aux_sym__content,
sym_interior_sequence,
sym_escape_sequence,
[208] = 6,
ACTIONS(51), 1,
sym__intseq_end,
ACTIONS(56), 1,
sym__intseq_letter,
ACTIONS(64), 1,
sym__content_plain,
ACTIONS(67), 1,
sym__intseq_escape_letter,
STATE(64), 1,
sym_sequence_letter,
STATE(11), 3,
aux_sym__content,
sym_interior_sequence,
sym_escape_sequence,
[229] = 1,
ACTIONS(70), 5,
sym__start_command,
sym__start_plain,
sym__start_verbatim,
ts_builtin_sym_end,
sym__blank_line,
[237] = 5,
ACTIONS(72), 1,
sym_pod_command,
ACTIONS(74), 1,
sym_begin_command,
ACTIONS(76), 1,
sym_for_command,
ACTIONS(78), 1,
sym_command,
ACTIONS(80), 1,
sym_cut_command,
[253] = 1,
ACTIONS(82), 5,
sym__start_command,
sym__start_plain,
sym__start_verbatim,
ts_builtin_sym_end,
sym__blank_line,
[261] = 1,
ACTIONS(84), 5,
sym__start_command,
sym__start_plain,
sym__start_verbatim,
ts_builtin_sym_end,
sym__blank_line,
[269] = 1,
ACTIONS(86), 5,
sym__start_command,
sym__start_plain,
sym__start_verbatim,
ts_builtin_sym_end,
sym__blank_line,
[277] = 1,
ACTIONS(88), 5,
sym__start_command,
sym__start_plain,
sym__start_verbatim,
ts_builtin_sym_end,
sym__blank_line,
[285] = 1,
ACTIONS(90), 5,
sym__start_command,
sym__start_plain,
sym__start_verbatim,
ts_builtin_sym_end,
sym__blank_line,
[293] = 1,
ACTIONS(92), 5,
sym__start_command,
sym__start_plain,
sym__start_verbatim,
ts_builtin_sym_end,
sym__blank_line,
[301] = 1,
ACTIONS(94), 5,
sym__start_command,
sym__start_plain,
sym__start_verbatim,
ts_builtin_sym_end,
sym__blank_line,
[309] = 1,
ACTIONS(96), 5,
sym__start_command,
sym__start_plain,
sym__start_verbatim,
ts_builtin_sym_end,
sym__blank_line,
[317] = 1,
ACTIONS(98), 4,
sym__eol,
sym__content_plain,
sym__intseq_letter,
sym__intseq_escape_letter,
[324] = 1,
ACTIONS(100), 4,
sym__content_plain,
sym__intseq_letter,
sym__intseq_end,
sym__intseq_escape_letter,
[331] = 1,
ACTIONS(102), 4,
sym__eol,
sym__content_plain,
sym__intseq_letter,
sym__intseq_escape_letter,
[338] = 1,
ACTIONS(104), 4,
sym__eol,
sym__content_plain,
sym__intseq_letter,
sym__intseq_escape_letter,
[345] = 1,
ACTIONS(100), 4,
sym__eol,
sym__content_plain,
sym__intseq_letter,
sym__intseq_escape_letter,
[352] = 1,
ACTIONS(102), 4,
sym__content_plain,
sym__intseq_letter,
sym__intseq_end,
sym__intseq_escape_letter,
[359] = 1,
ACTIONS(98), 4,
sym__content_plain,
sym__intseq_letter,
sym__intseq_end,
sym__intseq_escape_letter,
[366] = 1,
ACTIONS(104), 4,
sym__content_plain,
sym__intseq_letter,
sym__intseq_end,
sym__intseq_escape_letter,
[373] = 3,
ACTIONS(106), 1,
sym__content_plain,
ACTIONS(109), 1,
sym__intseq_end,
STATE(30), 1,
aux_sym__escape_content,
[383] = 3,
ACTIONS(111), 1,
sym__content_plain,
ACTIONS(113), 1,
sym__intseq_end,
STATE(30), 1,
aux_sym__escape_content,
[393] = 3,
ACTIONS(111), 1,
sym__content_plain,
ACTIONS(115), 1,
sym__intseq_end,
STATE(30), 1,
aux_sym__escape_content,
[403] = 3,
ACTIONS(111), 1,
sym__content_plain,
ACTIONS(117), 1,
sym__intseq_end,
STATE(31), 1,
aux_sym__escape_content,
[413] = 3,
ACTIONS(111), 1,
sym__content_plain,
ACTIONS(119), 1,
sym__intseq_end,
STATE(32), 1,
aux_sym__escape_content,
[423] = 1,
ACTIONS(121), 2,
sym__content_plain,
sym__intseq_end,
[428] = 2,
ACTIONS(123), 1,
aux_sym_begin_paragraph_token1,
ACTIONS(125), 1,
sym__eol,
[435] = 1,
ACTIONS(127), 1,
sym__eol,
[439] = 1,
ACTIONS(129), 1,
ts_builtin_sym_end,
[443] = 1,
ACTIONS(131), 1,
sym__intseq_end,
[447] = 1,
ACTIONS(133), 1,
sym__data_section,
[451] = 1,
ACTIONS(135), 1,
sym__intseq_start,
[455] = 1,
ACTIONS(137), 1,
sym__content_plain,
[459] = 1,
ACTIONS(139), 1,
sym__eol,
[463] = 1,
ACTIONS(141), 1,
sym__eol,
[467] = 1,
ACTIONS(143), 1,
aux_sym_begin_paragraph_token1,
[471] = 1,
ACTIONS(145), 1,
sym__intseq_start,
[475] = 1,
ACTIONS(147), 1,
sym__start_command,
[479] = 1,
ACTIONS(149), 1,
sym__eol,
[483] = 1,
ACTIONS(151), 1,
sym_end_command,
[487] = 1,
ACTIONS(153), 1,
sym__content_plain,
[491] = 1,
ACTIONS(155), 1,
aux_sym_begin_paragraph_token1,
[495] = 1,
ACTIONS(157), 1,
sym__eol,
[499] = 1,
ACTIONS(159), 1,
sym__eol,
[503] = 1,
ACTIONS(161), 1,
sym_format_name,
[507] = 1,
ACTIONS(163), 1,
sym_format_name,
[511] = 1,
ACTIONS(165), 1,
sym__eol,
[515] = 1,
ACTIONS(167), 1,
sym_format_name,
[519] = 1,
ACTIONS(169), 1,
sym__eol,
[523] = 1,
ACTIONS(171), 1,
aux_sym_command_paragraph_token1,
[527] = 1,
ACTIONS(173), 1,
aux_sym_begin_paragraph_token1,
[531] = 1,
ACTIONS(175), 1,
sym__intseq_start,
[535] = 1,
ACTIONS(177), 1,
sym__intseq_end,
[539] = 1,
ACTIONS(179), 1,
sym__intseq_start,
[543] = 1,
ACTIONS(181), 1,
sym__intseq_start,
};
static const uint32_t ts_small_parse_table_map[] = {
[SMALL_STATE(2)] = 0,
[SMALL_STATE(3)] = 26,
[SMALL_STATE(4)] = 52,
[SMALL_STATE(5)] = 76,
[SMALL_STATE(6)] = 100,
[SMALL_STATE(7)] = 124,
[SMALL_STATE(8)] = 145,
[SMALL_STATE(9)] = 166,
[SMALL_STATE(10)] = 187,
[SMALL_STATE(11)] = 208,
[SMALL_STATE(12)] = 229,
[SMALL_STATE(13)] = 237,
[SMALL_STATE(14)] = 253,
[SMALL_STATE(15)] = 261,
[SMALL_STATE(16)] = 269,
[SMALL_STATE(17)] = 277,
[SMALL_STATE(18)] = 285,
[SMALL_STATE(19)] = 293,
[SMALL_STATE(20)] = 301,
[SMALL_STATE(21)] = 309,
[SMALL_STATE(22)] = 317,
[SMALL_STATE(23)] = 324,
[SMALL_STATE(24)] = 331,
[SMALL_STATE(25)] = 338,
[SMALL_STATE(26)] = 345,
[SMALL_STATE(27)] = 352,
[SMALL_STATE(28)] = 359,
[SMALL_STATE(29)] = 366,
[SMALL_STATE(30)] = 373,
[SMALL_STATE(31)] = 383,
[SMALL_STATE(32)] = 393,
[SMALL_STATE(33)] = 403,
[SMALL_STATE(34)] = 413,
[SMALL_STATE(35)] = 423,
[SMALL_STATE(36)] = 428,
[SMALL_STATE(37)] = 435,
[SMALL_STATE(38)] = 439,
[SMALL_STATE(39)] = 443,
[SMALL_STATE(40)] = 447,
[SMALL_STATE(41)] = 451,
[SMALL_STATE(42)] = 455,
[SMALL_STATE(43)] = 459,
[SMALL_STATE(44)] = 463,
[SMALL_STATE(45)] = 467,
[SMALL_STATE(46)] = 471,
[SMALL_STATE(47)] = 475,
[SMALL_STATE(48)] = 479,
[SMALL_STATE(49)] = 483,
[SMALL_STATE(50)] = 487,
[SMALL_STATE(51)] = 491,
[SMALL_STATE(52)] = 495,
[SMALL_STATE(53)] = 499,
[SMALL_STATE(54)] = 503,
[SMALL_STATE(55)] = 507,
[SMALL_STATE(56)] = 511,
[SMALL_STATE(57)] = 515,
[SMALL_STATE(58)] = 519,
[SMALL_STATE(59)] = 523,
[SMALL_STATE(60)] = 527,
[SMALL_STATE(61)] = 531,
[SMALL_STATE(62)] = 535,
[SMALL_STATE(63)] = 539,
[SMALL_STATE(64)] = 543,
};
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_pod, 0, 0, 0),
[5] = {.entry = {.count = 1, .reusable = true}}, SHIFT(2),
[7] = {.entry = {.count = 1, .reusable = true}}, SHIFT(13),
[9] = {.entry = {.count = 1, .reusable = true}}, SHIFT(8),
[11] = {.entry = {.count = 1, .reusable = true}}, SHIFT(50),
[13] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_pod, 1, 0, 0),
[15] = {.entry = {.count = 1, .reusable = true}}, SHIFT(3),
[17] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_pod_repeat1, 2, 0, 0),
[19] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_pod_repeat1, 2, 0, 0), SHIFT_REPEAT(3),
[22] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_pod_repeat1, 2, 0, 0), SHIFT_REPEAT(13),
[25] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_pod_repeat1, 2, 0, 0), SHIFT_REPEAT(8),
[28] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_pod_repeat1, 2, 0, 0), SHIFT_REPEAT(50),
[31] = {.entry = {.count = 1, .reusable = true}}, SHIFT(17),
[33] = {.entry = {.count = 1, .reusable = true}}, SHIFT(7),
[35] = {.entry = {.count = 1, .reusable = true}}, SHIFT(46),
[37] = {.entry = {.count = 1, .reusable = true}}, SHIFT(61),
[39] = {.entry = {.count = 1, .reusable = true}}, SHIFT(10),
[41] = {.entry = {.count = 1, .reusable = true}}, SHIFT(22),
[43] = {.entry = {.count = 1, .reusable = true}}, SHIFT(63),
[45] = {.entry = {.count = 1, .reusable = true}}, SHIFT(28),
[47] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_content, 1, 0, 0),
[49] = {.entry = {.count = 1, .reusable = true}}, SHIFT(9),
[51] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__content, 2, 0, 0),
[53] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__content, 2, 0, 0), SHIFT_REPEAT(9),
[56] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__content, 2, 0, 0), SHIFT_REPEAT(46),
[59] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__content, 2, 0, 0), SHIFT_REPEAT(61),
[62] = {.entry = {.count = 1, .reusable = true}}, SHIFT(11),
[64] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__content, 2, 0, 0), SHIFT_REPEAT(11),
[67] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__content, 2, 0, 0), SHIFT_REPEAT(63),
[70] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_pod_paragraph, 3, 0, 0),
[72] = {.entry = {.count = 1, .reusable = false}}, SHIFT(53),
[74] = {.entry = {.count = 1, .reusable = false}}, SHIFT(60),
[76] = {.entry = {.count = 1, .reusable = false}}, SHIFT(45),
[78] = {.entry = {.count = 1, .reusable = false}}, SHIFT(59),
[80] = {.entry = {.count = 1, .reusable = false}}, SHIFT(44),
[82] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_cut_paragraph, 3, 0, 0),
[84] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_plain_paragraph, 3, 0, 0),
[86] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_verbatim_paragraph, 3, 0, 1),
[88] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_command_paragraph, 4, 0, 2),
[90] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_command_paragraph, 5, 0, 2),
[92] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_for_paragraph, 7, 0, 6),
[94] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_begin_paragraph, 11, 0, 4),
[96] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_for_paragraph, 5, 0, 4),
[98] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_interior_sequence, 3, 0, 3),
[100] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_interior_sequence, 4, 0, 3),
[102] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_escape_sequence, 3, 0, 3),
[104] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_escape_sequence, 4, 0, 5),
[106] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__escape_content, 2, 0, 0), SHIFT_REPEAT(35),
[109] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__escape_content, 2, 0, 0),
[111] = {.entry = {.count = 1, .reusable = true}}, SHIFT(35),
[113] = {.entry = {.count = 1, .reusable = true}}, SHIFT(29),
[115] = {.entry = {.count = 1, .reusable = true}}, SHIFT(25),
[117] = {.entry = {.count = 1, .reusable = true}}, SHIFT(27),
[119] = {.entry = {.count = 1, .reusable = true}}, SHIFT(24),
[121] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__escape_content, 1, 0, 0),
[123] = {.entry = {.count = 1, .reusable = true}}, SHIFT(42),
[125] = {.entry = {.count = 1, .reusable = true}}, SHIFT(21),
[127] = {.entry = {.count = 1, .reusable = true}}, SHIFT(18),
[129] = {.entry = {.count = 1, .reusable = true}}, ACCEPT_INPUT(),
[131] = {.entry = {.count = 1, .reusable = true}}, SHIFT(26),
[133] = {.entry = {.count = 1, .reusable = true}}, SHIFT(47),
[135] = {.entry = {.count = 1, .reusable = true}}, SHIFT(5),
[137] = {.entry = {.count = 1, .reusable = true}}, SHIFT(48),
[139] = {.entry = {.count = 1, .reusable = true}}, SHIFT(16),
[141] = {.entry = {.count = 1, .reusable = true}}, SHIFT(14),
[143] = {.entry = {.count = 1, .reusable = true}}, SHIFT(54),
[145] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_sequence_letter, 1, 0, 0),
[147] = {.entry = {.count = 1, .reusable = true}}, SHIFT(49),
[149] = {.entry = {.count = 1, .reusable = true}}, SHIFT(19),
[151] = {.entry = {.count = 1, .reusable = true}}, SHIFT(51),
[153] = {.entry = {.count = 1, .reusable = true}}, SHIFT(43),
[155] = {.entry = {.count = 1, .reusable = true}}, SHIFT(55),
[157] = {.entry = {.count = 1, .reusable = true}}, SHIFT(20),
[159] = {.entry = {.count = 1, .reusable = true}}, SHIFT(12),
[161] = {.entry = {.count = 1, .reusable = true}}, SHIFT(36),
[163] = {.entry = {.count = 1, .reusable = true}}, SHIFT(52),
[165] = {.entry = {.count = 1, .reusable = true}}, SHIFT(40),
[167] = {.entry = {.count = 1, .reusable = true}}, SHIFT(56),
[169] = {.entry = {.count = 1, .reusable = true}}, SHIFT(15),
[171] = {.entry = {.count = 1, .reusable = true}}, SHIFT(4),
[173] = {.entry = {.count = 1, .reusable = true}}, SHIFT(57),
[175] = {.entry = {.count = 1, .reusable = true}}, SHIFT(34),
[177] = {.entry = {.count = 1, .reusable = true}}, SHIFT(23),
[179] = {.entry = {.count = 1, .reusable = true}}, SHIFT(33),
[181] = {.entry = {.count = 1, .reusable = true}}, SHIFT(6),
};
enum ts_external_scanner_symbol_identifiers {
ts_external_token__eol = 0,
ts_external_token__start_command = 1,
ts_external_token__start_plain = 2,
ts_external_token__start_verbatim = 3,
ts_external_token__content_plain = 4,
ts_external_token__intseq_letter = 5,
ts_external_token__intseq_start = 6,
ts_external_token__intseq_end = 7,
ts_external_token__data_section = 8,
ts_external_token__intseq_escape_letter = 9,
};
static const TSSymbol ts_external_scanner_symbol_map[EXTERNAL_TOKEN_COUNT] = {
[ts_external_token__eol] = sym__eol,
[ts_external_token__start_command] = sym__start_command,
[ts_external_token__start_plain] = sym__start_plain,
[ts_external_token__start_verbatim] = sym__start_verbatim,
[ts_external_token__content_plain] = sym__content_plain,
[ts_external_token__intseq_letter] = sym__intseq_letter,
[ts_external_token__intseq_start] = sym__intseq_start,
[ts_external_token__intseq_end] = sym__intseq_end,
[ts_external_token__data_section] = sym__data_section,
[ts_external_token__intseq_escape_letter] = sym__intseq_escape_letter,
};
static const bool ts_external_scanner_states[13][EXTERNAL_TOKEN_COUNT] = {
[1] = {
[ts_external_token__eol] = true,
[ts_external_token__start_command] = true,
[ts_external_token__start_plain] = true,
[ts_external_token__start_verbatim] = true,
[ts_external_token__content_plain] = true,
[ts_external_token__intseq_letter] = true,
[ts_external_token__intseq_start] = true,
[ts_external_token__intseq_end] = true,
[ts_external_token__data_section] = true,
[ts_external_token__intseq_escape_letter] = true,
},
[2] = {
[ts_external_token__start_command] = true,
[ts_external_token__start_plain] = true,
[ts_external_token__start_verbatim] = true,
},
[3] = {
[ts_external_token__eol] = true,
[ts_external_token__content_plain] = true,
[ts_external_token__intseq_letter] = true,
[ts_external_token__intseq_escape_letter] = true,
},
[4] = {
[ts_external_token__content_plain] = true,
[ts_external_token__intseq_letter] = true,
[ts_external_token__intseq_end] = true,
[ts_external_token__intseq_escape_letter] = true,
},
[5] = {
[ts_external_token__content_plain] = true,
[ts_external_token__intseq_letter] = true,
[ts_external_token__intseq_escape_letter] = true,
},
[6] = {
[ts_external_token__content_plain] = true,
[ts_external_token__intseq_end] = true,
},
[7] = {
[ts_external_token__eol] = true,
},
[8] = {
[ts_external_token__intseq_end] = true,
},
[9] = {
[ts_external_token__data_section] = true,
},
[10] = {
[ts_external_token__intseq_start] = true,
},
[11] = {
[ts_external_token__content_plain] = true,
},
[12] = {
[ts_external_token__start_command] = true,
},
};
#ifdef __cplusplus
extern "C" {
#endif
void *tree_sitter_pod_external_scanner_create(void);
void tree_sitter_pod_external_scanner_destroy(void *);
bool tree_sitter_pod_external_scanner_scan(void *, TSLexer *, const bool *);
unsigned tree_sitter_pod_external_scanner_serialize(void *, char *);
void tree_sitter_pod_external_scanner_deserialize(void *, const char *, unsigned);
#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_pod(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,
.field_names = ts_field_names,
.field_map_slices = ts_field_map_slices,
.field_map_entries = ts_field_map_entries,
.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,
.external_scanner = {
&ts_external_scanner_states[0][0],
ts_external_scanner_symbol_map,
tree_sitter_pod_external_scanner_create,
tree_sitter_pod_external_scanner_destroy,
tree_sitter_pod_external_scanner_scan,
tree_sitter_pod_external_scanner_serialize,
tree_sitter_pod_external_scanner_deserialize,
},
.primary_state_ids = ts_primary_state_ids,
.name = "pod",
.max_reserved_word_set_size = 0,
.metadata = {
.major_version = 1,
.minor_version = 0,
.patch_version = 0,
},
};
return &language;
}
#ifdef __cplusplus
}
#endif