fix in some editors
This commit is contained in:
parent
6b6fe25262
commit
e498d5dd75
8 changed files with 74 additions and 74 deletions
|
@ -1,10 +1,10 @@
|
|||
[package]
|
||||
name = "tree-sitter-SPL"
|
||||
description = "SPL grammar for the tree-sitter parsing library"
|
||||
name = "tree-sitter-spl"
|
||||
description = "spl grammar for the tree-sitter parsing library"
|
||||
version = "0.0.1"
|
||||
keywords = ["incremental", "parsing", "SPL"]
|
||||
keywords = ["incremental", "parsing", "spl"]
|
||||
categories = ["parsing", "text-editors"]
|
||||
repository = "https://github.com/tree-sitter/tree-sitter-SPL"
|
||||
repository = "https://github.com/tree-sitter/tree-sitter-spl"
|
||||
edition = "2018"
|
||||
license = "MIT"
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"targets": [
|
||||
{
|
||||
"target_name": "tree_sitter_SPL_binding",
|
||||
"target_name": "tree_sitter_spl_binding",
|
||||
"include_dirs": [
|
||||
"<!(node -e \"require('nan')\")",
|
||||
"src"
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
using namespace v8;
|
||||
|
||||
extern "C" TSLanguage * tree_sitter_SPL();
|
||||
extern "C" TSLanguage * tree_sitter_spl();
|
||||
|
||||
namespace {
|
||||
|
||||
|
@ -17,12 +17,12 @@ void Init(Local<Object> exports, Local<Object> module) {
|
|||
|
||||
Local<Function> constructor = Nan::GetFunction(tpl).ToLocalChecked();
|
||||
Local<Object> instance = constructor->NewInstance(Nan::GetCurrentContext()).ToLocalChecked();
|
||||
Nan::SetInternalFieldPointer(instance, 0, tree_sitter_SPL());
|
||||
Nan::SetInternalFieldPointer(instance, 0, tree_sitter_spl());
|
||||
|
||||
Nan::Set(instance, Nan::New("name").ToLocalChecked(), Nan::New("SPL").ToLocalChecked());
|
||||
Nan::Set(instance, Nan::New("name").ToLocalChecked(), Nan::New("spl").ToLocalChecked());
|
||||
Nan::Set(module, Nan::New("exports").ToLocalChecked(), instance);
|
||||
}
|
||||
|
||||
NODE_MODULE(tree_sitter_SPL_binding, Init)
|
||||
NODE_MODULE(tree_sitter_spl_binding, Init)
|
||||
|
||||
} // namespace
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
try {
|
||||
module.exports = require("../../build/Release/tree_sitter_SPL_binding");
|
||||
module.exports = require("../../build/Release/tree_sitter_spl_binding");
|
||||
} catch (error1) {
|
||||
if (error1.code !== 'MODULE_NOT_FOUND') {
|
||||
throw error1;
|
||||
}
|
||||
try {
|
||||
module.exports = require("../../build/Debug/tree_sitter_SPL_binding");
|
||||
module.exports = require("../../build/Debug/tree_sitter_spl_binding");
|
||||
} catch (error2) {
|
||||
if (error2.code !== 'MODULE_NOT_FOUND') {
|
||||
throw error2;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
//! This crate provides SPL language support for the [tree-sitter][] parsing library.
|
||||
//! This crate provides spl language support for the [tree-sitter][] parsing library.
|
||||
//!
|
||||
//! Typically, you will use the [language][language func] function to add this language to a
|
||||
//! tree-sitter [Parser][], and then use the parser to parse some code:
|
||||
|
@ -6,7 +6,7 @@
|
|||
//! ```
|
||||
//! let code = "";
|
||||
//! let mut parser = tree_sitter::Parser::new();
|
||||
//! parser.set_language(tree_sitter_SPL::language()).expect("Error loading SPL grammar");
|
||||
//! parser.set_language(tree_sitter_spl::language()).expect("Error loading spl grammar");
|
||||
//! let tree = parser.parse(code, None).unwrap();
|
||||
//! ```
|
||||
//!
|
||||
|
@ -18,14 +18,14 @@
|
|||
use tree_sitter::Language;
|
||||
|
||||
extern "C" {
|
||||
fn tree_sitter_SPL() -> Language;
|
||||
fn tree_sitter_spl() -> Language;
|
||||
}
|
||||
|
||||
/// Get the tree-sitter [Language][] for this grammar.
|
||||
///
|
||||
/// [Language]: https://docs.rs/tree-sitter/*/tree_sitter/struct.Language.html
|
||||
pub fn language() -> Language {
|
||||
unsafe { tree_sitter_SPL() }
|
||||
unsafe { tree_sitter_spl() }
|
||||
}
|
||||
|
||||
/// The content of the [`node-types.json`][] file for this grammar.
|
||||
|
@ -47,6 +47,6 @@ mod tests {
|
|||
let mut parser = tree_sitter::Parser::new();
|
||||
parser
|
||||
.set_language(super::language())
|
||||
.expect("Error loading SPL language");
|
||||
.expect("Error loading spl language");
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
module.exports = grammar({
|
||||
name: 'SPL',
|
||||
name: 'spl',
|
||||
|
||||
rules: {
|
||||
source_file: $ => repeat($._statement),
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"name": "SPL",
|
||||
"name": "spl",
|
||||
"rules": {
|
||||
"source_file": {
|
||||
"type": "REPEAT",
|
||||
|
|
112
src/parser.c
112
src/parser.c
|
@ -1301,8 +1301,8 @@ static const TSLexMode ts_lex_modes[STATE_COUNT] = {
|
|||
[128] = {.lex_state = 0},
|
||||
[129] = {.lex_state = 4},
|
||||
[130] = {.lex_state = 4},
|
||||
[131] = {.lex_state = 0},
|
||||
[132] = {.lex_state = 4},
|
||||
[131] = {.lex_state = 4},
|
||||
[132] = {.lex_state = 0},
|
||||
[133] = {.lex_state = 4},
|
||||
[134] = {.lex_state = 4},
|
||||
[135] = {.lex_state = 4},
|
||||
|
@ -1474,7 +1474,7 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = {
|
|||
[anon_sym_use] = ACTIONS(37),
|
||||
},
|
||||
[4] = {
|
||||
[sym__statement] = STATE(5),
|
||||
[sym__statement] = STATE(2),
|
||||
[sym_function_definition] = STATE(81),
|
||||
[sym_func] = STATE(89),
|
||||
[sym_block] = STATE(89),
|
||||
|
@ -1490,7 +1490,7 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = {
|
|||
[sym_include] = STATE(81),
|
||||
[sym_use] = STATE(81),
|
||||
[sym_def] = STATE(81),
|
||||
[aux_sym_source_file_repeat1] = STATE(5),
|
||||
[aux_sym_source_file_repeat1] = STATE(2),
|
||||
[aux_sym__statement_repeat1] = STATE(33),
|
||||
[anon_sym_AMP] = ACTIONS(5),
|
||||
[anon_sym_func] = ACTIONS(7),
|
||||
|
@ -1761,7 +1761,7 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = {
|
|||
[anon_sym_AMP] = ACTIONS(5),
|
||||
[anon_sym_func] = ACTIONS(7),
|
||||
[anon_sym_LBRACE] = ACTIONS(9),
|
||||
[anon_sym_RBRACE] = ACTIONS(118),
|
||||
[anon_sym_RBRACE] = ACTIONS(116),
|
||||
[sym_identifier] = ACTIONS(11),
|
||||
[anon_sym_COLON] = ACTIONS(13),
|
||||
[sym_number] = ACTIONS(15),
|
||||
|
@ -1778,7 +1778,7 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = {
|
|||
[anon_sym_use] = ACTIONS(37),
|
||||
},
|
||||
[12] = {
|
||||
[sym__statement] = STATE(9),
|
||||
[sym__statement] = STATE(4),
|
||||
[sym_function_definition] = STATE(81),
|
||||
[sym_func] = STATE(89),
|
||||
[sym_block] = STATE(89),
|
||||
|
@ -1794,12 +1794,12 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = {
|
|||
[sym_include] = STATE(81),
|
||||
[sym_use] = STATE(81),
|
||||
[sym_def] = STATE(81),
|
||||
[aux_sym_source_file_repeat1] = STATE(9),
|
||||
[aux_sym_source_file_repeat1] = STATE(4),
|
||||
[aux_sym__statement_repeat1] = STATE(33),
|
||||
[anon_sym_AMP] = ACTIONS(5),
|
||||
[anon_sym_func] = ACTIONS(7),
|
||||
[anon_sym_LBRACE] = ACTIONS(9),
|
||||
[anon_sym_RBRACE] = ACTIONS(120),
|
||||
[anon_sym_RBRACE] = ACTIONS(118),
|
||||
[sym_identifier] = ACTIONS(11),
|
||||
[anon_sym_COLON] = ACTIONS(13),
|
||||
[sym_number] = ACTIONS(15),
|
||||
|
@ -1837,7 +1837,7 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = {
|
|||
[anon_sym_AMP] = ACTIONS(5),
|
||||
[anon_sym_func] = ACTIONS(7),
|
||||
[anon_sym_LBRACE] = ACTIONS(9),
|
||||
[anon_sym_RBRACE] = ACTIONS(120),
|
||||
[anon_sym_RBRACE] = ACTIONS(118),
|
||||
[sym_identifier] = ACTIONS(11),
|
||||
[anon_sym_COLON] = ACTIONS(13),
|
||||
[sym_number] = ACTIONS(15),
|
||||
|
@ -1854,7 +1854,7 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = {
|
|||
[anon_sym_use] = ACTIONS(37),
|
||||
},
|
||||
[14] = {
|
||||
[sym__statement] = STATE(19),
|
||||
[sym__statement] = STATE(11),
|
||||
[sym_function_definition] = STATE(81),
|
||||
[sym_func] = STATE(89),
|
||||
[sym_block] = STATE(89),
|
||||
|
@ -1870,12 +1870,12 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = {
|
|||
[sym_include] = STATE(81),
|
||||
[sym_use] = STATE(81),
|
||||
[sym_def] = STATE(81),
|
||||
[aux_sym_source_file_repeat1] = STATE(19),
|
||||
[aux_sym_source_file_repeat1] = STATE(11),
|
||||
[aux_sym__statement_repeat1] = STATE(33),
|
||||
[anon_sym_AMP] = ACTIONS(5),
|
||||
[anon_sym_func] = ACTIONS(7),
|
||||
[anon_sym_LBRACE] = ACTIONS(9),
|
||||
[anon_sym_RBRACE] = ACTIONS(122),
|
||||
[anon_sym_RBRACE] = ACTIONS(120),
|
||||
[sym_identifier] = ACTIONS(11),
|
||||
[anon_sym_COLON] = ACTIONS(13),
|
||||
[sym_number] = ACTIONS(15),
|
||||
|
@ -1913,7 +1913,7 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = {
|
|||
[anon_sym_AMP] = ACTIONS(5),
|
||||
[anon_sym_func] = ACTIONS(7),
|
||||
[anon_sym_LBRACE] = ACTIONS(9),
|
||||
[anon_sym_RBRACE] = ACTIONS(124),
|
||||
[anon_sym_RBRACE] = ACTIONS(122),
|
||||
[sym_identifier] = ACTIONS(11),
|
||||
[anon_sym_COLON] = ACTIONS(13),
|
||||
[sym_number] = ACTIONS(15),
|
||||
|
@ -1951,7 +1951,7 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = {
|
|||
[anon_sym_AMP] = ACTIONS(5),
|
||||
[anon_sym_func] = ACTIONS(7),
|
||||
[anon_sym_LBRACE] = ACTIONS(9),
|
||||
[anon_sym_RBRACE] = ACTIONS(126),
|
||||
[anon_sym_RBRACE] = ACTIONS(124),
|
||||
[sym_identifier] = ACTIONS(11),
|
||||
[anon_sym_COLON] = ACTIONS(13),
|
||||
[sym_number] = ACTIONS(15),
|
||||
|
@ -1996,7 +1996,7 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = {
|
|||
[anon_sym_LT_LBRACE] = ACTIONS(19),
|
||||
[anon_sym_with] = ACTIONS(21),
|
||||
[anon_sym_LBRACK] = ACTIONS(23),
|
||||
[anon_sym_RBRACK] = ACTIONS(128),
|
||||
[anon_sym_RBRACK] = ACTIONS(126),
|
||||
[anon_sym_def] = ACTIONS(25),
|
||||
[anon_sym_construct] = ACTIONS(27),
|
||||
[anon_sym_if] = ACTIONS(29),
|
||||
|
@ -2006,7 +2006,7 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = {
|
|||
[anon_sym_use] = ACTIONS(37),
|
||||
},
|
||||
[18] = {
|
||||
[sym__statement] = STATE(16),
|
||||
[sym__statement] = STATE(2),
|
||||
[sym_function_definition] = STATE(81),
|
||||
[sym_func] = STATE(89),
|
||||
[sym_block] = STATE(89),
|
||||
|
@ -2022,12 +2022,12 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = {
|
|||
[sym_include] = STATE(81),
|
||||
[sym_use] = STATE(81),
|
||||
[sym_def] = STATE(81),
|
||||
[aux_sym_source_file_repeat1] = STATE(16),
|
||||
[aux_sym_source_file_repeat1] = STATE(2),
|
||||
[aux_sym__statement_repeat1] = STATE(33),
|
||||
[anon_sym_AMP] = ACTIONS(5),
|
||||
[anon_sym_func] = ACTIONS(7),
|
||||
[anon_sym_LBRACE] = ACTIONS(9),
|
||||
[anon_sym_RBRACE] = ACTIONS(130),
|
||||
[anon_sym_RBRACE] = ACTIONS(128),
|
||||
[sym_identifier] = ACTIONS(11),
|
||||
[anon_sym_COLON] = ACTIONS(13),
|
||||
[sym_number] = ACTIONS(15),
|
||||
|
@ -2065,7 +2065,7 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = {
|
|||
[anon_sym_AMP] = ACTIONS(5),
|
||||
[anon_sym_func] = ACTIONS(7),
|
||||
[anon_sym_LBRACE] = ACTIONS(9),
|
||||
[anon_sym_RBRACE] = ACTIONS(116),
|
||||
[anon_sym_RBRACE] = ACTIONS(130),
|
||||
[sym_identifier] = ACTIONS(11),
|
||||
[anon_sym_COLON] = ACTIONS(13),
|
||||
[sym_number] = ACTIONS(15),
|
||||
|
@ -2082,7 +2082,7 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = {
|
|||
[anon_sym_use] = ACTIONS(37),
|
||||
},
|
||||
[20] = {
|
||||
[sym__statement] = STATE(2),
|
||||
[sym__statement] = STATE(16),
|
||||
[sym_function_definition] = STATE(81),
|
||||
[sym_func] = STATE(89),
|
||||
[sym_block] = STATE(89),
|
||||
|
@ -2098,7 +2098,7 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = {
|
|||
[sym_include] = STATE(81),
|
||||
[sym_use] = STATE(81),
|
||||
[sym_def] = STATE(81),
|
||||
[aux_sym_source_file_repeat1] = STATE(2),
|
||||
[aux_sym_source_file_repeat1] = STATE(16),
|
||||
[aux_sym__statement_repeat1] = STATE(33),
|
||||
[anon_sym_AMP] = ACTIONS(5),
|
||||
[anon_sym_func] = ACTIONS(7),
|
||||
|
@ -2158,7 +2158,7 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = {
|
|||
[anon_sym_use] = ACTIONS(37),
|
||||
},
|
||||
[22] = {
|
||||
[sym__statement] = STATE(25),
|
||||
[sym__statement] = STATE(19),
|
||||
[sym_function_definition] = STATE(81),
|
||||
[sym_func] = STATE(89),
|
||||
[sym_block] = STATE(89),
|
||||
|
@ -2174,7 +2174,7 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = {
|
|||
[sym_include] = STATE(81),
|
||||
[sym_use] = STATE(81),
|
||||
[sym_def] = STATE(81),
|
||||
[aux_sym_source_file_repeat1] = STATE(25),
|
||||
[aux_sym_source_file_repeat1] = STATE(19),
|
||||
[aux_sym__statement_repeat1] = STATE(33),
|
||||
[anon_sym_AMP] = ACTIONS(5),
|
||||
[anon_sym_func] = ACTIONS(7),
|
||||
|
@ -2234,7 +2234,7 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = {
|
|||
[anon_sym_use] = ACTIONS(37),
|
||||
},
|
||||
[24] = {
|
||||
[sym__statement] = STATE(11),
|
||||
[sym__statement] = STATE(18),
|
||||
[sym_function_definition] = STATE(81),
|
||||
[sym_func] = STATE(89),
|
||||
[sym_block] = STATE(89),
|
||||
|
@ -2250,7 +2250,7 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = {
|
|||
[sym_include] = STATE(81),
|
||||
[sym_use] = STATE(81),
|
||||
[sym_def] = STATE(81),
|
||||
[aux_sym_source_file_repeat1] = STATE(11),
|
||||
[aux_sym_source_file_repeat1] = STATE(18),
|
||||
[aux_sym__statement_repeat1] = STATE(33),
|
||||
[anon_sym_AMP] = ACTIONS(5),
|
||||
[anon_sym_func] = ACTIONS(7),
|
||||
|
@ -2272,7 +2272,7 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = {
|
|||
[anon_sym_use] = ACTIONS(37),
|
||||
},
|
||||
[25] = {
|
||||
[sym__statement] = STATE(2),
|
||||
[sym__statement] = STATE(5),
|
||||
[sym_function_definition] = STATE(81),
|
||||
[sym_func] = STATE(89),
|
||||
[sym_block] = STATE(89),
|
||||
|
@ -2288,7 +2288,7 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = {
|
|||
[sym_include] = STATE(81),
|
||||
[sym_use] = STATE(81),
|
||||
[sym_def] = STATE(81),
|
||||
[aux_sym_source_file_repeat1] = STATE(2),
|
||||
[aux_sym_source_file_repeat1] = STATE(5),
|
||||
[aux_sym__statement_repeat1] = STATE(33),
|
||||
[anon_sym_AMP] = ACTIONS(5),
|
||||
[anon_sym_func] = ACTIONS(7),
|
||||
|
@ -2310,7 +2310,7 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = {
|
|||
[anon_sym_use] = ACTIONS(37),
|
||||
},
|
||||
[26] = {
|
||||
[sym__statement] = STATE(20),
|
||||
[sym__statement] = STATE(9),
|
||||
[sym_function_definition] = STATE(81),
|
||||
[sym_func] = STATE(89),
|
||||
[sym_block] = STATE(89),
|
||||
|
@ -2326,7 +2326,7 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = {
|
|||
[sym_include] = STATE(81),
|
||||
[sym_use] = STATE(81),
|
||||
[sym_def] = STATE(81),
|
||||
[aux_sym_source_file_repeat1] = STATE(20),
|
||||
[aux_sym_source_file_repeat1] = STATE(9),
|
||||
[aux_sym__statement_repeat1] = STATE(33),
|
||||
[anon_sym_AMP] = ACTIONS(5),
|
||||
[anon_sym_func] = ACTIONS(7),
|
||||
|
@ -3011,10 +3011,10 @@ static const uint16_t ts_small_parse_table[] = {
|
|||
sym__spacing,
|
||||
[881] = 1,
|
||||
ACTIONS(440), 1,
|
||||
anon_sym_LBRACE,
|
||||
sym__spacing,
|
||||
[885] = 1,
|
||||
ACTIONS(442), 1,
|
||||
sym__spacing,
|
||||
anon_sym_LBRACE,
|
||||
[889] = 1,
|
||||
ACTIONS(444), 1,
|
||||
sym__spacing,
|
||||
|
@ -3235,7 +3235,7 @@ static const TSParseActionEntry ts_parse_actions[] = {
|
|||
[17] = {.entry = {.count = 1, .reusable = true}}, SHIFT(36),
|
||||
[19] = {.entry = {.count = 1, .reusable = true}}, SHIFT(141),
|
||||
[21] = {.entry = {.count = 1, .reusable = false}}, SHIFT(139),
|
||||
[23] = {.entry = {.count = 1, .reusable = false}}, SHIFT(133),
|
||||
[23] = {.entry = {.count = 1, .reusable = false}}, SHIFT(121),
|
||||
[25] = {.entry = {.count = 1, .reusable = false}}, SHIFT(149),
|
||||
[27] = {.entry = {.count = 1, .reusable = false}}, SHIFT(130),
|
||||
[29] = {.entry = {.count = 1, .reusable = false}}, SHIFT(129),
|
||||
|
@ -3253,7 +3253,7 @@ static const TSParseActionEntry ts_parse_actions[] = {
|
|||
[59] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2), SHIFT_REPEAT(36),
|
||||
[62] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2), SHIFT_REPEAT(141),
|
||||
[65] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_source_file_repeat1, 2), SHIFT_REPEAT(139),
|
||||
[68] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_source_file_repeat1, 2), SHIFT_REPEAT(133),
|
||||
[68] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_source_file_repeat1, 2), SHIFT_REPEAT(121),
|
||||
[71] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_source_file_repeat1, 2), SHIFT_REPEAT(149),
|
||||
[74] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_source_file_repeat1, 2), SHIFT_REPEAT(130),
|
||||
[77] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_source_file_repeat1, 2), SHIFT_REPEAT(129),
|
||||
|
@ -3262,7 +3262,7 @@ static const TSParseActionEntry ts_parse_actions[] = {
|
|||
[86] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_source_file_repeat1, 2), SHIFT_REPEAT(116),
|
||||
[89] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_source_file_repeat1, 2), SHIFT_REPEAT(107),
|
||||
[92] = {.entry = {.count = 1, .reusable = true}}, SHIFT(115),
|
||||
[94] = {.entry = {.count = 1, .reusable = true}}, SHIFT(76),
|
||||
[94] = {.entry = {.count = 1, .reusable = true}}, SHIFT(86),
|
||||
[96] = {.entry = {.count = 1, .reusable = true}}, SHIFT(85),
|
||||
[98] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2), SHIFT_REPEAT(34),
|
||||
[101] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_source_file_repeat1, 2), SHIFT_REPEAT(73),
|
||||
|
@ -3271,20 +3271,20 @@ static const TSParseActionEntry ts_parse_actions[] = {
|
|||
[108] = {.entry = {.count = 1, .reusable = false}}, SHIFT(73),
|
||||
[110] = {.entry = {.count = 1, .reusable = false}}, SHIFT(79),
|
||||
[112] = {.entry = {.count = 1, .reusable = true}}, SHIFT(83),
|
||||
[114] = {.entry = {.count = 1, .reusable = true}}, SHIFT(86),
|
||||
[114] = {.entry = {.count = 1, .reusable = true}}, SHIFT(70),
|
||||
[116] = {.entry = {.count = 1, .reusable = true}}, SHIFT(90),
|
||||
[118] = {.entry = {.count = 1, .reusable = true}}, SHIFT(95),
|
||||
[120] = {.entry = {.count = 1, .reusable = true}}, SHIFT(91),
|
||||
[122] = {.entry = {.count = 1, .reusable = true}}, SHIFT(93),
|
||||
[124] = {.entry = {.count = 1, .reusable = true}}, SHIFT(96),
|
||||
[126] = {.entry = {.count = 1, .reusable = true}}, SHIFT(77),
|
||||
[128] = {.entry = {.count = 1, .reusable = false}}, SHIFT(101),
|
||||
[130] = {.entry = {.count = 1, .reusable = true}}, SHIFT(98),
|
||||
[132] = {.entry = {.count = 1, .reusable = true}}, SHIFT(70),
|
||||
[118] = {.entry = {.count = 1, .reusable = true}}, SHIFT(91),
|
||||
[120] = {.entry = {.count = 1, .reusable = true}}, SHIFT(93),
|
||||
[122] = {.entry = {.count = 1, .reusable = true}}, SHIFT(96),
|
||||
[124] = {.entry = {.count = 1, .reusable = true}}, SHIFT(77),
|
||||
[126] = {.entry = {.count = 1, .reusable = false}}, SHIFT(101),
|
||||
[128] = {.entry = {.count = 1, .reusable = true}}, SHIFT(95),
|
||||
[130] = {.entry = {.count = 1, .reusable = true}}, SHIFT(123),
|
||||
[132] = {.entry = {.count = 1, .reusable = true}}, SHIFT(98),
|
||||
[134] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_source_file, 1),
|
||||
[136] = {.entry = {.count = 1, .reusable = true}}, SHIFT(140),
|
||||
[138] = {.entry = {.count = 1, .reusable = true}}, SHIFT(134),
|
||||
[140] = {.entry = {.count = 1, .reusable = true}}, SHIFT(123),
|
||||
[140] = {.entry = {.count = 1, .reusable = true}}, SHIFT(76),
|
||||
[142] = {.entry = {.count = 1, .reusable = true}}, SHIFT(88),
|
||||
[144] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__statement, 2),
|
||||
[146] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__statement, 2),
|
||||
|
@ -3335,7 +3335,7 @@ static const TSParseActionEntry ts_parse_actions[] = {
|
|||
[240] = {.entry = {.count = 1, .reusable = true}}, SHIFT(66),
|
||||
[242] = {.entry = {.count = 1, .reusable = false}}, SHIFT(155),
|
||||
[244] = {.entry = {.count = 1, .reusable = true}}, SHIFT(32),
|
||||
[246] = {.entry = {.count = 1, .reusable = true}}, SHIFT(4),
|
||||
[246] = {.entry = {.count = 1, .reusable = true}}, SHIFT(25),
|
||||
[248] = {.entry = {.count = 1, .reusable = false}}, SHIFT(125),
|
||||
[250] = {.entry = {.count = 1, .reusable = true}}, SHIFT(27),
|
||||
[252] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_with_expr_repeat1, 2),
|
||||
|
@ -3411,8 +3411,8 @@ static const TSParseActionEntry ts_parse_actions[] = {
|
|||
[394] = {.entry = {.count = 1, .reusable = true}}, SHIFT(49),
|
||||
[396] = {.entry = {.count = 1, .reusable = true}}, SHIFT(51),
|
||||
[398] = {.entry = {.count = 1, .reusable = true}}, SHIFT(14),
|
||||
[400] = {.entry = {.count = 1, .reusable = true}}, SHIFT(121),
|
||||
[402] = {.entry = {.count = 1, .reusable = true}}, SHIFT(38),
|
||||
[400] = {.entry = {.count = 1, .reusable = true}}, SHIFT(133),
|
||||
[402] = {.entry = {.count = 1, .reusable = true}}, SHIFT(15),
|
||||
[404] = {.entry = {.count = 1, .reusable = true}}, SHIFT(26),
|
||||
[406] = {.entry = {.count = 1, .reusable = true}}, SHIFT(60),
|
||||
[408] = {.entry = {.count = 1, .reusable = true}}, SHIFT(22),
|
||||
|
@ -3422,18 +3422,18 @@ static const TSParseActionEntry ts_parse_actions[] = {
|
|||
[416] = {.entry = {.count = 1, .reusable = true}}, SHIFT(143),
|
||||
[418] = {.entry = {.count = 1, .reusable = true}}, SHIFT(12),
|
||||
[420] = {.entry = {.count = 1, .reusable = true}}, SHIFT(147),
|
||||
[422] = {.entry = {.count = 1, .reusable = true}}, SHIFT(10),
|
||||
[422] = {.entry = {.count = 1, .reusable = true}}, SHIFT(17),
|
||||
[424] = {.entry = {.count = 1, .reusable = true}}, SHIFT(92),
|
||||
[426] = {.entry = {.count = 1, .reusable = true}}, SHIFT(131),
|
||||
[428] = {.entry = {.count = 1, .reusable = true}}, SHIFT(132),
|
||||
[426] = {.entry = {.count = 1, .reusable = true}}, SHIFT(132),
|
||||
[428] = {.entry = {.count = 1, .reusable = true}}, SHIFT(111),
|
||||
[430] = {.entry = {.count = 1, .reusable = true}}, SHIFT(75),
|
||||
[432] = {.entry = {.count = 1, .reusable = true}}, SHIFT(74),
|
||||
[434] = {.entry = {.count = 1, .reusable = true}}, SHIFT(111),
|
||||
[434] = {.entry = {.count = 1, .reusable = true}}, SHIFT(131),
|
||||
[436] = {.entry = {.count = 1, .reusable = true}}, SHIFT(150),
|
||||
[438] = {.entry = {.count = 1, .reusable = true}}, SHIFT(57),
|
||||
[440] = {.entry = {.count = 1, .reusable = true}}, SHIFT(119),
|
||||
[442] = {.entry = {.count = 1, .reusable = true}}, SHIFT(15),
|
||||
[444] = {.entry = {.count = 1, .reusable = true}}, SHIFT(17),
|
||||
[440] = {.entry = {.count = 1, .reusable = true}}, SHIFT(38),
|
||||
[442] = {.entry = {.count = 1, .reusable = true}}, SHIFT(119),
|
||||
[444] = {.entry = {.count = 1, .reusable = true}}, SHIFT(10),
|
||||
[446] = {.entry = {.count = 1, .reusable = true}}, SHIFT(117),
|
||||
[448] = {.entry = {.count = 1, .reusable = true}}, SHIFT(23),
|
||||
[450] = {.entry = {.count = 1, .reusable = true}}, SHIFT(68),
|
||||
|
@ -3441,7 +3441,7 @@ static const TSParseActionEntry ts_parse_actions[] = {
|
|||
[454] = {.entry = {.count = 1, .reusable = true}}, ACCEPT_INPUT(),
|
||||
[456] = {.entry = {.count = 1, .reusable = true}}, SHIFT(56),
|
||||
[458] = {.entry = {.count = 1, .reusable = true}}, SHIFT(124),
|
||||
[460] = {.entry = {.count = 1, .reusable = true}}, SHIFT(18),
|
||||
[460] = {.entry = {.count = 1, .reusable = true}}, SHIFT(20),
|
||||
[462] = {.entry = {.count = 1, .reusable = true}}, SHIFT(128),
|
||||
[464] = {.entry = {.count = 1, .reusable = true}}, SHIFT(135),
|
||||
[466] = {.entry = {.count = 1, .reusable = true}}, SHIFT(41),
|
||||
|
@ -3465,7 +3465,7 @@ extern "C" {
|
|||
#define extern __declspec(dllexport)
|
||||
#endif
|
||||
|
||||
extern const TSLanguage *tree_sitter_SPL(void) {
|
||||
extern const TSLanguage *tree_sitter_spl(void) {
|
||||
static const TSLanguage language = {
|
||||
.version = LANGUAGE_VERSION,
|
||||
.symbol_count = SYMBOL_COUNT,
|
||||
|
|
Loading…
Add table
Reference in a new issue