From b8f2f1258a85f56a70cf20bf6c2ca34ba8b812ff Mon Sep 17 00:00:00 2001 From: Matthias Unterrainer Date: Sat, 17 Jan 2026 16:58:28 +0100 Subject: [PATCH] added generated sources --- .gitignore | 2 - src/grammar.json | 1900 +++++++ src/node-types.json | 1329 +++++ src/parser.c | 10923 +++++++++++++++++++++++++++++++++++++ src/tree_sitter/alloc.h | 54 + src/tree_sitter/array.h | 291 + src/tree_sitter/parser.h | 286 + 7 files changed, 14783 insertions(+), 2 deletions(-) create mode 100644 src/grammar.json create mode 100644 src/node-types.json create mode 100644 src/parser.c create mode 100644 src/tree_sitter/alloc.h create mode 100644 src/tree_sitter/array.h create mode 100644 src/tree_sitter/parser.h diff --git a/.gitignore b/.gitignore index e349343..87a0c80 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,3 @@ -src/ - # Rust artifacts target/ Cargo.lock diff --git a/src/grammar.json b/src/grammar.json new file mode 100644 index 0000000..903981e --- /dev/null +++ b/src/grammar.json @@ -0,0 +1,1900 @@ +{ + "$schema": "https://tree-sitter.github.io/tree-sitter/assets/schemas/grammar.schema.json", + "name": "mc", + "rules": { + "source_file": { + "type": "REPEAT", + "content": { + "type": "SYMBOL", + "name": "translation_entity" + } + }, + "translation_entity": { + "type": "CHOICE", + "members": [ + { + "type": "SYMBOL", + "name": "declaration" + }, + { + "type": "SYMBOL", + "name": "function_definition" + } + ] + }, + "function_definition": { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "function" + }, + { + "type": "FIELD", + "name": "name", + "content": { + "type": "SYMBOL", + "name": "identifier" + } + }, + { + "type": "FIELD", + "name": "signature", + "content": { + "type": "SYMBOL", + "name": "function_signature" + } + }, + { + "type": "FIELD", + "name": "body", + "content": { + "type": "SYMBOL", + "name": "statement_block" + } + } + ] + }, + "comment": { + "type": "TOKEN", + "content": { + "type": "CHOICE", + "members": [ + { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "//" + }, + { + "type": "PATTERN", + "value": ".*" + } + ] + }, + { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "/*" + }, + { + "type": "PATTERN", + "value": "[^*]*\\*+([^/*][^*]*\\*+)*" + }, + { + "type": "STRING", + "value": "/" + } + ] + } + ] + } + }, + "identifier": { + "type": "PATTERN", + "value": "[a-zA-Z][a-zA-Z0-9_]*" + }, + "signed_integer_literal": { + "type": "TOKEN", + "content": { + "type": "SEQ", + "members": [ + { + "type": "PATTERN", + "value": "[0-9]+" + }, + { + "type": "PATTERN", + "value": "[iI]" + }, + { + "type": "CHOICE", + "members": [ + { + "type": "CHOICE", + "members": [ + { + "type": "STRING", + "value": "8" + }, + { + "type": "STRING", + "value": "16" + }, + { + "type": "STRING", + "value": "32" + }, + { + "type": "STRING", + "value": "64" + } + ] + }, + { + "type": "BLANK" + } + ] + } + ] + } + }, + "unsigned_integer_literal": { + "type": "TOKEN", + "content": { + "type": "SEQ", + "members": [ + { + "type": "PATTERN", + "value": "[0-9]+" + }, + { + "type": "PATTERN", + "value": "[uU]" + }, + { + "type": "CHOICE", + "members": [ + { + "type": "CHOICE", + "members": [ + { + "type": "STRING", + "value": "8" + }, + { + "type": "STRING", + "value": "16" + }, + { + "type": "STRING", + "value": "32" + }, + { + "type": "STRING", + "value": "64" + } + ] + }, + { + "type": "BLANK" + } + ] + } + ] + } + }, + "integer_literal": { + "type": "TOKEN", + "content": { + "type": "PATTERN", + "value": "[0-9]+" + } + }, + "char_literal": { + "type": "TOKEN", + "content": { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "'" + }, + { + "type": "CHOICE", + "members": [ + { + "type": "PATTERN", + "value": "[^\\\\'\\n]" + }, + { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "\\" + }, + { + "type": "CHOICE", + "members": [ + { + "type": "PATTERN", + "value": "[abfnrtv\\\\'\"]" + }, + { + "type": "STRING", + "value": "0" + } + ] + } + ] + } + ] + }, + { + "type": "STRING", + "value": "'" + } + ] + } + }, + "string_literal": { + "type": "TOKEN", + "content": { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "\"" + }, + { + "type": "REPEAT", + "content": { + "type": "CHOICE", + "members": [ + { + "type": "PATTERN", + "value": "[^\\\\\\\"\\n]" + }, + { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "\\" + }, + { + "type": "CHOICE", + "members": [ + { + "type": "PATTERN", + "value": "[abfnrtv\\\\'\"]" + }, + { + "type": "STRING", + "value": "0" + } + ] + } + ] + } + ] + } + }, + { + "type": "STRING", + "value": "\"" + } + ] + } + }, + "constant": { + "type": "CHOICE", + "members": [ + { + "type": "SYMBOL", + "name": "signed_integer_literal" + }, + { + "type": "SYMBOL", + "name": "unsigned_integer_literal" + }, + { + "type": "SYMBOL", + "name": "integer_literal" + }, + { + "type": "SYMBOL", + "name": "string_literal" + }, + { + "type": "SYMBOL", + "name": "char_literal" + }, + { + "type": "SYMBOL", + "name": "predefined_constant" + } + ] + }, + "predefined_constant": { + "type": "CHOICE", + "members": [ + { + "type": "STRING", + "value": "NULL" + }, + { + "type": "STRING", + "value": "true" + }, + { + "type": "STRING", + "value": "false" + } + ] + }, + "leq_operator": { + "type": "TOKEN", + "content": { + "type": "CHOICE", + "members": [ + { + "type": "STRING", + "value": "<=" + }, + { + "type": "STRING", + "value": "=<" + } + ] + } + }, + "geq_operator": { + "type": "TOKEN", + "content": { + "type": "CHOICE", + "members": [ + { + "type": "STRING", + "value": ">=" + }, + { + "type": "STRING", + "value": "=>" + } + ] + } + }, + "base_expression": { + "type": "CHOICE", + "members": [ + { + "type": "SYMBOL", + "name": "identifier" + }, + { + "type": "SYMBOL", + "name": "constant" + }, + { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "(" + }, + { + "type": "FIELD", + "name": "expression", + "content": { + "type": "SYMBOL", + "name": "expression" + } + }, + { + "type": "STRING", + "value": ")" + } + ] + } + ] + }, + "postfix_expression": { + "type": "SEQ", + "members": [ + { + "type": "FIELD", + "name": "base", + "content": { + "type": "SYMBOL", + "name": "base_expression" + } + }, + { + "type": "REPEAT", + "content": { + "type": "CHOICE", + "members": [ + { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "[" + }, + { + "type": "FIELD", + "name": "index", + "content": { + "type": "SYMBOL", + "name": "expression" + } + }, + { + "type": "STRING", + "value": "]" + } + ] + }, + { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "(" + }, + { + "type": "CHOICE", + "members": [ + { + "type": "FIELD", + "name": "arguments", + "content": { + "type": "SYMBOL", + "name": "argument_expression_list" + } + }, + { + "type": "BLANK" + } + ] + }, + { + "type": "STRING", + "value": ")" + } + ] + }, + { + "type": "STRING", + "value": "++" + }, + { + "type": "STRING", + "value": "--" + } + ] + } + } + ] + }, + "argument_expression_list": { + "type": "SEQ", + "members": [ + { + "type": "SYMBOL", + "name": "assignment_expression" + }, + { + "type": "REPEAT", + "content": { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "," + }, + { + "type": "SYMBOL", + "name": "assignment_expression" + } + ] + } + } + ] + }, + "unary_expression": { + "type": "CHOICE", + "members": [ + { + "type": "SYMBOL", + "name": "postfix_expression" + }, + { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "++" + }, + { + "type": "FIELD", + "name": "operand", + "content": { + "type": "SYMBOL", + "name": "unary_expression" + } + } + ] + }, + { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "--" + }, + { + "type": "FIELD", + "name": "operand", + "content": { + "type": "SYMBOL", + "name": "unary_expression" + } + } + ] + }, + { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "+" + }, + { + "type": "FIELD", + "name": "operand", + "content": { + "type": "SYMBOL", + "name": "unary_expression" + } + } + ] + }, + { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "-" + }, + { + "type": "FIELD", + "name": "operand", + "content": { + "type": "SYMBOL", + "name": "unary_expression" + } + } + ] + }, + { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "!" + }, + { + "type": "FIELD", + "name": "operand", + "content": { + "type": "SYMBOL", + "name": "unary_expression" + } + } + ] + } + ] + }, + "cast_expression": { + "type": "CHOICE", + "members": [ + { + "type": "SYMBOL", + "name": "unary_expression" + }, + { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "(" + }, + { + "type": "FIELD", + "name": "type", + "content": { + "type": "SYMBOL", + "name": "type_specifier_qualifier" + } + }, + { + "type": "STRING", + "value": ")" + }, + { + "type": "FIELD", + "name": "value", + "content": { + "type": "SYMBOL", + "name": "cast_expression" + } + } + ] + } + ] + }, + "multiplicative_expression": { + "type": "SEQ", + "members": [ + { + "type": "FIELD", + "name": "left", + "content": { + "type": "SYMBOL", + "name": "cast_expression" + } + }, + { + "type": "REPEAT", + "content": { + "type": "SEQ", + "members": [ + { + "type": "CHOICE", + "members": [ + { + "type": "STRING", + "value": "*" + }, + { + "type": "STRING", + "value": "/" + } + ] + }, + { + "type": "FIELD", + "name": "right", + "content": { + "type": "SYMBOL", + "name": "cast_expression" + } + } + ] + } + } + ] + }, + "additive_expression": { + "type": "SEQ", + "members": [ + { + "type": "FIELD", + "name": "left", + "content": { + "type": "SYMBOL", + "name": "multiplicative_expression" + } + }, + { + "type": "REPEAT", + "content": { + "type": "SEQ", + "members": [ + { + "type": "CHOICE", + "members": [ + { + "type": "STRING", + "value": "+" + }, + { + "type": "STRING", + "value": "-" + } + ] + }, + { + "type": "FIELD", + "name": "right", + "content": { + "type": "SYMBOL", + "name": "multiplicative_expression" + } + } + ] + } + } + ] + }, + "relational_expression": { + "type": "SEQ", + "members": [ + { + "type": "FIELD", + "name": "left", + "content": { + "type": "SYMBOL", + "name": "additive_expression" + } + }, + { + "type": "REPEAT", + "content": { + "type": "SEQ", + "members": [ + { + "type": "CHOICE", + "members": [ + { + "type": "STRING", + "value": "<" + }, + { + "type": "STRING", + "value": ">" + }, + { + "type": "SYMBOL", + "name": "leq_operator" + }, + { + "type": "SYMBOL", + "name": "geq_operator" + } + ] + }, + { + "type": "FIELD", + "name": "right", + "content": { + "type": "SYMBOL", + "name": "additive_expression" + } + } + ] + } + } + ] + }, + "equality_expression": { + "type": "SEQ", + "members": [ + { + "type": "FIELD", + "name": "left", + "content": { + "type": "SYMBOL", + "name": "relational_expression" + } + }, + { + "type": "REPEAT", + "content": { + "type": "SEQ", + "members": [ + { + "type": "CHOICE", + "members": [ + { + "type": "STRING", + "value": "==" + }, + { + "type": "STRING", + "value": "!=" + } + ] + }, + { + "type": "FIELD", + "name": "right", + "content": { + "type": "SYMBOL", + "name": "relational_expression" + } + } + ] + } + } + ] + }, + "logical_expression": { + "type": "SEQ", + "members": [ + { + "type": "FIELD", + "name": "left", + "content": { + "type": "SYMBOL", + "name": "equality_expression" + } + }, + { + "type": "REPEAT", + "content": { + "type": "SEQ", + "members": [ + { + "type": "CHOICE", + "members": [ + { + "type": "STRING", + "value": "&&" + }, + { + "type": "STRING", + "value": "||" + } + ] + }, + { + "type": "FIELD", + "name": "right", + "content": { + "type": "SYMBOL", + "name": "equality_expression" + } + } + ] + } + } + ] + }, + "assignment_expression": { + "type": "CHOICE", + "members": [ + { + "type": "SYMBOL", + "name": "logical_expression" + }, + { + "type": "SEQ", + "members": [ + { + "type": "FIELD", + "name": "left", + "content": { + "type": "SYMBOL", + "name": "unary_expression" + } + }, + { + "type": "FIELD", + "name": "operator", + "content": { + "type": "CHOICE", + "members": [ + { + "type": "STRING", + "value": "=" + }, + { + "type": "STRING", + "value": "+=" + }, + { + "type": "STRING", + "value": "-=" + }, + { + "type": "STRING", + "value": "*=" + }, + { + "type": "STRING", + "value": "/=" + } + ] + } + }, + { + "type": "FIELD", + "name": "right", + "content": { + "type": "SYMBOL", + "name": "assignment_expression" + } + } + ] + } + ] + }, + "expression": { + "type": "SYMBOL", + "name": "assignment_expression" + }, + "constant_expression": { + "type": "SYMBOL", + "name": "logical_expression" + }, + "declaration": { + "type": "SEQ", + "members": [ + { + "type": "FIELD", + "name": "type", + "content": { + "type": "SYMBOL", + "name": "declaration_specifier" + } + }, + { + "type": "FIELD", + "name": "declarator", + "content": { + "type": "SYMBOL", + "name": "init_declarator" + } + }, + { + "type": "STRING", + "value": ";" + } + ] + }, + "declaration_specifier": { + "type": "SYMBOL", + "name": "type_specifier_qualifier" + }, + "type_specifier_qualifier": { + "type": "SEQ", + "members": [ + { + "type": "CHOICE", + "members": [ + { + "type": "SYMBOL", + "name": "type_qualifier_list" + }, + { + "type": "BLANK" + } + ] + }, + { + "type": "SYMBOL", + "name": "type_specifier" + } + ] + }, + "type_specifier": { + "type": "CHOICE", + "members": [ + { + "type": "STRING", + "value": "void" + }, + { + "type": "STRING", + "value": "bool" + }, + { + "type": "STRING", + "value": "char" + }, + { + "type": "STRING", + "value": "string" + }, + { + "type": "SYMBOL", + "name": "int_type" + }, + { + "type": "SYMBOL", + "name": "uint_type" + }, + { + "type": "SYMBOL", + "name": "array_specifier" + } + ] + }, + "int_type": { + "type": "CHOICE", + "members": [ + { + "type": "STRING", + "value": "int" + }, + { + "type": "STRING", + "value": "I8" + }, + { + "type": "STRING", + "value": "int8_t" + }, + { + "type": "STRING", + "value": "I16" + }, + { + "type": "STRING", + "value": "int16_t" + }, + { + "type": "STRING", + "value": "I32" + }, + { + "type": "STRING", + "value": "int32_t" + }, + { + "type": "STRING", + "value": "I64" + }, + { + "type": "STRING", + "value": "int64_t" + } + ] + }, + "uint_type": { + "type": "CHOICE", + "members": [ + { + "type": "STRING", + "value": "uint" + }, + { + "type": "STRING", + "value": "U8" + }, + { + "type": "STRING", + "value": "uint8_t" + }, + { + "type": "STRING", + "value": "U16" + }, + { + "type": "STRING", + "value": "uint16_t" + }, + { + "type": "STRING", + "value": "U32" + }, + { + "type": "STRING", + "value": "uint32_t" + }, + { + "type": "STRING", + "value": "U64" + }, + { + "type": "STRING", + "value": "uint64_t" + } + ] + }, + "array_specifier": { + "type": "SEQ", + "members": [ + { + "type": "FIELD", + "name": "element", + "content": { + "type": "SYMBOL", + "name": "type_specifier" + } + }, + { + "type": "STRING", + "value": "[" + }, + { + "type": "FIELD", + "name": "size", + "content": { + "type": "SYMBOL", + "name": "constant_expression" + } + }, + { + "type": "STRING", + "value": "]" + } + ] + }, + "type_qualifier_list": { + "type": "SEQ", + "members": [ + { + "type": "SYMBOL", + "name": "type_qualifier" + }, + { + "type": "REPEAT", + "content": { + "type": "SYMBOL", + "name": "type_qualifier" + } + } + ] + }, + "type_qualifier": { + "type": "CHOICE", + "members": [ + { + "type": "STRING", + "value": "const" + }, + { + "type": "STRING", + "value": "mut" + } + ] + }, + "init_declarator": { + "type": "SEQ", + "members": [ + { + "type": "FIELD", + "name": "name", + "content": { + "type": "SYMBOL", + "name": "identifier" + } + }, + { + "type": "CHOICE", + "members": [ + { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "=" + }, + { + "type": "FIELD", + "name": "value", + "content": { + "type": "SYMBOL", + "name": "initializer" + } + } + ] + }, + { + "type": "BLANK" + } + ] + } + ] + }, + "braced_initializer": { + "type": "CHOICE", + "members": [ + { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "{" + }, + { + "type": "STRING", + "value": "}" + } + ] + }, + { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "{" + }, + { + "type": "SYMBOL", + "name": "initializer_list" + }, + { + "type": "STRING", + "value": "}" + } + ] + } + ] + }, + "initializer": { + "type": "CHOICE", + "members": [ + { + "type": "SYMBOL", + "name": "assignment_expression" + }, + { + "type": "SYMBOL", + "name": "braced_initializer" + } + ] + }, + "initializer_list": { + "type": "SEQ", + "members": [ + { + "type": "SYMBOL", + "name": "initializer" + }, + { + "type": "REPEAT", + "content": { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "," + }, + { + "type": "SYMBOL", + "name": "initializer" + } + ] + } + } + ] + }, + "function_signature": { + "type": "CHOICE", + "members": [ + { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "(" + }, + { + "type": "FIELD", + "name": "parameters", + "content": { + "type": "SYMBOL", + "name": "parameter_list" + } + }, + { + "type": "STRING", + "value": ")" + }, + { + "type": "STRING", + "value": "->" + }, + { + "type": "FIELD", + "name": "return_type", + "content": { + "type": "SYMBOL", + "name": "return_list" + } + } + ] + }, + { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "(" + }, + { + "type": "STRING", + "value": ")" + }, + { + "type": "STRING", + "value": "->" + }, + { + "type": "FIELD", + "name": "return_type", + "content": { + "type": "SYMBOL", + "name": "return_list" + } + } + ] + }, + { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "(" + }, + { + "type": "FIELD", + "name": "parameters", + "content": { + "type": "SYMBOL", + "name": "parameter_list" + } + }, + { + "type": "STRING", + "value": ")" + } + ] + }, + { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "(" + }, + { + "type": "STRING", + "value": ")" + } + ] + } + ] + }, + "parameter_list": { + "type": "SEQ", + "members": [ + { + "type": "SYMBOL", + "name": "parameter_declaration" + }, + { + "type": "REPEAT", + "content": { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "," + }, + { + "type": "SYMBOL", + "name": "parameter_declaration" + } + ] + } + } + ] + }, + "parameter_declaration": { + "type": "SEQ", + "members": [ + { + "type": "FIELD", + "name": "type", + "content": { + "type": "SYMBOL", + "name": "declaration_specifier" + } + }, + { + "type": "FIELD", + "name": "name", + "content": { + "type": "SYMBOL", + "name": "identifier" + } + } + ] + }, + "return_list": { + "type": "SYMBOL", + "name": "declaration_specifier" + }, + "statement": { + "type": "CHOICE", + "members": [ + { + "type": "SYMBOL", + "name": "expression_statement" + }, + { + "type": "SYMBOL", + "name": "primary_block" + }, + { + "type": "SYMBOL", + "name": "jump_statement" + }, + { + "type": "SYMBOL", + "name": "print_statement" + } + ] + }, + "expression_statement": { + "type": "SEQ", + "members": [ + { + "type": "CHOICE", + "members": [ + { + "type": "FIELD", + "name": "expression", + "content": { + "type": "SYMBOL", + "name": "expression" + } + }, + { + "type": "BLANK" + } + ] + }, + { + "type": "STRING", + "value": ";" + } + ] + }, + "primary_block": { + "type": "CHOICE", + "members": [ + { + "type": "SYMBOL", + "name": "statement_block" + }, + { + "type": "SYMBOL", + "name": "selection_statement" + }, + { + "type": "SYMBOL", + "name": "iteration_statement" + } + ] + }, + "secondary_block": { + "type": "SYMBOL", + "name": "statement" + }, + "statement_block": { + "type": "CHOICE", + "members": [ + { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "{" + }, + { + "type": "SYMBOL", + "name": "block_item_list" + }, + { + "type": "STRING", + "value": "}" + } + ] + }, + { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "{" + }, + { + "type": "STRING", + "value": "}" + } + ] + } + ] + }, + "block_item_list": { + "type": "REPEAT1", + "content": { + "type": "SYMBOL", + "name": "block_item" + } + }, + "block_item": { + "type": "CHOICE", + "members": [ + { + "type": "SYMBOL", + "name": "declaration" + }, + { + "type": "SYMBOL", + "name": "statement" + } + ] + }, + "selection_statement": { + "type": "PREC_RIGHT", + "value": 0, + "content": { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "if" + }, + { + "type": "STRING", + "value": "(" + }, + { + "type": "FIELD", + "name": "condition", + "content": { + "type": "SYMBOL", + "name": "expression" + } + }, + { + "type": "STRING", + "value": ")" + }, + { + "type": "FIELD", + "name": "consequence", + "content": { + "type": "SYMBOL", + "name": "statement_block" + } + }, + { + "type": "CHOICE", + "members": [ + { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "else" + }, + { + "type": "FIELD", + "name": "alternative", + "content": { + "type": "CHOICE", + "members": [ + { + "type": "SYMBOL", + "name": "statement_block" + }, + { + "type": "SYMBOL", + "name": "selection_statement" + } + ] + } + } + ] + }, + { + "type": "BLANK" + } + ] + } + ] + } + }, + "iteration_statement": { + "type": "CHOICE", + "members": [ + { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "while" + }, + { + "type": "STRING", + "value": "(" + }, + { + "type": "FIELD", + "name": "condition", + "content": { + "type": "SYMBOL", + "name": "expression" + } + }, + { + "type": "STRING", + "value": ")" + }, + { + "type": "FIELD", + "name": "body", + "content": { + "type": "SYMBOL", + "name": "secondary_block" + } + } + ] + }, + { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "for" + }, + { + "type": "STRING", + "value": "(" + }, + { + "type": "CHOICE", + "members": [ + { + "type": "FIELD", + "name": "initializer", + "content": { + "type": "SYMBOL", + "name": "expression" + } + }, + { + "type": "BLANK" + } + ] + }, + { + "type": "STRING", + "value": ";" + }, + { + "type": "CHOICE", + "members": [ + { + "type": "FIELD", + "name": "condition", + "content": { + "type": "SYMBOL", + "name": "expression" + } + }, + { + "type": "BLANK" + } + ] + }, + { + "type": "STRING", + "value": ";" + }, + { + "type": "CHOICE", + "members": [ + { + "type": "FIELD", + "name": "update", + "content": { + "type": "SYMBOL", + "name": "expression" + } + }, + { + "type": "BLANK" + } + ] + }, + { + "type": "STRING", + "value": ")" + }, + { + "type": "FIELD", + "name": "body", + "content": { + "type": "SYMBOL", + "name": "secondary_block" + } + } + ] + }, + { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "for" + }, + { + "type": "STRING", + "value": "(" + }, + { + "type": "FIELD", + "name": "initializer", + "content": { + "type": "SYMBOL", + "name": "declaration" + } + }, + { + "type": "CHOICE", + "members": [ + { + "type": "FIELD", + "name": "condition", + "content": { + "type": "SYMBOL", + "name": "expression" + } + }, + { + "type": "BLANK" + } + ] + }, + { + "type": "STRING", + "value": ";" + }, + { + "type": "CHOICE", + "members": [ + { + "type": "FIELD", + "name": "update", + "content": { + "type": "SYMBOL", + "name": "expression" + } + }, + { + "type": "BLANK" + } + ] + }, + { + "type": "STRING", + "value": ")" + }, + { + "type": "FIELD", + "name": "body", + "content": { + "type": "SYMBOL", + "name": "secondary_block" + } + } + ] + } + ] + }, + "jump_statement": { + "type": "CHOICE", + "members": [ + { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "continue" + }, + { + "type": "STRING", + "value": ";" + } + ] + }, + { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "break" + }, + { + "type": "STRING", + "value": ";" + } + ] + }, + { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "return" + }, + { + "type": "STRING", + "value": ";" + } + ] + }, + { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "return" + }, + { + "type": "FIELD", + "name": "value", + "content": { + "type": "SYMBOL", + "name": "expression" + } + }, + { + "type": "STRING", + "value": ";" + } + ] + } + ] + }, + "print_statement": { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "print" + }, + { + "type": "STRING", + "value": "(" + }, + { + "type": "FIELD", + "name": "value", + "content": { + "type": "SYMBOL", + "name": "expression" + } + }, + { + "type": "STRING", + "value": ")" + }, + { + "type": "STRING", + "value": ";" + } + ] + } + }, + "extras": [ + { + "type": "PATTERN", + "value": "\\s" + }, + { + "type": "SYMBOL", + "name": "comment" + } + ], + "conflicts": [], + "precedences": [], + "externals": [], + "inline": [], + "supertypes": [], + "reserved": {} +} \ No newline at end of file diff --git a/src/node-types.json b/src/node-types.json new file mode 100644 index 0000000..90cf738 --- /dev/null +++ b/src/node-types.json @@ -0,0 +1,1329 @@ +[ + { + "type": "additive_expression", + "named": true, + "fields": { + "left": { + "multiple": false, + "required": true, + "types": [ + { + "type": "multiplicative_expression", + "named": true + } + ] + }, + "right": { + "multiple": true, + "required": false, + "types": [ + { + "type": "multiplicative_expression", + "named": true + } + ] + } + } + }, + { + "type": "argument_expression_list", + "named": true, + "fields": {}, + "children": { + "multiple": true, + "required": true, + "types": [ + { + "type": "assignment_expression", + "named": true + } + ] + } + }, + { + "type": "array_specifier", + "named": true, + "fields": { + "element": { + "multiple": false, + "required": true, + "types": [ + { + "type": "type_specifier", + "named": true + } + ] + }, + "size": { + "multiple": false, + "required": true, + "types": [ + { + "type": "constant_expression", + "named": true + } + ] + } + } + }, + { + "type": "assignment_expression", + "named": true, + "fields": { + "left": { + "multiple": false, + "required": false, + "types": [ + { + "type": "unary_expression", + "named": true + } + ] + }, + "operator": { + "multiple": false, + "required": false, + "types": [ + { + "type": "*=", + "named": false + }, + { + "type": "+=", + "named": false + }, + { + "type": "-=", + "named": false + }, + { + "type": "/=", + "named": false + }, + { + "type": "=", + "named": false + } + ] + }, + "right": { + "multiple": false, + "required": false, + "types": [ + { + "type": "assignment_expression", + "named": true + } + ] + } + }, + "children": { + "multiple": false, + "required": false, + "types": [ + { + "type": "logical_expression", + "named": true + } + ] + } + }, + { + "type": "base_expression", + "named": true, + "fields": { + "expression": { + "multiple": false, + "required": false, + "types": [ + { + "type": "expression", + "named": true + } + ] + } + }, + "children": { + "multiple": false, + "required": false, + "types": [ + { + "type": "constant", + "named": true + }, + { + "type": "identifier", + "named": true + } + ] + } + }, + { + "type": "block_item", + "named": true, + "fields": {}, + "children": { + "multiple": false, + "required": true, + "types": [ + { + "type": "declaration", + "named": true + }, + { + "type": "statement", + "named": true + } + ] + } + }, + { + "type": "block_item_list", + "named": true, + "fields": {}, + "children": { + "multiple": true, + "required": true, + "types": [ + { + "type": "block_item", + "named": true + } + ] + } + }, + { + "type": "braced_initializer", + "named": true, + "fields": {}, + "children": { + "multiple": false, + "required": false, + "types": [ + { + "type": "initializer_list", + "named": true + } + ] + } + }, + { + "type": "cast_expression", + "named": true, + "fields": { + "type": { + "multiple": false, + "required": false, + "types": [ + { + "type": "type_specifier_qualifier", + "named": true + } + ] + }, + "value": { + "multiple": false, + "required": false, + "types": [ + { + "type": "cast_expression", + "named": true + } + ] + } + }, + "children": { + "multiple": false, + "required": false, + "types": [ + { + "type": "unary_expression", + "named": true + } + ] + } + }, + { + "type": "constant", + "named": true, + "fields": {}, + "children": { + "multiple": false, + "required": true, + "types": [ + { + "type": "char_literal", + "named": true + }, + { + "type": "integer_literal", + "named": true + }, + { + "type": "predefined_constant", + "named": true + }, + { + "type": "signed_integer_literal", + "named": true + }, + { + "type": "string_literal", + "named": true + }, + { + "type": "unsigned_integer_literal", + "named": true + } + ] + } + }, + { + "type": "constant_expression", + "named": true, + "fields": {}, + "children": { + "multiple": false, + "required": true, + "types": [ + { + "type": "logical_expression", + "named": true + } + ] + } + }, + { + "type": "declaration", + "named": true, + "fields": { + "declarator": { + "multiple": false, + "required": true, + "types": [ + { + "type": "init_declarator", + "named": true + } + ] + }, + "type": { + "multiple": false, + "required": true, + "types": [ + { + "type": "declaration_specifier", + "named": true + } + ] + } + } + }, + { + "type": "declaration_specifier", + "named": true, + "fields": {}, + "children": { + "multiple": false, + "required": true, + "types": [ + { + "type": "type_specifier_qualifier", + "named": true + } + ] + } + }, + { + "type": "equality_expression", + "named": true, + "fields": { + "left": { + "multiple": false, + "required": true, + "types": [ + { + "type": "relational_expression", + "named": true + } + ] + }, + "right": { + "multiple": true, + "required": false, + "types": [ + { + "type": "relational_expression", + "named": true + } + ] + } + } + }, + { + "type": "expression", + "named": true, + "fields": {}, + "children": { + "multiple": false, + "required": true, + "types": [ + { + "type": "assignment_expression", + "named": true + } + ] + } + }, + { + "type": "expression_statement", + "named": true, + "fields": { + "expression": { + "multiple": false, + "required": false, + "types": [ + { + "type": "expression", + "named": true + } + ] + } + } + }, + { + "type": "function_definition", + "named": true, + "fields": { + "body": { + "multiple": false, + "required": true, + "types": [ + { + "type": "statement_block", + "named": true + } + ] + }, + "name": { + "multiple": false, + "required": true, + "types": [ + { + "type": "identifier", + "named": true + } + ] + }, + "signature": { + "multiple": false, + "required": true, + "types": [ + { + "type": "function_signature", + "named": true + } + ] + } + } + }, + { + "type": "function_signature", + "named": true, + "fields": { + "parameters": { + "multiple": false, + "required": false, + "types": [ + { + "type": "parameter_list", + "named": true + } + ] + }, + "return_type": { + "multiple": false, + "required": false, + "types": [ + { + "type": "return_list", + "named": true + } + ] + } + } + }, + { + "type": "init_declarator", + "named": true, + "fields": { + "name": { + "multiple": false, + "required": true, + "types": [ + { + "type": "identifier", + "named": true + } + ] + }, + "value": { + "multiple": false, + "required": false, + "types": [ + { + "type": "initializer", + "named": true + } + ] + } + } + }, + { + "type": "initializer", + "named": true, + "fields": {}, + "children": { + "multiple": false, + "required": true, + "types": [ + { + "type": "assignment_expression", + "named": true + }, + { + "type": "braced_initializer", + "named": true + } + ] + } + }, + { + "type": "initializer_list", + "named": true, + "fields": {}, + "children": { + "multiple": true, + "required": true, + "types": [ + { + "type": "initializer", + "named": true + } + ] + } + }, + { + "type": "int_type", + "named": true, + "fields": {} + }, + { + "type": "iteration_statement", + "named": true, + "fields": { + "body": { + "multiple": false, + "required": true, + "types": [ + { + "type": "secondary_block", + "named": true + } + ] + }, + "condition": { + "multiple": false, + "required": false, + "types": [ + { + "type": "expression", + "named": true + } + ] + }, + "initializer": { + "multiple": false, + "required": false, + "types": [ + { + "type": "declaration", + "named": true + }, + { + "type": "expression", + "named": true + } + ] + }, + "update": { + "multiple": false, + "required": false, + "types": [ + { + "type": "expression", + "named": true + } + ] + } + } + }, + { + "type": "jump_statement", + "named": true, + "fields": { + "value": { + "multiple": false, + "required": false, + "types": [ + { + "type": "expression", + "named": true + } + ] + } + } + }, + { + "type": "logical_expression", + "named": true, + "fields": { + "left": { + "multiple": false, + "required": true, + "types": [ + { + "type": "equality_expression", + "named": true + } + ] + }, + "right": { + "multiple": true, + "required": false, + "types": [ + { + "type": "equality_expression", + "named": true + } + ] + } + } + }, + { + "type": "multiplicative_expression", + "named": true, + "fields": { + "left": { + "multiple": false, + "required": true, + "types": [ + { + "type": "cast_expression", + "named": true + } + ] + }, + "right": { + "multiple": true, + "required": false, + "types": [ + { + "type": "cast_expression", + "named": true + } + ] + } + } + }, + { + "type": "parameter_declaration", + "named": true, + "fields": { + "name": { + "multiple": false, + "required": true, + "types": [ + { + "type": "identifier", + "named": true + } + ] + }, + "type": { + "multiple": false, + "required": true, + "types": [ + { + "type": "declaration_specifier", + "named": true + } + ] + } + } + }, + { + "type": "parameter_list", + "named": true, + "fields": {}, + "children": { + "multiple": true, + "required": true, + "types": [ + { + "type": "parameter_declaration", + "named": true + } + ] + } + }, + { + "type": "postfix_expression", + "named": true, + "fields": { + "arguments": { + "multiple": true, + "required": false, + "types": [ + { + "type": "argument_expression_list", + "named": true + } + ] + }, + "base": { + "multiple": false, + "required": true, + "types": [ + { + "type": "base_expression", + "named": true + } + ] + }, + "index": { + "multiple": true, + "required": false, + "types": [ + { + "type": "expression", + "named": true + } + ] + } + } + }, + { + "type": "predefined_constant", + "named": true, + "fields": {} + }, + { + "type": "primary_block", + "named": true, + "fields": {}, + "children": { + "multiple": false, + "required": true, + "types": [ + { + "type": "iteration_statement", + "named": true + }, + { + "type": "selection_statement", + "named": true + }, + { + "type": "statement_block", + "named": true + } + ] + } + }, + { + "type": "print_statement", + "named": true, + "fields": { + "value": { + "multiple": false, + "required": true, + "types": [ + { + "type": "expression", + "named": true + } + ] + } + } + }, + { + "type": "relational_expression", + "named": true, + "fields": { + "left": { + "multiple": false, + "required": true, + "types": [ + { + "type": "additive_expression", + "named": true + } + ] + }, + "right": { + "multiple": true, + "required": false, + "types": [ + { + "type": "additive_expression", + "named": true + } + ] + } + }, + "children": { + "multiple": true, + "required": false, + "types": [ + { + "type": "geq_operator", + "named": true + }, + { + "type": "leq_operator", + "named": true + } + ] + } + }, + { + "type": "return_list", + "named": true, + "fields": {}, + "children": { + "multiple": false, + "required": true, + "types": [ + { + "type": "declaration_specifier", + "named": true + } + ] + } + }, + { + "type": "secondary_block", + "named": true, + "fields": {}, + "children": { + "multiple": false, + "required": true, + "types": [ + { + "type": "statement", + "named": true + } + ] + } + }, + { + "type": "selection_statement", + "named": true, + "fields": { + "alternative": { + "multiple": false, + "required": false, + "types": [ + { + "type": "selection_statement", + "named": true + }, + { + "type": "statement_block", + "named": true + } + ] + }, + "condition": { + "multiple": false, + "required": true, + "types": [ + { + "type": "expression", + "named": true + } + ] + }, + "consequence": { + "multiple": false, + "required": true, + "types": [ + { + "type": "statement_block", + "named": true + } + ] + } + } + }, + { + "type": "source_file", + "named": true, + "root": true, + "fields": {}, + "children": { + "multiple": true, + "required": false, + "types": [ + { + "type": "translation_entity", + "named": true + } + ] + } + }, + { + "type": "statement", + "named": true, + "fields": {}, + "children": { + "multiple": false, + "required": true, + "types": [ + { + "type": "expression_statement", + "named": true + }, + { + "type": "jump_statement", + "named": true + }, + { + "type": "primary_block", + "named": true + }, + { + "type": "print_statement", + "named": true + } + ] + } + }, + { + "type": "statement_block", + "named": true, + "fields": {}, + "children": { + "multiple": false, + "required": false, + "types": [ + { + "type": "block_item_list", + "named": true + } + ] + } + }, + { + "type": "translation_entity", + "named": true, + "fields": {}, + "children": { + "multiple": false, + "required": true, + "types": [ + { + "type": "declaration", + "named": true + }, + { + "type": "function_definition", + "named": true + } + ] + } + }, + { + "type": "type_qualifier", + "named": true, + "fields": {} + }, + { + "type": "type_qualifier_list", + "named": true, + "fields": {}, + "children": { + "multiple": true, + "required": true, + "types": [ + { + "type": "type_qualifier", + "named": true + } + ] + } + }, + { + "type": "type_specifier", + "named": true, + "fields": {}, + "children": { + "multiple": false, + "required": false, + "types": [ + { + "type": "array_specifier", + "named": true + }, + { + "type": "int_type", + "named": true + }, + { + "type": "uint_type", + "named": true + } + ] + } + }, + { + "type": "type_specifier_qualifier", + "named": true, + "fields": {}, + "children": { + "multiple": true, + "required": true, + "types": [ + { + "type": "type_qualifier_list", + "named": true + }, + { + "type": "type_specifier", + "named": true + } + ] + } + }, + { + "type": "uint_type", + "named": true, + "fields": {} + }, + { + "type": "unary_expression", + "named": true, + "fields": { + "operand": { + "multiple": false, + "required": false, + "types": [ + { + "type": "unary_expression", + "named": true + } + ] + } + }, + "children": { + "multiple": false, + "required": false, + "types": [ + { + "type": "postfix_expression", + "named": true + } + ] + } + }, + { + "type": "!", + "named": false + }, + { + "type": "!=", + "named": false + }, + { + "type": "&&", + "named": false + }, + { + "type": "(", + "named": false + }, + { + "type": ")", + "named": false + }, + { + "type": "*", + "named": false + }, + { + "type": "*=", + "named": false + }, + { + "type": "+", + "named": false + }, + { + "type": "++", + "named": false + }, + { + "type": "+=", + "named": false + }, + { + "type": ",", + "named": false + }, + { + "type": "-", + "named": false + }, + { + "type": "--", + "named": false + }, + { + "type": "-=", + "named": false + }, + { + "type": "->", + "named": false + }, + { + "type": "/", + "named": false + }, + { + "type": "/=", + "named": false + }, + { + "type": ";", + "named": false + }, + { + "type": "<", + "named": false + }, + { + "type": "=", + "named": false + }, + { + "type": "==", + "named": false + }, + { + "type": ">", + "named": false + }, + { + "type": "I16", + "named": false + }, + { + "type": "I32", + "named": false + }, + { + "type": "I64", + "named": false + }, + { + "type": "I8", + "named": false + }, + { + "type": "NULL", + "named": false + }, + { + "type": "U16", + "named": false + }, + { + "type": "U32", + "named": false + }, + { + "type": "U64", + "named": false + }, + { + "type": "U8", + "named": false + }, + { + "type": "[", + "named": false + }, + { + "type": "]", + "named": false + }, + { + "type": "bool", + "named": false + }, + { + "type": "break", + "named": false + }, + { + "type": "char", + "named": false + }, + { + "type": "char_literal", + "named": true + }, + { + "type": "comment", + "named": true, + "extra": true + }, + { + "type": "const", + "named": false + }, + { + "type": "continue", + "named": false + }, + { + "type": "else", + "named": false + }, + { + "type": "false", + "named": false + }, + { + "type": "for", + "named": false + }, + { + "type": "function", + "named": false + }, + { + "type": "geq_operator", + "named": true + }, + { + "type": "identifier", + "named": true + }, + { + "type": "if", + "named": false + }, + { + "type": "int", + "named": false + }, + { + "type": "int16_t", + "named": false + }, + { + "type": "int32_t", + "named": false + }, + { + "type": "int64_t", + "named": false + }, + { + "type": "int8_t", + "named": false + }, + { + "type": "integer_literal", + "named": true + }, + { + "type": "leq_operator", + "named": true + }, + { + "type": "mut", + "named": false + }, + { + "type": "print", + "named": false + }, + { + "type": "return", + "named": false + }, + { + "type": "signed_integer_literal", + "named": true + }, + { + "type": "string", + "named": false + }, + { + "type": "string_literal", + "named": true + }, + { + "type": "true", + "named": false + }, + { + "type": "uint", + "named": false + }, + { + "type": "uint16_t", + "named": false + }, + { + "type": "uint32_t", + "named": false + }, + { + "type": "uint64_t", + "named": false + }, + { + "type": "uint8_t", + "named": false + }, + { + "type": "unsigned_integer_literal", + "named": true + }, + { + "type": "void", + "named": false + }, + { + "type": "while", + "named": false + }, + { + "type": "{", + "named": false + }, + { + "type": "||", + "named": false + }, + { + "type": "}", + "named": false + } +] \ No newline at end of file diff --git a/src/parser.c b/src/parser.c new file mode 100644 index 0000000..eb1d33a --- /dev/null +++ b/src/parser.c @@ -0,0 +1,10923 @@ +/* Automatically @generated by tree-sitter v0.25.10 */ + +#include "tree_sitter/parser.h" + +#if defined(__GNUC__) || defined(__clang__) +#pragma GCC diagnostic ignored "-Wmissing-field-initializers" +#endif + +#ifdef _MSC_VER +#pragma optimize("", off) +#elif defined(__clang__) +#pragma clang optimize off +#elif defined(__GNUC__) +#pragma GCC optimize ("O0") +#endif + +#define LANGUAGE_VERSION 15 +#define STATE_COUNT 210 +#define LARGE_STATE_COUNT 7 +#define SYMBOL_COUNT 131 +#define ALIAS_COUNT 0 +#define TOKEN_COUNT 73 +#define EXTERNAL_TOKEN_COUNT 0 +#define FIELD_COUNT 23 +#define MAX_ALIAS_SEQUENCE_LENGTH 9 +#define MAX_RESERVED_WORD_SET_SIZE 0 +#define PRODUCTION_ID_COUNT 41 +#define SUPERTYPE_COUNT 0 + +enum ts_symbol_identifiers { + anon_sym_function = 1, + sym_comment = 2, + sym_identifier = 3, + sym_signed_integer_literal = 4, + sym_unsigned_integer_literal = 5, + sym_integer_literal = 6, + sym_char_literal = 7, + sym_string_literal = 8, + anon_sym_NULL = 9, + anon_sym_true = 10, + anon_sym_false = 11, + sym_leq_operator = 12, + sym_geq_operator = 13, + anon_sym_LPAREN = 14, + anon_sym_RPAREN = 15, + anon_sym_LBRACK = 16, + anon_sym_RBRACK = 17, + anon_sym_PLUS_PLUS = 18, + anon_sym_DASH_DASH = 19, + anon_sym_COMMA = 20, + anon_sym_PLUS = 21, + anon_sym_DASH = 22, + anon_sym_BANG = 23, + anon_sym_STAR = 24, + anon_sym_SLASH = 25, + anon_sym_LT = 26, + anon_sym_GT = 27, + anon_sym_EQ_EQ = 28, + anon_sym_BANG_EQ = 29, + anon_sym_AMP_AMP = 30, + anon_sym_PIPE_PIPE = 31, + anon_sym_EQ = 32, + anon_sym_PLUS_EQ = 33, + anon_sym_DASH_EQ = 34, + anon_sym_STAR_EQ = 35, + anon_sym_SLASH_EQ = 36, + anon_sym_SEMI = 37, + anon_sym_void = 38, + anon_sym_bool = 39, + anon_sym_char = 40, + anon_sym_string = 41, + anon_sym_int = 42, + anon_sym_I8 = 43, + anon_sym_int8_t = 44, + anon_sym_I16 = 45, + anon_sym_int16_t = 46, + anon_sym_I32 = 47, + anon_sym_int32_t = 48, + anon_sym_I64 = 49, + anon_sym_int64_t = 50, + anon_sym_uint = 51, + anon_sym_U8 = 52, + anon_sym_uint8_t = 53, + anon_sym_U16 = 54, + anon_sym_uint16_t = 55, + anon_sym_U32 = 56, + anon_sym_uint32_t = 57, + anon_sym_U64 = 58, + anon_sym_uint64_t = 59, + anon_sym_const = 60, + anon_sym_mut = 61, + anon_sym_LBRACE = 62, + anon_sym_RBRACE = 63, + anon_sym_DASH_GT = 64, + anon_sym_if = 65, + anon_sym_else = 66, + anon_sym_while = 67, + anon_sym_for = 68, + anon_sym_continue = 69, + anon_sym_break = 70, + anon_sym_return = 71, + anon_sym_print = 72, + sym_source_file = 73, + sym_translation_entity = 74, + sym_function_definition = 75, + sym_constant = 76, + sym_predefined_constant = 77, + sym_base_expression = 78, + sym_postfix_expression = 79, + sym_argument_expression_list = 80, + sym_unary_expression = 81, + sym_cast_expression = 82, + sym_multiplicative_expression = 83, + sym_additive_expression = 84, + sym_relational_expression = 85, + sym_equality_expression = 86, + sym_logical_expression = 87, + sym_assignment_expression = 88, + sym_expression = 89, + sym_constant_expression = 90, + sym_declaration = 91, + sym_declaration_specifier = 92, + sym_type_specifier_qualifier = 93, + sym_type_specifier = 94, + sym_int_type = 95, + sym_uint_type = 96, + sym_array_specifier = 97, + sym_type_qualifier_list = 98, + sym_type_qualifier = 99, + sym_init_declarator = 100, + sym_braced_initializer = 101, + sym_initializer = 102, + sym_initializer_list = 103, + sym_function_signature = 104, + sym_parameter_list = 105, + sym_parameter_declaration = 106, + sym_return_list = 107, + sym_statement = 108, + sym_expression_statement = 109, + sym_primary_block = 110, + sym_secondary_block = 111, + sym_statement_block = 112, + sym_block_item_list = 113, + sym_block_item = 114, + sym_selection_statement = 115, + sym_iteration_statement = 116, + sym_jump_statement = 117, + sym_print_statement = 118, + aux_sym_source_file_repeat1 = 119, + aux_sym_postfix_expression_repeat1 = 120, + aux_sym_argument_expression_list_repeat1 = 121, + aux_sym_multiplicative_expression_repeat1 = 122, + aux_sym_additive_expression_repeat1 = 123, + aux_sym_relational_expression_repeat1 = 124, + aux_sym_equality_expression_repeat1 = 125, + aux_sym_logical_expression_repeat1 = 126, + aux_sym_type_qualifier_list_repeat1 = 127, + aux_sym_initializer_list_repeat1 = 128, + aux_sym_parameter_list_repeat1 = 129, + aux_sym_block_item_list_repeat1 = 130, +}; + +static const char * const ts_symbol_names[] = { + [ts_builtin_sym_end] = "end", + [anon_sym_function] = "function", + [sym_comment] = "comment", + [sym_identifier] = "identifier", + [sym_signed_integer_literal] = "signed_integer_literal", + [sym_unsigned_integer_literal] = "unsigned_integer_literal", + [sym_integer_literal] = "integer_literal", + [sym_char_literal] = "char_literal", + [sym_string_literal] = "string_literal", + [anon_sym_NULL] = "NULL", + [anon_sym_true] = "true", + [anon_sym_false] = "false", + [sym_leq_operator] = "leq_operator", + [sym_geq_operator] = "geq_operator", + [anon_sym_LPAREN] = "(", + [anon_sym_RPAREN] = ")", + [anon_sym_LBRACK] = "[", + [anon_sym_RBRACK] = "]", + [anon_sym_PLUS_PLUS] = "++", + [anon_sym_DASH_DASH] = "--", + [anon_sym_COMMA] = ",", + [anon_sym_PLUS] = "+", + [anon_sym_DASH] = "-", + [anon_sym_BANG] = "!", + [anon_sym_STAR] = "*", + [anon_sym_SLASH] = "/", + [anon_sym_LT] = "<", + [anon_sym_GT] = ">", + [anon_sym_EQ_EQ] = "==", + [anon_sym_BANG_EQ] = "!=", + [anon_sym_AMP_AMP] = "&&", + [anon_sym_PIPE_PIPE] = "||", + [anon_sym_EQ] = "=", + [anon_sym_PLUS_EQ] = "+=", + [anon_sym_DASH_EQ] = "-=", + [anon_sym_STAR_EQ] = "*=", + [anon_sym_SLASH_EQ] = "/=", + [anon_sym_SEMI] = ";", + [anon_sym_void] = "void", + [anon_sym_bool] = "bool", + [anon_sym_char] = "char", + [anon_sym_string] = "string", + [anon_sym_int] = "int", + [anon_sym_I8] = "I8", + [anon_sym_int8_t] = "int8_t", + [anon_sym_I16] = "I16", + [anon_sym_int16_t] = "int16_t", + [anon_sym_I32] = "I32", + [anon_sym_int32_t] = "int32_t", + [anon_sym_I64] = "I64", + [anon_sym_int64_t] = "int64_t", + [anon_sym_uint] = "uint", + [anon_sym_U8] = "U8", + [anon_sym_uint8_t] = "uint8_t", + [anon_sym_U16] = "U16", + [anon_sym_uint16_t] = "uint16_t", + [anon_sym_U32] = "U32", + [anon_sym_uint32_t] = "uint32_t", + [anon_sym_U64] = "U64", + [anon_sym_uint64_t] = "uint64_t", + [anon_sym_const] = "const", + [anon_sym_mut] = "mut", + [anon_sym_LBRACE] = "{", + [anon_sym_RBRACE] = "}", + [anon_sym_DASH_GT] = "->", + [anon_sym_if] = "if", + [anon_sym_else] = "else", + [anon_sym_while] = "while", + [anon_sym_for] = "for", + [anon_sym_continue] = "continue", + [anon_sym_break] = "break", + [anon_sym_return] = "return", + [anon_sym_print] = "print", + [sym_source_file] = "source_file", + [sym_translation_entity] = "translation_entity", + [sym_function_definition] = "function_definition", + [sym_constant] = "constant", + [sym_predefined_constant] = "predefined_constant", + [sym_base_expression] = "base_expression", + [sym_postfix_expression] = "postfix_expression", + [sym_argument_expression_list] = "argument_expression_list", + [sym_unary_expression] = "unary_expression", + [sym_cast_expression] = "cast_expression", + [sym_multiplicative_expression] = "multiplicative_expression", + [sym_additive_expression] = "additive_expression", + [sym_relational_expression] = "relational_expression", + [sym_equality_expression] = "equality_expression", + [sym_logical_expression] = "logical_expression", + [sym_assignment_expression] = "assignment_expression", + [sym_expression] = "expression", + [sym_constant_expression] = "constant_expression", + [sym_declaration] = "declaration", + [sym_declaration_specifier] = "declaration_specifier", + [sym_type_specifier_qualifier] = "type_specifier_qualifier", + [sym_type_specifier] = "type_specifier", + [sym_int_type] = "int_type", + [sym_uint_type] = "uint_type", + [sym_array_specifier] = "array_specifier", + [sym_type_qualifier_list] = "type_qualifier_list", + [sym_type_qualifier] = "type_qualifier", + [sym_init_declarator] = "init_declarator", + [sym_braced_initializer] = "braced_initializer", + [sym_initializer] = "initializer", + [sym_initializer_list] = "initializer_list", + [sym_function_signature] = "function_signature", + [sym_parameter_list] = "parameter_list", + [sym_parameter_declaration] = "parameter_declaration", + [sym_return_list] = "return_list", + [sym_statement] = "statement", + [sym_expression_statement] = "expression_statement", + [sym_primary_block] = "primary_block", + [sym_secondary_block] = "secondary_block", + [sym_statement_block] = "statement_block", + [sym_block_item_list] = "block_item_list", + [sym_block_item] = "block_item", + [sym_selection_statement] = "selection_statement", + [sym_iteration_statement] = "iteration_statement", + [sym_jump_statement] = "jump_statement", + [sym_print_statement] = "print_statement", + [aux_sym_source_file_repeat1] = "source_file_repeat1", + [aux_sym_postfix_expression_repeat1] = "postfix_expression_repeat1", + [aux_sym_argument_expression_list_repeat1] = "argument_expression_list_repeat1", + [aux_sym_multiplicative_expression_repeat1] = "multiplicative_expression_repeat1", + [aux_sym_additive_expression_repeat1] = "additive_expression_repeat1", + [aux_sym_relational_expression_repeat1] = "relational_expression_repeat1", + [aux_sym_equality_expression_repeat1] = "equality_expression_repeat1", + [aux_sym_logical_expression_repeat1] = "logical_expression_repeat1", + [aux_sym_type_qualifier_list_repeat1] = "type_qualifier_list_repeat1", + [aux_sym_initializer_list_repeat1] = "initializer_list_repeat1", + [aux_sym_parameter_list_repeat1] = "parameter_list_repeat1", + [aux_sym_block_item_list_repeat1] = "block_item_list_repeat1", +}; + +static const TSSymbol ts_symbol_map[] = { + [ts_builtin_sym_end] = ts_builtin_sym_end, + [anon_sym_function] = anon_sym_function, + [sym_comment] = sym_comment, + [sym_identifier] = sym_identifier, + [sym_signed_integer_literal] = sym_signed_integer_literal, + [sym_unsigned_integer_literal] = sym_unsigned_integer_literal, + [sym_integer_literal] = sym_integer_literal, + [sym_char_literal] = sym_char_literal, + [sym_string_literal] = sym_string_literal, + [anon_sym_NULL] = anon_sym_NULL, + [anon_sym_true] = anon_sym_true, + [anon_sym_false] = anon_sym_false, + [sym_leq_operator] = sym_leq_operator, + [sym_geq_operator] = sym_geq_operator, + [anon_sym_LPAREN] = anon_sym_LPAREN, + [anon_sym_RPAREN] = anon_sym_RPAREN, + [anon_sym_LBRACK] = anon_sym_LBRACK, + [anon_sym_RBRACK] = anon_sym_RBRACK, + [anon_sym_PLUS_PLUS] = anon_sym_PLUS_PLUS, + [anon_sym_DASH_DASH] = anon_sym_DASH_DASH, + [anon_sym_COMMA] = anon_sym_COMMA, + [anon_sym_PLUS] = anon_sym_PLUS, + [anon_sym_DASH] = anon_sym_DASH, + [anon_sym_BANG] = anon_sym_BANG, + [anon_sym_STAR] = anon_sym_STAR, + [anon_sym_SLASH] = anon_sym_SLASH, + [anon_sym_LT] = anon_sym_LT, + [anon_sym_GT] = anon_sym_GT, + [anon_sym_EQ_EQ] = anon_sym_EQ_EQ, + [anon_sym_BANG_EQ] = anon_sym_BANG_EQ, + [anon_sym_AMP_AMP] = anon_sym_AMP_AMP, + [anon_sym_PIPE_PIPE] = anon_sym_PIPE_PIPE, + [anon_sym_EQ] = anon_sym_EQ, + [anon_sym_PLUS_EQ] = anon_sym_PLUS_EQ, + [anon_sym_DASH_EQ] = anon_sym_DASH_EQ, + [anon_sym_STAR_EQ] = anon_sym_STAR_EQ, + [anon_sym_SLASH_EQ] = anon_sym_SLASH_EQ, + [anon_sym_SEMI] = anon_sym_SEMI, + [anon_sym_void] = anon_sym_void, + [anon_sym_bool] = anon_sym_bool, + [anon_sym_char] = anon_sym_char, + [anon_sym_string] = anon_sym_string, + [anon_sym_int] = anon_sym_int, + [anon_sym_I8] = anon_sym_I8, + [anon_sym_int8_t] = anon_sym_int8_t, + [anon_sym_I16] = anon_sym_I16, + [anon_sym_int16_t] = anon_sym_int16_t, + [anon_sym_I32] = anon_sym_I32, + [anon_sym_int32_t] = anon_sym_int32_t, + [anon_sym_I64] = anon_sym_I64, + [anon_sym_int64_t] = anon_sym_int64_t, + [anon_sym_uint] = anon_sym_uint, + [anon_sym_U8] = anon_sym_U8, + [anon_sym_uint8_t] = anon_sym_uint8_t, + [anon_sym_U16] = anon_sym_U16, + [anon_sym_uint16_t] = anon_sym_uint16_t, + [anon_sym_U32] = anon_sym_U32, + [anon_sym_uint32_t] = anon_sym_uint32_t, + [anon_sym_U64] = anon_sym_U64, + [anon_sym_uint64_t] = anon_sym_uint64_t, + [anon_sym_const] = anon_sym_const, + [anon_sym_mut] = anon_sym_mut, + [anon_sym_LBRACE] = anon_sym_LBRACE, + [anon_sym_RBRACE] = anon_sym_RBRACE, + [anon_sym_DASH_GT] = anon_sym_DASH_GT, + [anon_sym_if] = anon_sym_if, + [anon_sym_else] = anon_sym_else, + [anon_sym_while] = anon_sym_while, + [anon_sym_for] = anon_sym_for, + [anon_sym_continue] = anon_sym_continue, + [anon_sym_break] = anon_sym_break, + [anon_sym_return] = anon_sym_return, + [anon_sym_print] = anon_sym_print, + [sym_source_file] = sym_source_file, + [sym_translation_entity] = sym_translation_entity, + [sym_function_definition] = sym_function_definition, + [sym_constant] = sym_constant, + [sym_predefined_constant] = sym_predefined_constant, + [sym_base_expression] = sym_base_expression, + [sym_postfix_expression] = sym_postfix_expression, + [sym_argument_expression_list] = sym_argument_expression_list, + [sym_unary_expression] = sym_unary_expression, + [sym_cast_expression] = sym_cast_expression, + [sym_multiplicative_expression] = sym_multiplicative_expression, + [sym_additive_expression] = sym_additive_expression, + [sym_relational_expression] = sym_relational_expression, + [sym_equality_expression] = sym_equality_expression, + [sym_logical_expression] = sym_logical_expression, + [sym_assignment_expression] = sym_assignment_expression, + [sym_expression] = sym_expression, + [sym_constant_expression] = sym_constant_expression, + [sym_declaration] = sym_declaration, + [sym_declaration_specifier] = sym_declaration_specifier, + [sym_type_specifier_qualifier] = sym_type_specifier_qualifier, + [sym_type_specifier] = sym_type_specifier, + [sym_int_type] = sym_int_type, + [sym_uint_type] = sym_uint_type, + [sym_array_specifier] = sym_array_specifier, + [sym_type_qualifier_list] = sym_type_qualifier_list, + [sym_type_qualifier] = sym_type_qualifier, + [sym_init_declarator] = sym_init_declarator, + [sym_braced_initializer] = sym_braced_initializer, + [sym_initializer] = sym_initializer, + [sym_initializer_list] = sym_initializer_list, + [sym_function_signature] = sym_function_signature, + [sym_parameter_list] = sym_parameter_list, + [sym_parameter_declaration] = sym_parameter_declaration, + [sym_return_list] = sym_return_list, + [sym_statement] = sym_statement, + [sym_expression_statement] = sym_expression_statement, + [sym_primary_block] = sym_primary_block, + [sym_secondary_block] = sym_secondary_block, + [sym_statement_block] = sym_statement_block, + [sym_block_item_list] = sym_block_item_list, + [sym_block_item] = sym_block_item, + [sym_selection_statement] = sym_selection_statement, + [sym_iteration_statement] = sym_iteration_statement, + [sym_jump_statement] = sym_jump_statement, + [sym_print_statement] = sym_print_statement, + [aux_sym_source_file_repeat1] = aux_sym_source_file_repeat1, + [aux_sym_postfix_expression_repeat1] = aux_sym_postfix_expression_repeat1, + [aux_sym_argument_expression_list_repeat1] = aux_sym_argument_expression_list_repeat1, + [aux_sym_multiplicative_expression_repeat1] = aux_sym_multiplicative_expression_repeat1, + [aux_sym_additive_expression_repeat1] = aux_sym_additive_expression_repeat1, + [aux_sym_relational_expression_repeat1] = aux_sym_relational_expression_repeat1, + [aux_sym_equality_expression_repeat1] = aux_sym_equality_expression_repeat1, + [aux_sym_logical_expression_repeat1] = aux_sym_logical_expression_repeat1, + [aux_sym_type_qualifier_list_repeat1] = aux_sym_type_qualifier_list_repeat1, + [aux_sym_initializer_list_repeat1] = aux_sym_initializer_list_repeat1, + [aux_sym_parameter_list_repeat1] = aux_sym_parameter_list_repeat1, + [aux_sym_block_item_list_repeat1] = aux_sym_block_item_list_repeat1, +}; + +static const TSSymbolMetadata ts_symbol_metadata[] = { + [ts_builtin_sym_end] = { + .visible = false, + .named = true, + }, + [anon_sym_function] = { + .visible = true, + .named = false, + }, + [sym_comment] = { + .visible = true, + .named = true, + }, + [sym_identifier] = { + .visible = true, + .named = true, + }, + [sym_signed_integer_literal] = { + .visible = true, + .named = true, + }, + [sym_unsigned_integer_literal] = { + .visible = true, + .named = true, + }, + [sym_integer_literal] = { + .visible = true, + .named = true, + }, + [sym_char_literal] = { + .visible = true, + .named = true, + }, + [sym_string_literal] = { + .visible = true, + .named = true, + }, + [anon_sym_NULL] = { + .visible = true, + .named = false, + }, + [anon_sym_true] = { + .visible = true, + .named = false, + }, + [anon_sym_false] = { + .visible = true, + .named = false, + }, + [sym_leq_operator] = { + .visible = true, + .named = true, + }, + [sym_geq_operator] = { + .visible = true, + .named = true, + }, + [anon_sym_LPAREN] = { + .visible = true, + .named = false, + }, + [anon_sym_RPAREN] = { + .visible = true, + .named = false, + }, + [anon_sym_LBRACK] = { + .visible = true, + .named = false, + }, + [anon_sym_RBRACK] = { + .visible = true, + .named = false, + }, + [anon_sym_PLUS_PLUS] = { + .visible = true, + .named = false, + }, + [anon_sym_DASH_DASH] = { + .visible = true, + .named = false, + }, + [anon_sym_COMMA] = { + .visible = true, + .named = false, + }, + [anon_sym_PLUS] = { + .visible = true, + .named = false, + }, + [anon_sym_DASH] = { + .visible = true, + .named = false, + }, + [anon_sym_BANG] = { + .visible = true, + .named = false, + }, + [anon_sym_STAR] = { + .visible = true, + .named = false, + }, + [anon_sym_SLASH] = { + .visible = true, + .named = false, + }, + [anon_sym_LT] = { + .visible = true, + .named = false, + }, + [anon_sym_GT] = { + .visible = true, + .named = false, + }, + [anon_sym_EQ_EQ] = { + .visible = true, + .named = false, + }, + [anon_sym_BANG_EQ] = { + .visible = true, + .named = false, + }, + [anon_sym_AMP_AMP] = { + .visible = true, + .named = false, + }, + [anon_sym_PIPE_PIPE] = { + .visible = true, + .named = false, + }, + [anon_sym_EQ] = { + .visible = true, + .named = false, + }, + [anon_sym_PLUS_EQ] = { + .visible = true, + .named = false, + }, + [anon_sym_DASH_EQ] = { + .visible = true, + .named = false, + }, + [anon_sym_STAR_EQ] = { + .visible = true, + .named = false, + }, + [anon_sym_SLASH_EQ] = { + .visible = true, + .named = false, + }, + [anon_sym_SEMI] = { + .visible = true, + .named = false, + }, + [anon_sym_void] = { + .visible = true, + .named = false, + }, + [anon_sym_bool] = { + .visible = true, + .named = false, + }, + [anon_sym_char] = { + .visible = true, + .named = false, + }, + [anon_sym_string] = { + .visible = true, + .named = false, + }, + [anon_sym_int] = { + .visible = true, + .named = false, + }, + [anon_sym_I8] = { + .visible = true, + .named = false, + }, + [anon_sym_int8_t] = { + .visible = true, + .named = false, + }, + [anon_sym_I16] = { + .visible = true, + .named = false, + }, + [anon_sym_int16_t] = { + .visible = true, + .named = false, + }, + [anon_sym_I32] = { + .visible = true, + .named = false, + }, + [anon_sym_int32_t] = { + .visible = true, + .named = false, + }, + [anon_sym_I64] = { + .visible = true, + .named = false, + }, + [anon_sym_int64_t] = { + .visible = true, + .named = false, + }, + [anon_sym_uint] = { + .visible = true, + .named = false, + }, + [anon_sym_U8] = { + .visible = true, + .named = false, + }, + [anon_sym_uint8_t] = { + .visible = true, + .named = false, + }, + [anon_sym_U16] = { + .visible = true, + .named = false, + }, + [anon_sym_uint16_t] = { + .visible = true, + .named = false, + }, + [anon_sym_U32] = { + .visible = true, + .named = false, + }, + [anon_sym_uint32_t] = { + .visible = true, + .named = false, + }, + [anon_sym_U64] = { + .visible = true, + .named = false, + }, + [anon_sym_uint64_t] = { + .visible = true, + .named = false, + }, + [anon_sym_const] = { + .visible = true, + .named = false, + }, + [anon_sym_mut] = { + .visible = true, + .named = false, + }, + [anon_sym_LBRACE] = { + .visible = true, + .named = false, + }, + [anon_sym_RBRACE] = { + .visible = true, + .named = false, + }, + [anon_sym_DASH_GT] = { + .visible = true, + .named = false, + }, + [anon_sym_if] = { + .visible = true, + .named = false, + }, + [anon_sym_else] = { + .visible = true, + .named = false, + }, + [anon_sym_while] = { + .visible = true, + .named = false, + }, + [anon_sym_for] = { + .visible = true, + .named = false, + }, + [anon_sym_continue] = { + .visible = true, + .named = false, + }, + [anon_sym_break] = { + .visible = true, + .named = false, + }, + [anon_sym_return] = { + .visible = true, + .named = false, + }, + [anon_sym_print] = { + .visible = true, + .named = false, + }, + [sym_source_file] = { + .visible = true, + .named = true, + }, + [sym_translation_entity] = { + .visible = true, + .named = true, + }, + [sym_function_definition] = { + .visible = true, + .named = true, + }, + [sym_constant] = { + .visible = true, + .named = true, + }, + [sym_predefined_constant] = { + .visible = true, + .named = true, + }, + [sym_base_expression] = { + .visible = true, + .named = true, + }, + [sym_postfix_expression] = { + .visible = true, + .named = true, + }, + [sym_argument_expression_list] = { + .visible = true, + .named = true, + }, + [sym_unary_expression] = { + .visible = true, + .named = true, + }, + [sym_cast_expression] = { + .visible = true, + .named = true, + }, + [sym_multiplicative_expression] = { + .visible = true, + .named = true, + }, + [sym_additive_expression] = { + .visible = true, + .named = true, + }, + [sym_relational_expression] = { + .visible = true, + .named = true, + }, + [sym_equality_expression] = { + .visible = true, + .named = true, + }, + [sym_logical_expression] = { + .visible = true, + .named = true, + }, + [sym_assignment_expression] = { + .visible = true, + .named = true, + }, + [sym_expression] = { + .visible = true, + .named = true, + }, + [sym_constant_expression] = { + .visible = true, + .named = true, + }, + [sym_declaration] = { + .visible = true, + .named = true, + }, + [sym_declaration_specifier] = { + .visible = true, + .named = true, + }, + [sym_type_specifier_qualifier] = { + .visible = true, + .named = true, + }, + [sym_type_specifier] = { + .visible = true, + .named = true, + }, + [sym_int_type] = { + .visible = true, + .named = true, + }, + [sym_uint_type] = { + .visible = true, + .named = true, + }, + [sym_array_specifier] = { + .visible = true, + .named = true, + }, + [sym_type_qualifier_list] = { + .visible = true, + .named = true, + }, + [sym_type_qualifier] = { + .visible = true, + .named = true, + }, + [sym_init_declarator] = { + .visible = true, + .named = true, + }, + [sym_braced_initializer] = { + .visible = true, + .named = true, + }, + [sym_initializer] = { + .visible = true, + .named = true, + }, + [sym_initializer_list] = { + .visible = true, + .named = true, + }, + [sym_function_signature] = { + .visible = true, + .named = true, + }, + [sym_parameter_list] = { + .visible = true, + .named = true, + }, + [sym_parameter_declaration] = { + .visible = true, + .named = true, + }, + [sym_return_list] = { + .visible = true, + .named = true, + }, + [sym_statement] = { + .visible = true, + .named = true, + }, + [sym_expression_statement] = { + .visible = true, + .named = true, + }, + [sym_primary_block] = { + .visible = true, + .named = true, + }, + [sym_secondary_block] = { + .visible = true, + .named = true, + }, + [sym_statement_block] = { + .visible = true, + .named = true, + }, + [sym_block_item_list] = { + .visible = true, + .named = true, + }, + [sym_block_item] = { + .visible = true, + .named = true, + }, + [sym_selection_statement] = { + .visible = true, + .named = true, + }, + [sym_iteration_statement] = { + .visible = true, + .named = true, + }, + [sym_jump_statement] = { + .visible = true, + .named = true, + }, + [sym_print_statement] = { + .visible = true, + .named = true, + }, + [aux_sym_source_file_repeat1] = { + .visible = false, + .named = false, + }, + [aux_sym_postfix_expression_repeat1] = { + .visible = false, + .named = false, + }, + [aux_sym_argument_expression_list_repeat1] = { + .visible = false, + .named = false, + }, + [aux_sym_multiplicative_expression_repeat1] = { + .visible = false, + .named = false, + }, + [aux_sym_additive_expression_repeat1] = { + .visible = false, + .named = false, + }, + [aux_sym_relational_expression_repeat1] = { + .visible = false, + .named = false, + }, + [aux_sym_equality_expression_repeat1] = { + .visible = false, + .named = false, + }, + [aux_sym_logical_expression_repeat1] = { + .visible = false, + .named = false, + }, + [aux_sym_type_qualifier_list_repeat1] = { + .visible = false, + .named = false, + }, + [aux_sym_initializer_list_repeat1] = { + .visible = false, + .named = false, + }, + [aux_sym_parameter_list_repeat1] = { + .visible = false, + .named = false, + }, + [aux_sym_block_item_list_repeat1] = { + .visible = false, + .named = false, + }, +}; + +enum ts_field_identifiers { + field_alternative = 1, + field_arguments = 2, + field_base = 3, + field_body = 4, + field_condition = 5, + field_consequence = 6, + field_declarator = 7, + field_element = 8, + field_expression = 9, + field_index = 10, + field_initializer = 11, + field_left = 12, + field_name = 13, + field_operand = 14, + field_operator = 15, + field_parameters = 16, + field_return_type = 17, + field_right = 18, + field_signature = 19, + field_size = 20, + field_type = 21, + field_update = 22, + field_value = 23, +}; + +static const char * const ts_field_names[] = { + [0] = NULL, + [field_alternative] = "alternative", + [field_arguments] = "arguments", + [field_base] = "base", + [field_body] = "body", + [field_condition] = "condition", + [field_consequence] = "consequence", + [field_declarator] = "declarator", + [field_element] = "element", + [field_expression] = "expression", + [field_index] = "index", + [field_initializer] = "initializer", + [field_left] = "left", + [field_name] = "name", + [field_operand] = "operand", + [field_operator] = "operator", + [field_parameters] = "parameters", + [field_return_type] = "return_type", + [field_right] = "right", + [field_signature] = "signature", + [field_size] = "size", + [field_type] = "type", + [field_update] = "update", + [field_value] = "value", +}; + +static const TSMapSlice ts_field_map_slices[PRODUCTION_ID_COUNT] = { + [1] = {.index = 0, .length = 1}, + [2] = {.index = 1, .length = 2}, + [3] = {.index = 3, .length = 1}, + [4] = {.index = 4, .length = 1}, + [5] = {.index = 5, .length = 3}, + [6] = {.index = 8, .length = 2}, + [7] = {.index = 10, .length = 1}, + [8] = {.index = 11, .length = 3}, + [9] = {.index = 14, .length = 2}, + [10] = {.index = 16, .length = 2}, + [11] = {.index = 18, .length = 2}, + [12] = {.index = 20, .length = 1}, + [13] = {.index = 21, .length = 1}, + [14] = {.index = 22, .length = 4}, + [15] = {.index = 26, .length = 1}, + [16] = {.index = 27, .length = 2}, + [17] = {.index = 29, .length = 1}, + [18] = {.index = 30, .length = 1}, + [19] = {.index = 31, .length = 3}, + [20] = {.index = 34, .length = 2}, + [21] = {.index = 36, .length = 1}, + [22] = {.index = 37, .length = 1}, + [23] = {.index = 38, .length = 2}, + [24] = {.index = 40, .length = 1}, + [25] = {.index = 41, .length = 2}, + [26] = {.index = 43, .length = 2}, + [27] = {.index = 45, .length = 1}, + [28] = {.index = 46, .length = 1}, + [29] = {.index = 47, .length = 2}, + [30] = {.index = 49, .length = 3}, + [31] = {.index = 52, .length = 2}, + [32] = {.index = 54, .length = 2}, + [33] = {.index = 56, .length = 2}, + [34] = {.index = 58, .length = 3}, + [35] = {.index = 61, .length = 3}, + [36] = {.index = 64, .length = 3}, + [37] = {.index = 67, .length = 3}, + [38] = {.index = 70, .length = 3}, + [39] = {.index = 73, .length = 4}, + [40] = {.index = 77, .length = 4}, +}; + +static const TSFieldMapEntry ts_field_map_entries[] = { + [0] = + {field_name, 0}, + [1] = + {field_declarator, 1}, + {field_type, 0}, + [3] = + {field_base, 0}, + [4] = + {field_left, 0}, + [5] = + {field_body, 3}, + {field_name, 1}, + {field_signature, 2}, + [8] = + {field_name, 0}, + {field_value, 2}, + [10] = + {field_operand, 1}, + [11] = + {field_arguments, 1, .inherited = true}, + {field_base, 0}, + {field_index, 1, .inherited = true}, + [14] = + {field_left, 0}, + {field_right, 1, .inherited = true}, + [16] = + {field_element, 0}, + {field_size, 2}, + [18] = + {field_name, 1}, + {field_type, 0}, + [20] = + {field_parameters, 1}, + [21] = + {field_expression, 1}, + [22] = + {field_arguments, 0, .inherited = true}, + {field_arguments, 1, .inherited = true}, + {field_index, 0, .inherited = true}, + {field_index, 1, .inherited = true}, + [26] = + {field_right, 1}, + [27] = + {field_right, 0, .inherited = true}, + {field_right, 1, .inherited = true}, + [29] = + {field_return_type, 3}, + [30] = + {field_expression, 0}, + [31] = + {field_left, 0}, + {field_operator, 1}, + {field_right, 2}, + [34] = + {field_type, 1}, + {field_value, 3}, + [36] = + {field_arguments, 1}, + [37] = + {field_index, 1}, + [38] = + {field_parameters, 1}, + {field_return_type, 4}, + [40] = + {field_value, 1}, + [41] = + {field_condition, 2}, + {field_consequence, 4}, + [43] = + {field_body, 4}, + {field_condition, 2}, + [45] = + {field_value, 2}, + [46] = + {field_body, 5}, + [47] = + {field_body, 5}, + {field_initializer, 2}, + [49] = + {field_alternative, 6}, + {field_condition, 2}, + {field_consequence, 4}, + [52] = + {field_body, 6}, + {field_update, 4}, + [54] = + {field_body, 6}, + {field_condition, 3}, + [56] = + {field_body, 6}, + {field_initializer, 2}, + [58] = + {field_body, 6}, + {field_initializer, 2}, + {field_update, 4}, + [61] = + {field_body, 6}, + {field_condition, 3}, + {field_initializer, 2}, + [64] = + {field_body, 7}, + {field_condition, 3}, + {field_update, 5}, + [67] = + {field_body, 7}, + {field_initializer, 2}, + {field_update, 5}, + [70] = + {field_body, 7}, + {field_condition, 4}, + {field_initializer, 2}, + [73] = + {field_body, 7}, + {field_condition, 3}, + {field_initializer, 2}, + {field_update, 5}, + [77] = + {field_body, 8}, + {field_condition, 4}, + {field_initializer, 2}, + {field_update, 6}, +}; + +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] = 2, + [4] = 2, + [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, + [28] = 28, + [29] = 29, + [30] = 30, + [31] = 31, + [32] = 10, + [33] = 11, + [34] = 34, + [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] = 62, + [63] = 63, + [64] = 64, + [65] = 65, + [66] = 66, + [67] = 67, + [68] = 68, + [69] = 69, + [70] = 70, + [71] = 71, + [72] = 72, + [73] = 73, + [74] = 74, + [75] = 75, + [76] = 76, + [77] = 77, + [78] = 78, + [79] = 79, + [80] = 80, + [81] = 81, + [82] = 82, + [83] = 83, + [84] = 84, + [85] = 11, + [86] = 86, + [87] = 87, + [88] = 88, + [89] = 89, + [90] = 90, + [91] = 91, + [92] = 92, + [93] = 93, + [94] = 31, + [95] = 95, + [96] = 96, + [97] = 10, + [98] = 98, + [99] = 99, + [100] = 100, + [101] = 101, + [102] = 102, + [103] = 103, + [104] = 104, + [105] = 105, + [106] = 106, + [107] = 107, + [108] = 108, + [109] = 109, + [110] = 110, + [111] = 111, + [112] = 112, + [113] = 113, + [114] = 114, + [115] = 115, + [116] = 116, + [117] = 117, + [118] = 31, + [119] = 119, + [120] = 120, + [121] = 121, + [122] = 122, + [123] = 123, + [124] = 124, + [125] = 125, + [126] = 126, + [127] = 127, + [128] = 128, + [129] = 129, + [130] = 130, + [131] = 131, + [132] = 132, + [133] = 133, + [134] = 134, + [135] = 135, + [136] = 136, + [137] = 137, + [138] = 138, + [139] = 139, + [140] = 140, + [141] = 141, + [142] = 142, + [143] = 143, + [144] = 144, + [145] = 145, + [146] = 146, + [147] = 147, + [148] = 148, + [149] = 149, + [150] = 150, + [151] = 151, + [152] = 152, + [153] = 153, + [154] = 154, + [155] = 155, + [156] = 156, + [157] = 157, + [158] = 158, + [159] = 159, + [160] = 160, + [161] = 161, + [162] = 162, + [163] = 163, + [164] = 164, + [165] = 165, + [166] = 162, + [167] = 162, + [168] = 168, + [169] = 169, + [170] = 170, + [171] = 171, + [172] = 172, + [173] = 168, + [174] = 174, + [175] = 175, + [176] = 176, + [177] = 177, + [178] = 178, + [179] = 179, + [180] = 180, + [181] = 181, + [182] = 182, + [183] = 183, + [184] = 184, + [185] = 185, + [186] = 186, + [187] = 187, + [188] = 188, + [189] = 189, + [190] = 190, + [191] = 191, + [192] = 192, + [193] = 193, + [194] = 194, + [195] = 195, + [196] = 196, + [197] = 197, + [198] = 198, + [199] = 199, + [200] = 200, + [201] = 201, + [202] = 202, + [203] = 171, + [204] = 168, + [205] = 205, + [206] = 171, + [207] = 207, + [208] = 208, + [209] = 209, +}; + +static bool ts_lex(TSLexer *lexer, TSStateId state) { + START_LEXER(); + eof = lexer->eof(lexer); + switch (state) { + case 0: + if (eof) ADVANCE(121); + ADVANCE_MAP( + '!', 255, + '"', 8, + '&', 9, + '\'', 40, + '(', 240, + ')', 241, + '*', 256, + '+', 248, + ',', 246, + '-', 252, + '/', 257, + ';', 269, + '<', 258, + '=', 264, + '>', 259, + 'I', 15, + 'N', 39, + 'U', 16, + '[', 242, + ']', 243, + 'b', 87, + 'c', 63, + 'e', 73, + 'f', 51, + 'i', 61, + 'm', 114, + 'p', 94, + 'r', 60, + 's', 113, + 't', 91, + 'u', 68, + 'v', 86, + 'w', 64, + '{', 318, + '|', 118, + '}', 319, + ); + if (('\t' <= lookahead && lookahead <= '\r') || + lookahead == ' ') SKIP(0); + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(229); + END_STATE(); + case 1: + ADVANCE_MAP( + '!', 254, + '"', 8, + '\'', 40, + '(', 240, + ')', 241, + '+', 247, + '-', 250, + '/', 11, + ';', 269, + 'N', 141, + 'f', 151, + 't', 195, + '{', 318, + '}', 319, + ); + if (('\t' <= lookahead && lookahead <= '\r') || + lookahead == ' ') SKIP(1); + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(229); + if (('A' <= lookahead && lookahead <= 'Z') || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(224); + END_STATE(); + case 2: + ADVANCE_MAP( + '!', 254, + '"', 8, + '\'', 40, + '(', 240, + '+', 247, + '-', 250, + '/', 11, + ';', 269, + 'I', 125, + 'N', 141, + 'U', 126, + 'b', 189, + 'c', 165, + 'e', 178, + 'f', 150, + 'i', 162, + 'm', 221, + 'p', 199, + 'r', 161, + 's', 219, + 't', 195, + 'u', 169, + 'v', 188, + 'w', 167, + '{', 318, + '}', 319, + ); + if (('\t' <= lookahead && lookahead <= '\r') || + lookahead == ' ') SKIP(2); + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(229); + if (('A' <= lookahead && lookahead <= 'Z') || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(224); + END_STATE(); + case 3: + ADVANCE_MAP( + '!', 254, + '"', 8, + '\'', 40, + '(', 240, + '+', 247, + '-', 250, + '/', 11, + ';', 269, + 'I', 125, + 'N', 141, + 'U', 126, + 'b', 189, + 'c', 165, + 'f', 150, + 'i', 162, + 'm', 221, + 'p', 199, + 'r', 161, + 's', 219, + 't', 195, + 'u', 169, + 'v', 188, + 'w', 167, + '{', 318, + '}', 319, + ); + if (('\t' <= lookahead && lookahead <= '\r') || + lookahead == ' ') SKIP(3); + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(229); + if (('A' <= lookahead && lookahead <= 'Z') || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(224); + END_STATE(); + case 4: + ADVANCE_MAP( + '!', 254, + '"', 8, + '\'', 40, + '(', 240, + '+', 247, + '-', 250, + '/', 11, + ';', 269, + 'I', 125, + 'N', 141, + 'U', 126, + 'b', 190, + 'c', 166, + 'f', 151, + 'i', 182, + 'm', 221, + 's', 219, + 't', 195, + 'u', 169, + 'v', 188, + ); + if (('\t' <= lookahead && lookahead <= '\r') || + lookahead == ' ') SKIP(4); + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(229); + if (('A' <= lookahead && lookahead <= 'Z') || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(224); + END_STATE(); + case 5: + ADVANCE_MAP( + '!', 254, + '"', 8, + '\'', 40, + '(', 240, + '+', 247, + '-', 250, + '/', 11, + ';', 269, + 'N', 141, + 'b', 196, + 'c', 192, + 'f', 150, + 'i', 163, + 'p', 199, + 'r', 161, + 't', 195, + 'w', 167, + '{', 318, + ); + if (('\t' <= lookahead && lookahead <= '\r') || + lookahead == ' ') SKIP(5); + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(229); + if (('A' <= lookahead && lookahead <= 'Z') || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(224); + END_STATE(); + case 6: + ADVANCE_MAP( + '!', 35, + '&', 9, + '(', 240, + ')', 241, + '*', 256, + '+', 248, + ',', 246, + '-', 251, + '/', 257, + ';', 269, + '<', 258, + '=', 264, + '>', 259, + '[', 242, + ']', 243, + '{', 318, + '|', 118, + '}', 319, + ); + if (('\t' <= lookahead && lookahead <= '\r') || + lookahead == ' ') SKIP(6); + if (('A' <= lookahead && lookahead <= 'Z') || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(224); + END_STATE(); + case 7: + ADVANCE_MAP( + '!', 35, + '&', 9, + ')', 241, + '*', 256, + '+', 249, + ',', 246, + '-', 253, + '/', 257, + ';', 269, + '<', 258, + '=', 264, + '>', 259, + ']', 243, + '|', 118, + '}', 319, + ); + if (('\t' <= lookahead && lookahead <= '\r') || + lookahead == ' ') SKIP(7); + END_STATE(); + case 8: + if (lookahead == '"') ADVANCE(231); + if (lookahead == '\\') ADVANCE(119); + if (lookahead != 0 && + lookahead != '\n') ADVANCE(8); + END_STATE(); + case 9: + if (lookahead == '&') ADVANCE(262); + END_STATE(); + case 10: + if (lookahead == '\'') ADVANCE(230); + END_STATE(); + case 11: + if (lookahead == '*') ADVANCE(13); + if (lookahead == '/') ADVANCE(124); + END_STATE(); + case 12: + if (lookahead == '*') ADVANCE(12); + if (lookahead == '/') ADVANCE(123); + if (lookahead != 0) ADVANCE(13); + END_STATE(); + case 13: + if (lookahead == '*') ADVANCE(12); + if (lookahead != 0) ADVANCE(13); + END_STATE(); + case 14: + if (lookahead == '-') ADVANCE(36); + if (lookahead == '/') ADVANCE(11); + if (lookahead == '{') ADVANCE(318); + if (('\t' <= lookahead && lookahead <= '\r') || + lookahead == ' ') SKIP(14); + END_STATE(); + case 15: + if (lookahead == '1') ADVANCE(29); + if (lookahead == '3') ADVANCE(17); + if (lookahead == '6') ADVANCE(23); + if (lookahead == '8') ADVANCE(280); + END_STATE(); + case 16: + if (lookahead == '1') ADVANCE(30); + if (lookahead == '3') ADVANCE(18); + if (lookahead == '6') ADVANCE(24); + if (lookahead == '8') ADVANCE(298); + END_STATE(); + case 17: + if (lookahead == '2') ADVANCE(288); + END_STATE(); + case 18: + if (lookahead == '2') ADVANCE(306); + END_STATE(); + case 19: + if (lookahead == '2') ADVANCE(225); + END_STATE(); + case 20: + if (lookahead == '2') ADVANCE(227); + END_STATE(); + case 21: + if (lookahead == '2') ADVANCE(43); + END_STATE(); + case 22: + if (lookahead == '2') ADVANCE(47); + END_STATE(); + case 23: + if (lookahead == '4') ADVANCE(292); + END_STATE(); + case 24: + if (lookahead == '4') ADVANCE(310); + END_STATE(); + case 25: + if (lookahead == '4') ADVANCE(225); + END_STATE(); + case 26: + if (lookahead == '4') ADVANCE(227); + END_STATE(); + case 27: + if (lookahead == '4') ADVANCE(44); + END_STATE(); + case 28: + if (lookahead == '4') ADVANCE(48); + END_STATE(); + case 29: + if (lookahead == '6') ADVANCE(284); + END_STATE(); + case 30: + if (lookahead == '6') ADVANCE(302); + END_STATE(); + case 31: + if (lookahead == '6') ADVANCE(225); + END_STATE(); + case 32: + if (lookahead == '6') ADVANCE(227); + END_STATE(); + case 33: + if (lookahead == '6') ADVANCE(42); + END_STATE(); + case 34: + if (lookahead == '6') ADVANCE(46); + END_STATE(); + case 35: + if (lookahead == '=') ADVANCE(261); + END_STATE(); + case 36: + if (lookahead == '>') ADVANCE(320); + END_STATE(); + case 37: + if (lookahead == 'L') ADVANCE(232); + END_STATE(); + case 38: + if (lookahead == 'L') ADVANCE(37); + END_STATE(); + case 39: + if (lookahead == 'U') ADVANCE(38); + END_STATE(); + case 40: + if (lookahead == '\\') ADVANCE(120); + if (lookahead != 0 && + lookahead != '\n' && + lookahead != '\'') ADVANCE(10); + END_STATE(); + case 41: + if (lookahead == '_') ADVANCE(103); + END_STATE(); + case 42: + if (lookahead == '_') ADVANCE(104); + END_STATE(); + case 43: + if (lookahead == '_') ADVANCE(105); + END_STATE(); + case 44: + if (lookahead == '_') ADVANCE(106); + END_STATE(); + case 45: + if (lookahead == '_') ADVANCE(107); + END_STATE(); + case 46: + if (lookahead == '_') ADVANCE(108); + END_STATE(); + case 47: + if (lookahead == '_') ADVANCE(109); + END_STATE(); + case 48: + if (lookahead == '_') ADVANCE(110); + END_STATE(); + case 49: + if (lookahead == 'a') ADVANCE(72); + END_STATE(); + case 50: + if (lookahead == 'a') ADVANCE(90); + END_STATE(); + case 51: + if (lookahead == 'a') ADVANCE(76); + if (lookahead == 'o') ADVANCE(89); + if (lookahead == 'u') ADVANCE(78); + END_STATE(); + case 52: + if (lookahead == 'c') ADVANCE(112); + END_STATE(); + case 53: + if (lookahead == 'd') ADVANCE(270); + END_STATE(); + case 54: + if (lookahead == 'e') ADVANCE(323); + END_STATE(); + case 55: + if (lookahead == 'e') ADVANCE(234); + END_STATE(); + case 56: + if (lookahead == 'e') ADVANCE(236); + END_STATE(); + case 57: + if (lookahead == 'e') ADVANCE(325); + END_STATE(); + case 58: + if (lookahead == 'e') ADVANCE(329); + END_STATE(); + case 59: + if (lookahead == 'e') ADVANCE(49); + END_STATE(); + case 60: + if (lookahead == 'e') ADVANCE(111); + END_STATE(); + case 61: + if (lookahead == 'f') ADVANCE(321); + if (lookahead == 'n') ADVANCE(98); + END_STATE(); + case 62: + if (lookahead == 'g') ADVANCE(276); + END_STATE(); + case 63: + if (lookahead == 'h') ADVANCE(50); + if (lookahead == 'o') ADVANCE(77); + END_STATE(); + case 64: + if (lookahead == 'h') ADVANCE(66); + END_STATE(); + case 65: + if (lookahead == 'i') ADVANCE(53); + END_STATE(); + case 66: + if (lookahead == 'i') ADVANCE(75); + END_STATE(); + case 67: + if (lookahead == 'i') ADVANCE(88); + END_STATE(); + case 68: + if (lookahead == 'i') ADVANCE(82); + END_STATE(); + case 69: + if (lookahead == 'i') ADVANCE(79); + END_STATE(); + case 70: + if (lookahead == 'i') ADVANCE(84); + END_STATE(); + case 71: + if (lookahead == 'i') ADVANCE(83); + END_STATE(); + case 72: + if (lookahead == 'k') ADVANCE(331); + END_STATE(); + case 73: + if (lookahead == 'l') ADVANCE(95); + END_STATE(); + case 74: + if (lookahead == 'l') ADVANCE(272); + END_STATE(); + case 75: + if (lookahead == 'l') ADVANCE(57); + END_STATE(); + case 76: + if (lookahead == 'l') ADVANCE(96); + END_STATE(); + case 77: + if (lookahead == 'n') ADVANCE(97); + END_STATE(); + case 78: + if (lookahead == 'n') ADVANCE(52); + END_STATE(); + case 79: + if (lookahead == 'n') ADVANCE(62); + END_STATE(); + case 80: + if (lookahead == 'n') ADVANCE(333); + END_STATE(); + case 81: + if (lookahead == 'n') ADVANCE(122); + END_STATE(); + case 82: + if (lookahead == 'n') ADVANCE(100); + END_STATE(); + case 83: + if (lookahead == 'n') ADVANCE(102); + END_STATE(); + case 84: + if (lookahead == 'n') ADVANCE(117); + END_STATE(); + case 85: + if (lookahead == 'o') ADVANCE(74); + END_STATE(); + case 86: + if (lookahead == 'o') ADVANCE(65); + END_STATE(); + case 87: + if (lookahead == 'o') ADVANCE(85); + if (lookahead == 'r') ADVANCE(59); + END_STATE(); + case 88: + if (lookahead == 'o') ADVANCE(81); + END_STATE(); + case 89: + if (lookahead == 'r') ADVANCE(327); + END_STATE(); + case 90: + if (lookahead == 'r') ADVANCE(274); + END_STATE(); + case 91: + if (lookahead == 'r') ADVANCE(115); + END_STATE(); + case 92: + if (lookahead == 'r') ADVANCE(80); + END_STATE(); + case 93: + if (lookahead == 'r') ADVANCE(69); + END_STATE(); + case 94: + if (lookahead == 'r') ADVANCE(71); + END_STATE(); + case 95: + if (lookahead == 's') ADVANCE(54); + END_STATE(); + case 96: + if (lookahead == 's') ADVANCE(56); + END_STATE(); + case 97: + if (lookahead == 's') ADVANCE(101); + if (lookahead == 't') ADVANCE(70); + END_STATE(); + case 98: + if (lookahead == 't') ADVANCE(279); + END_STATE(); + case 99: + if (lookahead == 't') ADVANCE(316); + END_STATE(); + case 100: + if (lookahead == 't') ADVANCE(297); + END_STATE(); + case 101: + if (lookahead == 't') ADVANCE(314); + END_STATE(); + case 102: + if (lookahead == 't') ADVANCE(335); + END_STATE(); + case 103: + if (lookahead == 't') ADVANCE(282); + END_STATE(); + case 104: + if (lookahead == 't') ADVANCE(286); + END_STATE(); + case 105: + if (lookahead == 't') ADVANCE(290); + END_STATE(); + case 106: + if (lookahead == 't') ADVANCE(294); + END_STATE(); + case 107: + if (lookahead == 't') ADVANCE(300); + END_STATE(); + case 108: + if (lookahead == 't') ADVANCE(304); + END_STATE(); + case 109: + if (lookahead == 't') ADVANCE(308); + END_STATE(); + case 110: + if (lookahead == 't') ADVANCE(312); + END_STATE(); + case 111: + if (lookahead == 't') ADVANCE(116); + END_STATE(); + case 112: + if (lookahead == 't') ADVANCE(67); + END_STATE(); + case 113: + if (lookahead == 't') ADVANCE(93); + END_STATE(); + case 114: + if (lookahead == 'u') ADVANCE(99); + END_STATE(); + case 115: + if (lookahead == 'u') ADVANCE(55); + END_STATE(); + case 116: + if (lookahead == 'u') ADVANCE(92); + END_STATE(); + case 117: + if (lookahead == 'u') ADVANCE(58); + END_STATE(); + case 118: + if (lookahead == '|') ADVANCE(263); + END_STATE(); + case 119: + ADVANCE_MAP( + '"', 8, + '\'', 8, + '0', 8, + '\\', 8, + 'a', 8, + 'b', 8, + 'f', 8, + 'n', 8, + 'r', 8, + 't', 8, + 'v', 8, + ); + END_STATE(); + case 120: + ADVANCE_MAP( + '"', 10, + '\'', 10, + '0', 10, + '\\', 10, + 'a', 10, + 'b', 10, + 'f', 10, + 'n', 10, + 'r', 10, + 't', 10, + 'v', 10, + ); + END_STATE(); + case 121: + ACCEPT_TOKEN(ts_builtin_sym_end); + END_STATE(); + case 122: + ACCEPT_TOKEN(anon_sym_function); + END_STATE(); + case 123: + ACCEPT_TOKEN(sym_comment); + END_STATE(); + case 124: + ACCEPT_TOKEN(sym_comment); + if (lookahead != 0 && + lookahead != '\n') ADVANCE(124); + END_STATE(); + case 125: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '1') ADVANCE(135); + if (lookahead == '3') ADVANCE(127); + if (lookahead == '6') ADVANCE(131); + if (lookahead == '8') ADVANCE(281); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(224); + END_STATE(); + case 126: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '1') ADVANCE(136); + if (lookahead == '3') ADVANCE(128); + if (lookahead == '6') ADVANCE(132); + if (lookahead == '8') ADVANCE(299); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(224); + END_STATE(); + case 127: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '2') ADVANCE(289); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(224); + END_STATE(); + case 128: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '2') ADVANCE(307); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(224); + END_STATE(); + case 129: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '2') ADVANCE(144); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(224); + END_STATE(); + case 130: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '2') ADVANCE(148); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(224); + END_STATE(); + case 131: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '4') ADVANCE(293); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(224); + END_STATE(); + case 132: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '4') ADVANCE(311); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(224); + END_STATE(); + case 133: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '4') ADVANCE(145); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(224); + END_STATE(); + case 134: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '4') ADVANCE(149); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(224); + END_STATE(); + case 135: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '6') ADVANCE(285); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(224); + END_STATE(); + case 136: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '6') ADVANCE(303); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(224); + END_STATE(); + case 137: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '6') ADVANCE(143); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(224); + END_STATE(); + case 138: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '6') ADVANCE(147); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(224); + END_STATE(); + case 139: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 'L') ADVANCE(233); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(224); + END_STATE(); + case 140: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 'L') ADVANCE(139); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(224); + END_STATE(); + case 141: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 'U') ADVANCE(140); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(224); + END_STATE(); + case 142: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '_') ADVANCE(209); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(224); + END_STATE(); + case 143: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '_') ADVANCE(210); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(224); + END_STATE(); + case 144: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '_') ADVANCE(211); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(224); + END_STATE(); + case 145: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '_') ADVANCE(212); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(224); + END_STATE(); + case 146: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '_') ADVANCE(213); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(224); + END_STATE(); + case 147: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '_') ADVANCE(214); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(224); + END_STATE(); + case 148: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '_') ADVANCE(215); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(224); + END_STATE(); + case 149: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == '_') ADVANCE(216); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(224); + END_STATE(); + case 150: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 'a') ADVANCE(175); + if (lookahead == 'o') ADVANCE(193); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('b' <= lookahead && lookahead <= 'z')) ADVANCE(224); + END_STATE(); + case 151: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 'a') ADVANCE(175); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('b' <= lookahead && lookahead <= 'z')) ADVANCE(224); + END_STATE(); + case 152: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 'a') ADVANCE(174); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('b' <= lookahead && lookahead <= 'z')) ADVANCE(224); + END_STATE(); + case 153: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 'a') ADVANCE(194); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('b' <= lookahead && lookahead <= 'z')) ADVANCE(224); + END_STATE(); + case 154: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 'd') ADVANCE(271); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(224); + END_STATE(); + case 155: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 'e') ADVANCE(235); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(224); + END_STATE(); + case 156: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 'e') ADVANCE(237); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(224); + END_STATE(); + case 157: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 'e') ADVANCE(326); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(224); + END_STATE(); + case 158: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 'e') ADVANCE(330); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(224); + END_STATE(); + case 159: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 'e') ADVANCE(324); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(224); + END_STATE(); + case 160: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 'e') ADVANCE(152); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(224); + END_STATE(); + case 161: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 'e') ADVANCE(217); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(224); + END_STATE(); + case 162: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 'f') ADVANCE(322); + if (lookahead == 'n') ADVANCE(204); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(224); + END_STATE(); + case 163: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 'f') ADVANCE(322); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(224); + END_STATE(); + case 164: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 'g') ADVANCE(277); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(224); + END_STATE(); + case 165: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 'h') ADVANCE(153); + if (lookahead == 'o') ADVANCE(179); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(224); + END_STATE(); + case 166: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 'h') ADVANCE(153); + if (lookahead == 'o') ADVANCE(183); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(224); + END_STATE(); + case 167: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 'h') ADVANCE(171); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(224); + END_STATE(); + case 168: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 'i') ADVANCE(154); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(224); + END_STATE(); + case 169: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 'i') ADVANCE(184); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(224); + END_STATE(); + case 170: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 'i') ADVANCE(180); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(224); + END_STATE(); + case 171: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 'i') ADVANCE(177); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(224); + END_STATE(); + case 172: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 'i') ADVANCE(187); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(224); + END_STATE(); + case 173: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 'i') ADVANCE(185); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(224); + END_STATE(); + case 174: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 'k') ADVANCE(332); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(224); + END_STATE(); + case 175: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 'l') ADVANCE(200); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(224); + END_STATE(); + case 176: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 'l') ADVANCE(273); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(224); + END_STATE(); + case 177: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 'l') ADVANCE(157); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(224); + END_STATE(); + case 178: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 'l') ADVANCE(203); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(224); + END_STATE(); + case 179: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 'n') ADVANCE(201); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(224); + END_STATE(); + case 180: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 'n') ADVANCE(164); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(224); + END_STATE(); + case 181: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 'n') ADVANCE(334); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(224); + END_STATE(); + case 182: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 'n') ADVANCE(204); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(224); + END_STATE(); + case 183: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 'n') ADVANCE(202); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(224); + END_STATE(); + case 184: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 'n') ADVANCE(206); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(224); + END_STATE(); + case 185: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 'n') ADVANCE(208); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(224); + END_STATE(); + case 186: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 'n') ADVANCE(218); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(224); + END_STATE(); + case 187: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 'n') ADVANCE(223); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(224); + END_STATE(); + case 188: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 'o') ADVANCE(168); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(224); + END_STATE(); + case 189: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 'o') ADVANCE(191); + if (lookahead == 'r') ADVANCE(160); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(224); + END_STATE(); + case 190: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 'o') ADVANCE(191); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(224); + END_STATE(); + case 191: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 'o') ADVANCE(176); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(224); + END_STATE(); + case 192: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 'o') ADVANCE(186); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(224); + END_STATE(); + case 193: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 'r') ADVANCE(328); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(224); + END_STATE(); + case 194: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 'r') ADVANCE(275); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(224); + END_STATE(); + case 195: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 'r') ADVANCE(220); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(224); + END_STATE(); + case 196: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 'r') ADVANCE(160); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(224); + END_STATE(); + case 197: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 'r') ADVANCE(181); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(224); + END_STATE(); + case 198: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 'r') ADVANCE(170); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(224); + END_STATE(); + case 199: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 'r') ADVANCE(173); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(224); + END_STATE(); + case 200: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 's') ADVANCE(156); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(224); + END_STATE(); + case 201: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 's') ADVANCE(207); + if (lookahead == 't') ADVANCE(172); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(224); + END_STATE(); + case 202: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 's') ADVANCE(207); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(224); + END_STATE(); + case 203: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 's') ADVANCE(159); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(224); + END_STATE(); + case 204: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 't') ADVANCE(278); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(224); + END_STATE(); + case 205: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 't') ADVANCE(317); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(224); + END_STATE(); + case 206: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 't') ADVANCE(296); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(224); + END_STATE(); + case 207: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 't') ADVANCE(315); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(224); + END_STATE(); + case 208: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 't') ADVANCE(336); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(224); + END_STATE(); + case 209: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 't') ADVANCE(283); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(224); + END_STATE(); + case 210: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 't') ADVANCE(287); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(224); + END_STATE(); + case 211: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 't') ADVANCE(291); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(224); + END_STATE(); + case 212: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 't') ADVANCE(295); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(224); + END_STATE(); + case 213: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 't') ADVANCE(301); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(224); + END_STATE(); + case 214: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 't') ADVANCE(305); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(224); + END_STATE(); + case 215: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 't') ADVANCE(309); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(224); + END_STATE(); + case 216: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 't') ADVANCE(313); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(224); + END_STATE(); + case 217: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 't') ADVANCE(222); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(224); + END_STATE(); + case 218: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 't') ADVANCE(172); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(224); + END_STATE(); + case 219: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 't') ADVANCE(198); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(224); + END_STATE(); + case 220: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 'u') ADVANCE(155); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(224); + END_STATE(); + case 221: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 'u') ADVANCE(205); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(224); + END_STATE(); + case 222: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 'u') ADVANCE(197); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(224); + END_STATE(); + case 223: + ACCEPT_TOKEN(sym_identifier); + if (lookahead == 'u') ADVANCE(158); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(224); + END_STATE(); + case 224: + ACCEPT_TOKEN(sym_identifier); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(224); + END_STATE(); + case 225: + ACCEPT_TOKEN(sym_signed_integer_literal); + END_STATE(); + case 226: + ACCEPT_TOKEN(sym_signed_integer_literal); + if (lookahead == '1') ADVANCE(31); + if (lookahead == '3') ADVANCE(19); + if (lookahead == '6') ADVANCE(25); + if (lookahead == '8') ADVANCE(225); + END_STATE(); + case 227: + ACCEPT_TOKEN(sym_unsigned_integer_literal); + END_STATE(); + case 228: + ACCEPT_TOKEN(sym_unsigned_integer_literal); + if (lookahead == '1') ADVANCE(32); + if (lookahead == '3') ADVANCE(20); + if (lookahead == '6') ADVANCE(26); + if (lookahead == '8') ADVANCE(227); + END_STATE(); + case 229: + ACCEPT_TOKEN(sym_integer_literal); + if (lookahead == 'I' || + lookahead == 'i') ADVANCE(226); + if (lookahead == 'U' || + lookahead == 'u') ADVANCE(228); + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(229); + END_STATE(); + case 230: + ACCEPT_TOKEN(sym_char_literal); + END_STATE(); + case 231: + ACCEPT_TOKEN(sym_string_literal); + END_STATE(); + case 232: + ACCEPT_TOKEN(anon_sym_NULL); + END_STATE(); + case 233: + ACCEPT_TOKEN(anon_sym_NULL); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(224); + END_STATE(); + case 234: + ACCEPT_TOKEN(anon_sym_true); + END_STATE(); + case 235: + ACCEPT_TOKEN(anon_sym_true); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(224); + END_STATE(); + case 236: + ACCEPT_TOKEN(anon_sym_false); + END_STATE(); + case 237: + ACCEPT_TOKEN(anon_sym_false); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(224); + END_STATE(); + case 238: + ACCEPT_TOKEN(sym_leq_operator); + END_STATE(); + case 239: + ACCEPT_TOKEN(sym_geq_operator); + END_STATE(); + case 240: + ACCEPT_TOKEN(anon_sym_LPAREN); + END_STATE(); + case 241: + ACCEPT_TOKEN(anon_sym_RPAREN); + END_STATE(); + case 242: + ACCEPT_TOKEN(anon_sym_LBRACK); + END_STATE(); + case 243: + ACCEPT_TOKEN(anon_sym_RBRACK); + END_STATE(); + case 244: + ACCEPT_TOKEN(anon_sym_PLUS_PLUS); + END_STATE(); + case 245: + ACCEPT_TOKEN(anon_sym_DASH_DASH); + END_STATE(); + case 246: + ACCEPT_TOKEN(anon_sym_COMMA); + END_STATE(); + case 247: + ACCEPT_TOKEN(anon_sym_PLUS); + if (lookahead == '+') ADVANCE(244); + END_STATE(); + case 248: + ACCEPT_TOKEN(anon_sym_PLUS); + if (lookahead == '+') ADVANCE(244); + if (lookahead == '=') ADVANCE(265); + END_STATE(); + case 249: + ACCEPT_TOKEN(anon_sym_PLUS); + if (lookahead == '=') ADVANCE(265); + END_STATE(); + case 250: + ACCEPT_TOKEN(anon_sym_DASH); + if (lookahead == '-') ADVANCE(245); + END_STATE(); + case 251: + ACCEPT_TOKEN(anon_sym_DASH); + if (lookahead == '-') ADVANCE(245); + if (lookahead == '=') ADVANCE(266); + END_STATE(); + case 252: + ACCEPT_TOKEN(anon_sym_DASH); + if (lookahead == '-') ADVANCE(245); + if (lookahead == '=') ADVANCE(266); + if (lookahead == '>') ADVANCE(320); + END_STATE(); + case 253: + ACCEPT_TOKEN(anon_sym_DASH); + if (lookahead == '=') ADVANCE(266); + END_STATE(); + case 254: + ACCEPT_TOKEN(anon_sym_BANG); + END_STATE(); + case 255: + ACCEPT_TOKEN(anon_sym_BANG); + if (lookahead == '=') ADVANCE(261); + END_STATE(); + case 256: + ACCEPT_TOKEN(anon_sym_STAR); + if (lookahead == '=') ADVANCE(267); + END_STATE(); + case 257: + ACCEPT_TOKEN(anon_sym_SLASH); + if (lookahead == '*') ADVANCE(13); + if (lookahead == '/') ADVANCE(124); + if (lookahead == '=') ADVANCE(268); + END_STATE(); + case 258: + ACCEPT_TOKEN(anon_sym_LT); + if (lookahead == '=') ADVANCE(238); + END_STATE(); + case 259: + ACCEPT_TOKEN(anon_sym_GT); + if (lookahead == '=') ADVANCE(239); + END_STATE(); + case 260: + ACCEPT_TOKEN(anon_sym_EQ_EQ); + END_STATE(); + case 261: + ACCEPT_TOKEN(anon_sym_BANG_EQ); + END_STATE(); + case 262: + ACCEPT_TOKEN(anon_sym_AMP_AMP); + END_STATE(); + case 263: + ACCEPT_TOKEN(anon_sym_PIPE_PIPE); + END_STATE(); + case 264: + ACCEPT_TOKEN(anon_sym_EQ); + if (lookahead == '<') ADVANCE(238); + if (lookahead == '=') ADVANCE(260); + if (lookahead == '>') ADVANCE(239); + END_STATE(); + case 265: + ACCEPT_TOKEN(anon_sym_PLUS_EQ); + END_STATE(); + case 266: + ACCEPT_TOKEN(anon_sym_DASH_EQ); + END_STATE(); + case 267: + ACCEPT_TOKEN(anon_sym_STAR_EQ); + END_STATE(); + case 268: + ACCEPT_TOKEN(anon_sym_SLASH_EQ); + END_STATE(); + case 269: + ACCEPT_TOKEN(anon_sym_SEMI); + END_STATE(); + case 270: + ACCEPT_TOKEN(anon_sym_void); + END_STATE(); + case 271: + ACCEPT_TOKEN(anon_sym_void); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(224); + END_STATE(); + case 272: + ACCEPT_TOKEN(anon_sym_bool); + END_STATE(); + case 273: + ACCEPT_TOKEN(anon_sym_bool); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(224); + END_STATE(); + case 274: + ACCEPT_TOKEN(anon_sym_char); + END_STATE(); + case 275: + ACCEPT_TOKEN(anon_sym_char); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(224); + END_STATE(); + case 276: + ACCEPT_TOKEN(anon_sym_string); + END_STATE(); + case 277: + ACCEPT_TOKEN(anon_sym_string); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(224); + END_STATE(); + case 278: + ACCEPT_TOKEN(anon_sym_int); + if (lookahead == '1') ADVANCE(137); + if (lookahead == '3') ADVANCE(129); + if (lookahead == '6') ADVANCE(133); + if (lookahead == '8') ADVANCE(142); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(224); + END_STATE(); + case 279: + ACCEPT_TOKEN(anon_sym_int); + if (lookahead == '1') ADVANCE(33); + if (lookahead == '3') ADVANCE(21); + if (lookahead == '6') ADVANCE(27); + if (lookahead == '8') ADVANCE(41); + END_STATE(); + case 280: + ACCEPT_TOKEN(anon_sym_I8); + END_STATE(); + case 281: + ACCEPT_TOKEN(anon_sym_I8); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(224); + END_STATE(); + case 282: + ACCEPT_TOKEN(anon_sym_int8_t); + END_STATE(); + case 283: + ACCEPT_TOKEN(anon_sym_int8_t); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(224); + END_STATE(); + case 284: + ACCEPT_TOKEN(anon_sym_I16); + END_STATE(); + case 285: + ACCEPT_TOKEN(anon_sym_I16); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(224); + END_STATE(); + case 286: + ACCEPT_TOKEN(anon_sym_int16_t); + END_STATE(); + case 287: + ACCEPT_TOKEN(anon_sym_int16_t); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(224); + END_STATE(); + case 288: + ACCEPT_TOKEN(anon_sym_I32); + END_STATE(); + case 289: + ACCEPT_TOKEN(anon_sym_I32); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(224); + END_STATE(); + case 290: + ACCEPT_TOKEN(anon_sym_int32_t); + END_STATE(); + case 291: + ACCEPT_TOKEN(anon_sym_int32_t); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(224); + END_STATE(); + case 292: + ACCEPT_TOKEN(anon_sym_I64); + END_STATE(); + case 293: + ACCEPT_TOKEN(anon_sym_I64); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(224); + END_STATE(); + case 294: + ACCEPT_TOKEN(anon_sym_int64_t); + END_STATE(); + case 295: + ACCEPT_TOKEN(anon_sym_int64_t); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(224); + END_STATE(); + case 296: + ACCEPT_TOKEN(anon_sym_uint); + if (lookahead == '1') ADVANCE(138); + if (lookahead == '3') ADVANCE(130); + if (lookahead == '6') ADVANCE(134); + if (lookahead == '8') ADVANCE(146); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(224); + END_STATE(); + case 297: + ACCEPT_TOKEN(anon_sym_uint); + if (lookahead == '1') ADVANCE(34); + if (lookahead == '3') ADVANCE(22); + if (lookahead == '6') ADVANCE(28); + if (lookahead == '8') ADVANCE(45); + END_STATE(); + case 298: + ACCEPT_TOKEN(anon_sym_U8); + END_STATE(); + case 299: + ACCEPT_TOKEN(anon_sym_U8); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(224); + END_STATE(); + case 300: + ACCEPT_TOKEN(anon_sym_uint8_t); + END_STATE(); + case 301: + ACCEPT_TOKEN(anon_sym_uint8_t); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(224); + END_STATE(); + case 302: + ACCEPT_TOKEN(anon_sym_U16); + END_STATE(); + case 303: + ACCEPT_TOKEN(anon_sym_U16); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(224); + END_STATE(); + case 304: + ACCEPT_TOKEN(anon_sym_uint16_t); + END_STATE(); + case 305: + ACCEPT_TOKEN(anon_sym_uint16_t); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(224); + END_STATE(); + case 306: + ACCEPT_TOKEN(anon_sym_U32); + END_STATE(); + case 307: + ACCEPT_TOKEN(anon_sym_U32); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(224); + END_STATE(); + case 308: + ACCEPT_TOKEN(anon_sym_uint32_t); + END_STATE(); + case 309: + ACCEPT_TOKEN(anon_sym_uint32_t); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(224); + END_STATE(); + case 310: + ACCEPT_TOKEN(anon_sym_U64); + END_STATE(); + case 311: + ACCEPT_TOKEN(anon_sym_U64); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(224); + END_STATE(); + case 312: + ACCEPT_TOKEN(anon_sym_uint64_t); + END_STATE(); + case 313: + ACCEPT_TOKEN(anon_sym_uint64_t); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(224); + END_STATE(); + case 314: + ACCEPT_TOKEN(anon_sym_const); + END_STATE(); + case 315: + ACCEPT_TOKEN(anon_sym_const); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(224); + END_STATE(); + case 316: + ACCEPT_TOKEN(anon_sym_mut); + END_STATE(); + case 317: + ACCEPT_TOKEN(anon_sym_mut); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(224); + END_STATE(); + case 318: + ACCEPT_TOKEN(anon_sym_LBRACE); + END_STATE(); + case 319: + ACCEPT_TOKEN(anon_sym_RBRACE); + END_STATE(); + case 320: + ACCEPT_TOKEN(anon_sym_DASH_GT); + END_STATE(); + case 321: + ACCEPT_TOKEN(anon_sym_if); + END_STATE(); + case 322: + ACCEPT_TOKEN(anon_sym_if); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(224); + END_STATE(); + case 323: + ACCEPT_TOKEN(anon_sym_else); + END_STATE(); + case 324: + ACCEPT_TOKEN(anon_sym_else); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(224); + END_STATE(); + case 325: + ACCEPT_TOKEN(anon_sym_while); + END_STATE(); + case 326: + ACCEPT_TOKEN(anon_sym_while); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(224); + END_STATE(); + case 327: + ACCEPT_TOKEN(anon_sym_for); + END_STATE(); + case 328: + ACCEPT_TOKEN(anon_sym_for); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(224); + END_STATE(); + case 329: + ACCEPT_TOKEN(anon_sym_continue); + END_STATE(); + case 330: + ACCEPT_TOKEN(anon_sym_continue); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(224); + END_STATE(); + case 331: + ACCEPT_TOKEN(anon_sym_break); + END_STATE(); + case 332: + ACCEPT_TOKEN(anon_sym_break); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(224); + END_STATE(); + case 333: + ACCEPT_TOKEN(anon_sym_return); + END_STATE(); + case 334: + ACCEPT_TOKEN(anon_sym_return); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(224); + END_STATE(); + case 335: + ACCEPT_TOKEN(anon_sym_print); + END_STATE(); + case 336: + ACCEPT_TOKEN(anon_sym_print); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(224); + END_STATE(); + default: + return false; + } +} + +static const TSLexerMode ts_lex_modes[STATE_COUNT] = { + [0] = {.lex_state = 0}, + [1] = {.lex_state = 0}, + [2] = {.lex_state = 3}, + [3] = {.lex_state = 3}, + [4] = {.lex_state = 3}, + [5] = {.lex_state = 3}, + [6] = {.lex_state = 3}, + [7] = {.lex_state = 4}, + [8] = {.lex_state = 4}, + [9] = {.lex_state = 2}, + [10] = {.lex_state = 2}, + [11] = {.lex_state = 2}, + [12] = {.lex_state = 3}, + [13] = {.lex_state = 3}, + [14] = {.lex_state = 3}, + [15] = {.lex_state = 3}, + [16] = {.lex_state = 3}, + [17] = {.lex_state = 3}, + [18] = {.lex_state = 3}, + [19] = {.lex_state = 3}, + [20] = {.lex_state = 3}, + [21] = {.lex_state = 3}, + [22] = {.lex_state = 3}, + [23] = {.lex_state = 3}, + [24] = {.lex_state = 3}, + [25] = {.lex_state = 3}, + [26] = {.lex_state = 3}, + [27] = {.lex_state = 3}, + [28] = {.lex_state = 3}, + [29] = {.lex_state = 3}, + [30] = {.lex_state = 3}, + [31] = {.lex_state = 3}, + [32] = {.lex_state = 3}, + [33] = {.lex_state = 3}, + [34] = {.lex_state = 3}, + [35] = {.lex_state = 3}, + [36] = {.lex_state = 3}, + [37] = {.lex_state = 3}, + [38] = {.lex_state = 5}, + [39] = {.lex_state = 5}, + [40] = {.lex_state = 5}, + [41] = {.lex_state = 5}, + [42] = {.lex_state = 5}, + [43] = {.lex_state = 5}, + [44] = {.lex_state = 5}, + [45] = {.lex_state = 5}, + [46] = {.lex_state = 5}, + [47] = {.lex_state = 5}, + [48] = {.lex_state = 5}, + [49] = {.lex_state = 5}, + [50] = {.lex_state = 5}, + [51] = {.lex_state = 0}, + [52] = {.lex_state = 0}, + [53] = {.lex_state = 0}, + [54] = {.lex_state = 0}, + [55] = {.lex_state = 0}, + [56] = {.lex_state = 0}, + [57] = {.lex_state = 1}, + [58] = {.lex_state = 1}, + [59] = {.lex_state = 1}, + [60] = {.lex_state = 1}, + [61] = {.lex_state = 1}, + [62] = {.lex_state = 1}, + [63] = {.lex_state = 1}, + [64] = {.lex_state = 1}, + [65] = {.lex_state = 1}, + [66] = {.lex_state = 1}, + [67] = {.lex_state = 1}, + [68] = {.lex_state = 1}, + [69] = {.lex_state = 1}, + [70] = {.lex_state = 1}, + [71] = {.lex_state = 1}, + [72] = {.lex_state = 1}, + [73] = {.lex_state = 1}, + [74] = {.lex_state = 1}, + [75] = {.lex_state = 1}, + [76] = {.lex_state = 1}, + [77] = {.lex_state = 1}, + [78] = {.lex_state = 6}, + [79] = {.lex_state = 1}, + [80] = {.lex_state = 6}, + [81] = {.lex_state = 6}, + [82] = {.lex_state = 0}, + [83] = {.lex_state = 0}, + [84] = {.lex_state = 6}, + [85] = {.lex_state = 0}, + [86] = {.lex_state = 0}, + [87] = {.lex_state = 6}, + [88] = {.lex_state = 6}, + [89] = {.lex_state = 6}, + [90] = {.lex_state = 6}, + [91] = {.lex_state = 0}, + [92] = {.lex_state = 6}, + [93] = {.lex_state = 6}, + [94] = {.lex_state = 0}, + [95] = {.lex_state = 0}, + [96] = {.lex_state = 0}, + [97] = {.lex_state = 0}, + [98] = {.lex_state = 1}, + [99] = {.lex_state = 0}, + [100] = {.lex_state = 1}, + [101] = {.lex_state = 1}, + [102] = {.lex_state = 7}, + [103] = {.lex_state = 7}, + [104] = {.lex_state = 7}, + [105] = {.lex_state = 1}, + [106] = {.lex_state = 1}, + [107] = {.lex_state = 1}, + [108] = {.lex_state = 1}, + [109] = {.lex_state = 7}, + [110] = {.lex_state = 7}, + [111] = {.lex_state = 7}, + [112] = {.lex_state = 7}, + [113] = {.lex_state = 7}, + [114] = {.lex_state = 7}, + [115] = {.lex_state = 7}, + [116] = {.lex_state = 7}, + [117] = {.lex_state = 7}, + [118] = {.lex_state = 1}, + [119] = {.lex_state = 7}, + [120] = {.lex_state = 6}, + [121] = {.lex_state = 6}, + [122] = {.lex_state = 6}, + [123] = {.lex_state = 6}, + [124] = {.lex_state = 6}, + [125] = {.lex_state = 6}, + [126] = {.lex_state = 6}, + [127] = {.lex_state = 6}, + [128] = {.lex_state = 0}, + [129] = {.lex_state = 0}, + [130] = {.lex_state = 0}, + [131] = {.lex_state = 0}, + [132] = {.lex_state = 0}, + [133] = {.lex_state = 0}, + [134] = {.lex_state = 6}, + [135] = {.lex_state = 6}, + [136] = {.lex_state = 0}, + [137] = {.lex_state = 6}, + [138] = {.lex_state = 6}, + [139] = {.lex_state = 6}, + [140] = {.lex_state = 6}, + [141] = {.lex_state = 0}, + [142] = {.lex_state = 0}, + [143] = {.lex_state = 0}, + [144] = {.lex_state = 0}, + [145] = {.lex_state = 0}, + [146] = {.lex_state = 0}, + [147] = {.lex_state = 0}, + [148] = {.lex_state = 0}, + [149] = {.lex_state = 0}, + [150] = {.lex_state = 0}, + [151] = {.lex_state = 0}, + [152] = {.lex_state = 0}, + [153] = {.lex_state = 0}, + [154] = {.lex_state = 0}, + [155] = {.lex_state = 0}, + [156] = {.lex_state = 0}, + [157] = {.lex_state = 0}, + [158] = {.lex_state = 14}, + [159] = {.lex_state = 0}, + [160] = {.lex_state = 0}, + [161] = {.lex_state = 14}, + [162] = {.lex_state = 6}, + [163] = {.lex_state = 0}, + [164] = {.lex_state = 0}, + [165] = {.lex_state = 6}, + [166] = {.lex_state = 6}, + [167] = {.lex_state = 6}, + [168] = {.lex_state = 0}, + [169] = {.lex_state = 0}, + [170] = {.lex_state = 0}, + [171] = {.lex_state = 0}, + [172] = {.lex_state = 0}, + [173] = {.lex_state = 0}, + [174] = {.lex_state = 0}, + [175] = {.lex_state = 0}, + [176] = {.lex_state = 0}, + [177] = {.lex_state = 0}, + [178] = {.lex_state = 0}, + [179] = {.lex_state = 0}, + [180] = {.lex_state = 0}, + [181] = {.lex_state = 0}, + [182] = {.lex_state = 0}, + [183] = {.lex_state = 0}, + [184] = {.lex_state = 0}, + [185] = {.lex_state = 0}, + [186] = {.lex_state = 0}, + [187] = {.lex_state = 0}, + [188] = {.lex_state = 0}, + [189] = {.lex_state = 0}, + [190] = {.lex_state = 0}, + [191] = {.lex_state = 0}, + [192] = {.lex_state = 0}, + [193] = {.lex_state = 6}, + [194] = {.lex_state = 0}, + [195] = {.lex_state = 0}, + [196] = {.lex_state = 0}, + [197] = {.lex_state = 0}, + [198] = {.lex_state = 0}, + [199] = {.lex_state = 0}, + [200] = {.lex_state = 0}, + [201] = {.lex_state = 0}, + [202] = {.lex_state = 0}, + [203] = {.lex_state = 0}, + [204] = {.lex_state = 0}, + [205] = {.lex_state = 6}, + [206] = {.lex_state = 0}, + [207] = {.lex_state = 0}, + [208] = {.lex_state = 0}, + [209] = {.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_function] = ACTIONS(1), + [sym_comment] = ACTIONS(3), + [sym_signed_integer_literal] = ACTIONS(1), + [sym_unsigned_integer_literal] = ACTIONS(1), + [sym_integer_literal] = ACTIONS(1), + [sym_char_literal] = ACTIONS(1), + [sym_string_literal] = ACTIONS(1), + [anon_sym_NULL] = ACTIONS(1), + [anon_sym_true] = ACTIONS(1), + [anon_sym_false] = ACTIONS(1), + [sym_leq_operator] = ACTIONS(1), + [sym_geq_operator] = ACTIONS(1), + [anon_sym_LPAREN] = ACTIONS(1), + [anon_sym_RPAREN] = ACTIONS(1), + [anon_sym_LBRACK] = ACTIONS(1), + [anon_sym_RBRACK] = ACTIONS(1), + [anon_sym_PLUS_PLUS] = ACTIONS(1), + [anon_sym_DASH_DASH] = ACTIONS(1), + [anon_sym_COMMA] = ACTIONS(1), + [anon_sym_PLUS] = ACTIONS(1), + [anon_sym_DASH] = ACTIONS(1), + [anon_sym_BANG] = ACTIONS(1), + [anon_sym_STAR] = ACTIONS(1), + [anon_sym_SLASH] = ACTIONS(1), + [anon_sym_LT] = ACTIONS(1), + [anon_sym_GT] = ACTIONS(1), + [anon_sym_EQ_EQ] = ACTIONS(1), + [anon_sym_BANG_EQ] = ACTIONS(1), + [anon_sym_AMP_AMP] = ACTIONS(1), + [anon_sym_PIPE_PIPE] = ACTIONS(1), + [anon_sym_EQ] = ACTIONS(1), + [anon_sym_PLUS_EQ] = ACTIONS(1), + [anon_sym_DASH_EQ] = ACTIONS(1), + [anon_sym_STAR_EQ] = ACTIONS(1), + [anon_sym_SLASH_EQ] = ACTIONS(1), + [anon_sym_SEMI] = ACTIONS(1), + [anon_sym_void] = ACTIONS(1), + [anon_sym_bool] = ACTIONS(1), + [anon_sym_char] = ACTIONS(1), + [anon_sym_string] = ACTIONS(1), + [anon_sym_int] = ACTIONS(1), + [anon_sym_I8] = ACTIONS(1), + [anon_sym_int8_t] = ACTIONS(1), + [anon_sym_I16] = ACTIONS(1), + [anon_sym_int16_t] = ACTIONS(1), + [anon_sym_I32] = ACTIONS(1), + [anon_sym_int32_t] = ACTIONS(1), + [anon_sym_I64] = ACTIONS(1), + [anon_sym_int64_t] = ACTIONS(1), + [anon_sym_uint] = ACTIONS(1), + [anon_sym_U8] = ACTIONS(1), + [anon_sym_uint8_t] = ACTIONS(1), + [anon_sym_U16] = ACTIONS(1), + [anon_sym_uint16_t] = ACTIONS(1), + [anon_sym_U32] = ACTIONS(1), + [anon_sym_uint32_t] = ACTIONS(1), + [anon_sym_U64] = ACTIONS(1), + [anon_sym_uint64_t] = ACTIONS(1), + [anon_sym_const] = ACTIONS(1), + [anon_sym_mut] = ACTIONS(1), + [anon_sym_LBRACE] = ACTIONS(1), + [anon_sym_RBRACE] = ACTIONS(1), + [anon_sym_DASH_GT] = ACTIONS(1), + [anon_sym_if] = ACTIONS(1), + [anon_sym_else] = ACTIONS(1), + [anon_sym_while] = ACTIONS(1), + [anon_sym_for] = ACTIONS(1), + [anon_sym_continue] = ACTIONS(1), + [anon_sym_break] = ACTIONS(1), + [anon_sym_return] = ACTIONS(1), + [anon_sym_print] = ACTIONS(1), + }, + [STATE(1)] = { + [sym_source_file] = STATE(207), + [sym_translation_entity] = STATE(52), + [sym_function_definition] = STATE(83), + [sym_declaration] = STATE(83), + [sym_declaration_specifier] = STATE(162), + [sym_type_specifier_qualifier] = STATE(165), + [sym_type_specifier] = STATE(140), + [sym_int_type] = STATE(138), + [sym_uint_type] = STATE(138), + [sym_array_specifier] = STATE(138), + [sym_type_qualifier_list] = STATE(86), + [sym_type_qualifier] = STATE(82), + [aux_sym_source_file_repeat1] = STATE(52), + [ts_builtin_sym_end] = ACTIONS(5), + [anon_sym_function] = ACTIONS(7), + [sym_comment] = ACTIONS(3), + [anon_sym_void] = ACTIONS(9), + [anon_sym_bool] = ACTIONS(9), + [anon_sym_char] = ACTIONS(9), + [anon_sym_string] = ACTIONS(9), + [anon_sym_int] = ACTIONS(11), + [anon_sym_I8] = ACTIONS(13), + [anon_sym_int8_t] = ACTIONS(13), + [anon_sym_I16] = ACTIONS(13), + [anon_sym_int16_t] = ACTIONS(13), + [anon_sym_I32] = ACTIONS(13), + [anon_sym_int32_t] = ACTIONS(13), + [anon_sym_I64] = ACTIONS(13), + [anon_sym_int64_t] = ACTIONS(13), + [anon_sym_uint] = ACTIONS(15), + [anon_sym_U8] = ACTIONS(17), + [anon_sym_uint8_t] = ACTIONS(17), + [anon_sym_U16] = ACTIONS(17), + [anon_sym_uint16_t] = ACTIONS(17), + [anon_sym_U32] = ACTIONS(17), + [anon_sym_uint32_t] = ACTIONS(17), + [anon_sym_U64] = ACTIONS(17), + [anon_sym_uint64_t] = ACTIONS(17), + [anon_sym_const] = ACTIONS(19), + [anon_sym_mut] = ACTIONS(19), + }, + [STATE(2)] = { + [sym_constant] = STATE(90), + [sym_predefined_constant] = STATE(92), + [sym_base_expression] = STATE(81), + [sym_postfix_expression] = STATE(102), + [sym_unary_expression] = STATE(104), + [sym_cast_expression] = STATE(110), + [sym_multiplicative_expression] = STATE(116), + [sym_additive_expression] = STATE(122), + [sym_relational_expression] = STATE(126), + [sym_equality_expression] = STATE(130), + [sym_logical_expression] = STATE(133), + [sym_assignment_expression] = STATE(141), + [sym_expression] = STATE(175), + [sym_declaration] = STATE(34), + [sym_declaration_specifier] = STATE(166), + [sym_type_specifier_qualifier] = STATE(165), + [sym_type_specifier] = STATE(140), + [sym_int_type] = STATE(138), + [sym_uint_type] = STATE(138), + [sym_array_specifier] = STATE(138), + [sym_type_qualifier_list] = STATE(86), + [sym_type_qualifier] = STATE(82), + [sym_statement] = STATE(34), + [sym_expression_statement] = STATE(13), + [sym_primary_block] = STATE(13), + [sym_statement_block] = STATE(14), + [sym_block_item_list] = STATE(171), + [sym_block_item] = STATE(5), + [sym_selection_statement] = STATE(14), + [sym_iteration_statement] = STATE(14), + [sym_jump_statement] = STATE(13), + [sym_print_statement] = STATE(13), + [aux_sym_block_item_list_repeat1] = STATE(5), + [sym_comment] = ACTIONS(3), + [sym_identifier] = ACTIONS(21), + [sym_signed_integer_literal] = ACTIONS(23), + [sym_unsigned_integer_literal] = ACTIONS(23), + [sym_integer_literal] = ACTIONS(25), + [sym_char_literal] = ACTIONS(23), + [sym_string_literal] = ACTIONS(23), + [anon_sym_NULL] = ACTIONS(27), + [anon_sym_true] = ACTIONS(27), + [anon_sym_false] = ACTIONS(27), + [anon_sym_LPAREN] = ACTIONS(29), + [anon_sym_PLUS_PLUS] = ACTIONS(31), + [anon_sym_DASH_DASH] = ACTIONS(31), + [anon_sym_PLUS] = ACTIONS(33), + [anon_sym_DASH] = ACTIONS(33), + [anon_sym_BANG] = ACTIONS(31), + [anon_sym_SEMI] = ACTIONS(35), + [anon_sym_void] = ACTIONS(37), + [anon_sym_bool] = ACTIONS(37), + [anon_sym_char] = ACTIONS(37), + [anon_sym_string] = ACTIONS(37), + [anon_sym_int] = ACTIONS(11), + [anon_sym_I8] = ACTIONS(11), + [anon_sym_int8_t] = ACTIONS(11), + [anon_sym_I16] = ACTIONS(11), + [anon_sym_int16_t] = ACTIONS(11), + [anon_sym_I32] = ACTIONS(11), + [anon_sym_int32_t] = ACTIONS(11), + [anon_sym_I64] = ACTIONS(11), + [anon_sym_int64_t] = ACTIONS(11), + [anon_sym_uint] = ACTIONS(15), + [anon_sym_U8] = ACTIONS(15), + [anon_sym_uint8_t] = ACTIONS(15), + [anon_sym_U16] = ACTIONS(15), + [anon_sym_uint16_t] = ACTIONS(15), + [anon_sym_U32] = ACTIONS(15), + [anon_sym_uint32_t] = ACTIONS(15), + [anon_sym_U64] = ACTIONS(15), + [anon_sym_uint64_t] = ACTIONS(15), + [anon_sym_const] = ACTIONS(39), + [anon_sym_mut] = ACTIONS(39), + [anon_sym_LBRACE] = ACTIONS(41), + [anon_sym_RBRACE] = ACTIONS(43), + [anon_sym_if] = ACTIONS(45), + [anon_sym_while] = ACTIONS(47), + [anon_sym_for] = ACTIONS(49), + [anon_sym_continue] = ACTIONS(51), + [anon_sym_break] = ACTIONS(51), + [anon_sym_return] = ACTIONS(53), + [anon_sym_print] = ACTIONS(55), + }, + [STATE(3)] = { + [sym_constant] = STATE(90), + [sym_predefined_constant] = STATE(92), + [sym_base_expression] = STATE(81), + [sym_postfix_expression] = STATE(102), + [sym_unary_expression] = STATE(104), + [sym_cast_expression] = STATE(110), + [sym_multiplicative_expression] = STATE(116), + [sym_additive_expression] = STATE(122), + [sym_relational_expression] = STATE(126), + [sym_equality_expression] = STATE(130), + [sym_logical_expression] = STATE(133), + [sym_assignment_expression] = STATE(141), + [sym_expression] = STATE(175), + [sym_declaration] = STATE(34), + [sym_declaration_specifier] = STATE(166), + [sym_type_specifier_qualifier] = STATE(165), + [sym_type_specifier] = STATE(140), + [sym_int_type] = STATE(138), + [sym_uint_type] = STATE(138), + [sym_array_specifier] = STATE(138), + [sym_type_qualifier_list] = STATE(86), + [sym_type_qualifier] = STATE(82), + [sym_statement] = STATE(34), + [sym_expression_statement] = STATE(13), + [sym_primary_block] = STATE(13), + [sym_statement_block] = STATE(14), + [sym_block_item_list] = STATE(203), + [sym_block_item] = STATE(5), + [sym_selection_statement] = STATE(14), + [sym_iteration_statement] = STATE(14), + [sym_jump_statement] = STATE(13), + [sym_print_statement] = STATE(13), + [aux_sym_block_item_list_repeat1] = STATE(5), + [sym_comment] = ACTIONS(3), + [sym_identifier] = ACTIONS(21), + [sym_signed_integer_literal] = ACTIONS(23), + [sym_unsigned_integer_literal] = ACTIONS(23), + [sym_integer_literal] = ACTIONS(25), + [sym_char_literal] = ACTIONS(23), + [sym_string_literal] = ACTIONS(23), + [anon_sym_NULL] = ACTIONS(27), + [anon_sym_true] = ACTIONS(27), + [anon_sym_false] = ACTIONS(27), + [anon_sym_LPAREN] = ACTIONS(29), + [anon_sym_PLUS_PLUS] = ACTIONS(31), + [anon_sym_DASH_DASH] = ACTIONS(31), + [anon_sym_PLUS] = ACTIONS(33), + [anon_sym_DASH] = ACTIONS(33), + [anon_sym_BANG] = ACTIONS(31), + [anon_sym_SEMI] = ACTIONS(35), + [anon_sym_void] = ACTIONS(37), + [anon_sym_bool] = ACTIONS(37), + [anon_sym_char] = ACTIONS(37), + [anon_sym_string] = ACTIONS(37), + [anon_sym_int] = ACTIONS(11), + [anon_sym_I8] = ACTIONS(11), + [anon_sym_int8_t] = ACTIONS(11), + [anon_sym_I16] = ACTIONS(11), + [anon_sym_int16_t] = ACTIONS(11), + [anon_sym_I32] = ACTIONS(11), + [anon_sym_int32_t] = ACTIONS(11), + [anon_sym_I64] = ACTIONS(11), + [anon_sym_int64_t] = ACTIONS(11), + [anon_sym_uint] = ACTIONS(15), + [anon_sym_U8] = ACTIONS(15), + [anon_sym_uint8_t] = ACTIONS(15), + [anon_sym_U16] = ACTIONS(15), + [anon_sym_uint16_t] = ACTIONS(15), + [anon_sym_U32] = ACTIONS(15), + [anon_sym_uint32_t] = ACTIONS(15), + [anon_sym_U64] = ACTIONS(15), + [anon_sym_uint64_t] = ACTIONS(15), + [anon_sym_const] = ACTIONS(39), + [anon_sym_mut] = ACTIONS(39), + [anon_sym_LBRACE] = ACTIONS(41), + [anon_sym_RBRACE] = ACTIONS(57), + [anon_sym_if] = ACTIONS(45), + [anon_sym_while] = ACTIONS(47), + [anon_sym_for] = ACTIONS(49), + [anon_sym_continue] = ACTIONS(51), + [anon_sym_break] = ACTIONS(51), + [anon_sym_return] = ACTIONS(53), + [anon_sym_print] = ACTIONS(55), + }, + [STATE(4)] = { + [sym_constant] = STATE(90), + [sym_predefined_constant] = STATE(92), + [sym_base_expression] = STATE(81), + [sym_postfix_expression] = STATE(102), + [sym_unary_expression] = STATE(104), + [sym_cast_expression] = STATE(110), + [sym_multiplicative_expression] = STATE(116), + [sym_additive_expression] = STATE(122), + [sym_relational_expression] = STATE(126), + [sym_equality_expression] = STATE(130), + [sym_logical_expression] = STATE(133), + [sym_assignment_expression] = STATE(141), + [sym_expression] = STATE(175), + [sym_declaration] = STATE(34), + [sym_declaration_specifier] = STATE(166), + [sym_type_specifier_qualifier] = STATE(165), + [sym_type_specifier] = STATE(140), + [sym_int_type] = STATE(138), + [sym_uint_type] = STATE(138), + [sym_array_specifier] = STATE(138), + [sym_type_qualifier_list] = STATE(86), + [sym_type_qualifier] = STATE(82), + [sym_statement] = STATE(34), + [sym_expression_statement] = STATE(13), + [sym_primary_block] = STATE(13), + [sym_statement_block] = STATE(14), + [sym_block_item_list] = STATE(206), + [sym_block_item] = STATE(5), + [sym_selection_statement] = STATE(14), + [sym_iteration_statement] = STATE(14), + [sym_jump_statement] = STATE(13), + [sym_print_statement] = STATE(13), + [aux_sym_block_item_list_repeat1] = STATE(5), + [sym_comment] = ACTIONS(3), + [sym_identifier] = ACTIONS(21), + [sym_signed_integer_literal] = ACTIONS(23), + [sym_unsigned_integer_literal] = ACTIONS(23), + [sym_integer_literal] = ACTIONS(25), + [sym_char_literal] = ACTIONS(23), + [sym_string_literal] = ACTIONS(23), + [anon_sym_NULL] = ACTIONS(27), + [anon_sym_true] = ACTIONS(27), + [anon_sym_false] = ACTIONS(27), + [anon_sym_LPAREN] = ACTIONS(29), + [anon_sym_PLUS_PLUS] = ACTIONS(31), + [anon_sym_DASH_DASH] = ACTIONS(31), + [anon_sym_PLUS] = ACTIONS(33), + [anon_sym_DASH] = ACTIONS(33), + [anon_sym_BANG] = ACTIONS(31), + [anon_sym_SEMI] = ACTIONS(35), + [anon_sym_void] = ACTIONS(37), + [anon_sym_bool] = ACTIONS(37), + [anon_sym_char] = ACTIONS(37), + [anon_sym_string] = ACTIONS(37), + [anon_sym_int] = ACTIONS(11), + [anon_sym_I8] = ACTIONS(11), + [anon_sym_int8_t] = ACTIONS(11), + [anon_sym_I16] = ACTIONS(11), + [anon_sym_int16_t] = ACTIONS(11), + [anon_sym_I32] = ACTIONS(11), + [anon_sym_int32_t] = ACTIONS(11), + [anon_sym_I64] = ACTIONS(11), + [anon_sym_int64_t] = ACTIONS(11), + [anon_sym_uint] = ACTIONS(15), + [anon_sym_U8] = ACTIONS(15), + [anon_sym_uint8_t] = ACTIONS(15), + [anon_sym_U16] = ACTIONS(15), + [anon_sym_uint16_t] = ACTIONS(15), + [anon_sym_U32] = ACTIONS(15), + [anon_sym_uint32_t] = ACTIONS(15), + [anon_sym_U64] = ACTIONS(15), + [anon_sym_uint64_t] = ACTIONS(15), + [anon_sym_const] = ACTIONS(39), + [anon_sym_mut] = ACTIONS(39), + [anon_sym_LBRACE] = ACTIONS(41), + [anon_sym_RBRACE] = ACTIONS(59), + [anon_sym_if] = ACTIONS(45), + [anon_sym_while] = ACTIONS(47), + [anon_sym_for] = ACTIONS(49), + [anon_sym_continue] = ACTIONS(51), + [anon_sym_break] = ACTIONS(51), + [anon_sym_return] = ACTIONS(53), + [anon_sym_print] = ACTIONS(55), + }, + [STATE(5)] = { + [sym_constant] = STATE(90), + [sym_predefined_constant] = STATE(92), + [sym_base_expression] = STATE(81), + [sym_postfix_expression] = STATE(102), + [sym_unary_expression] = STATE(104), + [sym_cast_expression] = STATE(110), + [sym_multiplicative_expression] = STATE(116), + [sym_additive_expression] = STATE(122), + [sym_relational_expression] = STATE(126), + [sym_equality_expression] = STATE(130), + [sym_logical_expression] = STATE(133), + [sym_assignment_expression] = STATE(141), + [sym_expression] = STATE(175), + [sym_declaration] = STATE(34), + [sym_declaration_specifier] = STATE(166), + [sym_type_specifier_qualifier] = STATE(165), + [sym_type_specifier] = STATE(140), + [sym_int_type] = STATE(138), + [sym_uint_type] = STATE(138), + [sym_array_specifier] = STATE(138), + [sym_type_qualifier_list] = STATE(86), + [sym_type_qualifier] = STATE(82), + [sym_statement] = STATE(34), + [sym_expression_statement] = STATE(13), + [sym_primary_block] = STATE(13), + [sym_statement_block] = STATE(14), + [sym_block_item] = STATE(6), + [sym_selection_statement] = STATE(14), + [sym_iteration_statement] = STATE(14), + [sym_jump_statement] = STATE(13), + [sym_print_statement] = STATE(13), + [aux_sym_block_item_list_repeat1] = STATE(6), + [sym_comment] = ACTIONS(3), + [sym_identifier] = ACTIONS(21), + [sym_signed_integer_literal] = ACTIONS(23), + [sym_unsigned_integer_literal] = ACTIONS(23), + [sym_integer_literal] = ACTIONS(25), + [sym_char_literal] = ACTIONS(23), + [sym_string_literal] = ACTIONS(23), + [anon_sym_NULL] = ACTIONS(27), + [anon_sym_true] = ACTIONS(27), + [anon_sym_false] = ACTIONS(27), + [anon_sym_LPAREN] = ACTIONS(29), + [anon_sym_PLUS_PLUS] = ACTIONS(31), + [anon_sym_DASH_DASH] = ACTIONS(31), + [anon_sym_PLUS] = ACTIONS(33), + [anon_sym_DASH] = ACTIONS(33), + [anon_sym_BANG] = ACTIONS(31), + [anon_sym_SEMI] = ACTIONS(35), + [anon_sym_void] = ACTIONS(37), + [anon_sym_bool] = ACTIONS(37), + [anon_sym_char] = ACTIONS(37), + [anon_sym_string] = ACTIONS(37), + [anon_sym_int] = ACTIONS(11), + [anon_sym_I8] = ACTIONS(11), + [anon_sym_int8_t] = ACTIONS(11), + [anon_sym_I16] = ACTIONS(11), + [anon_sym_int16_t] = ACTIONS(11), + [anon_sym_I32] = ACTIONS(11), + [anon_sym_int32_t] = ACTIONS(11), + [anon_sym_I64] = ACTIONS(11), + [anon_sym_int64_t] = ACTIONS(11), + [anon_sym_uint] = ACTIONS(15), + [anon_sym_U8] = ACTIONS(15), + [anon_sym_uint8_t] = ACTIONS(15), + [anon_sym_U16] = ACTIONS(15), + [anon_sym_uint16_t] = ACTIONS(15), + [anon_sym_U32] = ACTIONS(15), + [anon_sym_uint32_t] = ACTIONS(15), + [anon_sym_U64] = ACTIONS(15), + [anon_sym_uint64_t] = ACTIONS(15), + [anon_sym_const] = ACTIONS(39), + [anon_sym_mut] = ACTIONS(39), + [anon_sym_LBRACE] = ACTIONS(41), + [anon_sym_RBRACE] = ACTIONS(61), + [anon_sym_if] = ACTIONS(45), + [anon_sym_while] = ACTIONS(47), + [anon_sym_for] = ACTIONS(49), + [anon_sym_continue] = ACTIONS(51), + [anon_sym_break] = ACTIONS(51), + [anon_sym_return] = ACTIONS(53), + [anon_sym_print] = ACTIONS(55), + }, + [STATE(6)] = { + [sym_constant] = STATE(90), + [sym_predefined_constant] = STATE(92), + [sym_base_expression] = STATE(81), + [sym_postfix_expression] = STATE(102), + [sym_unary_expression] = STATE(104), + [sym_cast_expression] = STATE(110), + [sym_multiplicative_expression] = STATE(116), + [sym_additive_expression] = STATE(122), + [sym_relational_expression] = STATE(126), + [sym_equality_expression] = STATE(130), + [sym_logical_expression] = STATE(133), + [sym_assignment_expression] = STATE(141), + [sym_expression] = STATE(175), + [sym_declaration] = STATE(34), + [sym_declaration_specifier] = STATE(166), + [sym_type_specifier_qualifier] = STATE(165), + [sym_type_specifier] = STATE(140), + [sym_int_type] = STATE(138), + [sym_uint_type] = STATE(138), + [sym_array_specifier] = STATE(138), + [sym_type_qualifier_list] = STATE(86), + [sym_type_qualifier] = STATE(82), + [sym_statement] = STATE(34), + [sym_expression_statement] = STATE(13), + [sym_primary_block] = STATE(13), + [sym_statement_block] = STATE(14), + [sym_block_item] = STATE(6), + [sym_selection_statement] = STATE(14), + [sym_iteration_statement] = STATE(14), + [sym_jump_statement] = STATE(13), + [sym_print_statement] = STATE(13), + [aux_sym_block_item_list_repeat1] = STATE(6), + [sym_comment] = ACTIONS(3), + [sym_identifier] = ACTIONS(63), + [sym_signed_integer_literal] = ACTIONS(66), + [sym_unsigned_integer_literal] = ACTIONS(66), + [sym_integer_literal] = ACTIONS(69), + [sym_char_literal] = ACTIONS(66), + [sym_string_literal] = ACTIONS(66), + [anon_sym_NULL] = ACTIONS(72), + [anon_sym_true] = ACTIONS(72), + [anon_sym_false] = ACTIONS(72), + [anon_sym_LPAREN] = ACTIONS(75), + [anon_sym_PLUS_PLUS] = ACTIONS(78), + [anon_sym_DASH_DASH] = ACTIONS(78), + [anon_sym_PLUS] = ACTIONS(81), + [anon_sym_DASH] = ACTIONS(81), + [anon_sym_BANG] = ACTIONS(78), + [anon_sym_SEMI] = ACTIONS(84), + [anon_sym_void] = ACTIONS(87), + [anon_sym_bool] = ACTIONS(87), + [anon_sym_char] = ACTIONS(87), + [anon_sym_string] = ACTIONS(87), + [anon_sym_int] = ACTIONS(90), + [anon_sym_I8] = ACTIONS(90), + [anon_sym_int8_t] = ACTIONS(90), + [anon_sym_I16] = ACTIONS(90), + [anon_sym_int16_t] = ACTIONS(90), + [anon_sym_I32] = ACTIONS(90), + [anon_sym_int32_t] = ACTIONS(90), + [anon_sym_I64] = ACTIONS(90), + [anon_sym_int64_t] = ACTIONS(90), + [anon_sym_uint] = ACTIONS(93), + [anon_sym_U8] = ACTIONS(93), + [anon_sym_uint8_t] = ACTIONS(93), + [anon_sym_U16] = ACTIONS(93), + [anon_sym_uint16_t] = ACTIONS(93), + [anon_sym_U32] = ACTIONS(93), + [anon_sym_uint32_t] = ACTIONS(93), + [anon_sym_U64] = ACTIONS(93), + [anon_sym_uint64_t] = ACTIONS(93), + [anon_sym_const] = ACTIONS(96), + [anon_sym_mut] = ACTIONS(96), + [anon_sym_LBRACE] = ACTIONS(99), + [anon_sym_RBRACE] = ACTIONS(102), + [anon_sym_if] = ACTIONS(104), + [anon_sym_while] = ACTIONS(107), + [anon_sym_for] = ACTIONS(110), + [anon_sym_continue] = ACTIONS(113), + [anon_sym_break] = ACTIONS(113), + [anon_sym_return] = ACTIONS(116), + [anon_sym_print] = ACTIONS(119), + }, +}; + +static const uint16_t ts_small_parse_table[] = { + [0] = 33, + ACTIONS(3), 1, + sym_comment, + ACTIONS(21), 1, + sym_identifier, + ACTIONS(25), 1, + sym_integer_literal, + ACTIONS(29), 1, + anon_sym_LPAREN, + ACTIONS(122), 1, + anon_sym_SEMI, + STATE(63), 1, + sym_declaration, + STATE(81), 1, + sym_base_expression, + STATE(82), 1, + sym_type_qualifier, + STATE(86), 1, + sym_type_qualifier_list, + STATE(90), 1, + sym_constant, + STATE(92), 1, + sym_predefined_constant, + STATE(102), 1, + sym_postfix_expression, + STATE(104), 1, + sym_unary_expression, + STATE(110), 1, + sym_cast_expression, + STATE(116), 1, + sym_multiplicative_expression, + STATE(122), 1, + sym_additive_expression, + STATE(126), 1, + sym_relational_expression, + STATE(130), 1, + sym_equality_expression, + STATE(133), 1, + sym_logical_expression, + STATE(140), 1, + sym_type_specifier, + STATE(141), 1, + sym_assignment_expression, + STATE(165), 1, + sym_type_specifier_qualifier, + STATE(167), 1, + sym_declaration_specifier, + STATE(209), 1, + sym_expression, + ACTIONS(33), 2, + anon_sym_PLUS, + anon_sym_DASH, + ACTIONS(39), 2, + anon_sym_const, + anon_sym_mut, + ACTIONS(27), 3, + anon_sym_NULL, + anon_sym_true, + anon_sym_false, + ACTIONS(31), 3, + anon_sym_PLUS_PLUS, + anon_sym_DASH_DASH, + anon_sym_BANG, + STATE(138), 3, + sym_int_type, + sym_uint_type, + sym_array_specifier, + ACTIONS(23), 4, + sym_signed_integer_literal, + sym_unsigned_integer_literal, + sym_char_literal, + sym_string_literal, + ACTIONS(37), 4, + anon_sym_void, + anon_sym_bool, + anon_sym_char, + anon_sym_string, + ACTIONS(11), 9, + anon_sym_int, + anon_sym_I8, + anon_sym_int8_t, + anon_sym_I16, + anon_sym_int16_t, + anon_sym_I32, + anon_sym_int32_t, + anon_sym_I64, + anon_sym_int64_t, + ACTIONS(15), 9, + anon_sym_uint, + anon_sym_U8, + anon_sym_uint8_t, + anon_sym_U16, + anon_sym_uint16_t, + anon_sym_U32, + anon_sym_uint32_t, + anon_sym_U64, + anon_sym_uint64_t, + [130] = 30, + ACTIONS(3), 1, + sym_comment, + ACTIONS(21), 1, + sym_identifier, + ACTIONS(25), 1, + sym_integer_literal, + ACTIONS(29), 1, + anon_sym_LPAREN, + STATE(81), 1, + sym_base_expression, + STATE(82), 1, + sym_type_qualifier, + STATE(86), 1, + sym_type_qualifier_list, + STATE(90), 1, + sym_constant, + STATE(92), 1, + sym_predefined_constant, + STATE(102), 1, + sym_postfix_expression, + STATE(104), 1, + sym_unary_expression, + STATE(110), 1, + sym_cast_expression, + STATE(116), 1, + sym_multiplicative_expression, + STATE(122), 1, + sym_additive_expression, + STATE(126), 1, + sym_relational_expression, + STATE(130), 1, + sym_equality_expression, + STATE(133), 1, + sym_logical_expression, + STATE(140), 1, + sym_type_specifier, + STATE(141), 1, + sym_assignment_expression, + STATE(174), 1, + sym_expression, + STATE(197), 1, + sym_type_specifier_qualifier, + ACTIONS(33), 2, + anon_sym_PLUS, + anon_sym_DASH, + ACTIONS(39), 2, + anon_sym_const, + anon_sym_mut, + ACTIONS(27), 3, + anon_sym_NULL, + anon_sym_true, + anon_sym_false, + ACTIONS(31), 3, + anon_sym_PLUS_PLUS, + anon_sym_DASH_DASH, + anon_sym_BANG, + STATE(138), 3, + sym_int_type, + sym_uint_type, + sym_array_specifier, + ACTIONS(23), 4, + sym_signed_integer_literal, + sym_unsigned_integer_literal, + sym_char_literal, + sym_string_literal, + ACTIONS(37), 4, + anon_sym_void, + anon_sym_bool, + anon_sym_char, + anon_sym_string, + ACTIONS(11), 9, + anon_sym_int, + anon_sym_I8, + anon_sym_int8_t, + anon_sym_I16, + anon_sym_int16_t, + anon_sym_I32, + anon_sym_int32_t, + anon_sym_I64, + anon_sym_int64_t, + ACTIONS(15), 9, + anon_sym_uint, + anon_sym_U8, + anon_sym_uint8_t, + anon_sym_U16, + anon_sym_uint16_t, + anon_sym_U32, + anon_sym_uint32_t, + anon_sym_U64, + anon_sym_uint64_t, + [251] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(128), 1, + anon_sym_else, + ACTIONS(126), 11, + sym_signed_integer_literal, + sym_unsigned_integer_literal, + sym_char_literal, + sym_string_literal, + anon_sym_LPAREN, + anon_sym_PLUS_PLUS, + anon_sym_DASH_DASH, + anon_sym_BANG, + anon_sym_SEMI, + anon_sym_LBRACE, + anon_sym_RBRACE, + ACTIONS(124), 38, + sym_identifier, + sym_integer_literal, + anon_sym_NULL, + anon_sym_true, + anon_sym_false, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_void, + anon_sym_bool, + anon_sym_char, + anon_sym_string, + anon_sym_int, + anon_sym_I8, + anon_sym_int8_t, + anon_sym_I16, + anon_sym_int16_t, + anon_sym_I32, + anon_sym_int32_t, + anon_sym_I64, + anon_sym_int64_t, + anon_sym_uint, + anon_sym_U8, + anon_sym_uint8_t, + anon_sym_U16, + anon_sym_uint16_t, + anon_sym_U32, + anon_sym_uint32_t, + anon_sym_U64, + anon_sym_uint64_t, + anon_sym_const, + anon_sym_mut, + anon_sym_if, + anon_sym_while, + anon_sym_for, + anon_sym_continue, + anon_sym_break, + anon_sym_return, + anon_sym_print, + [311] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(132), 11, + sym_signed_integer_literal, + sym_unsigned_integer_literal, + sym_char_literal, + sym_string_literal, + anon_sym_LPAREN, + anon_sym_PLUS_PLUS, + anon_sym_DASH_DASH, + anon_sym_BANG, + anon_sym_SEMI, + anon_sym_LBRACE, + anon_sym_RBRACE, + ACTIONS(130), 39, + sym_identifier, + sym_integer_literal, + anon_sym_NULL, + anon_sym_true, + anon_sym_false, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_void, + anon_sym_bool, + anon_sym_char, + anon_sym_string, + anon_sym_int, + anon_sym_I8, + anon_sym_int8_t, + anon_sym_I16, + anon_sym_int16_t, + anon_sym_I32, + anon_sym_int32_t, + anon_sym_I64, + anon_sym_int64_t, + anon_sym_uint, + anon_sym_U8, + anon_sym_uint8_t, + anon_sym_U16, + anon_sym_uint16_t, + anon_sym_U32, + anon_sym_uint32_t, + anon_sym_U64, + anon_sym_uint64_t, + anon_sym_const, + anon_sym_mut, + anon_sym_if, + anon_sym_else, + anon_sym_while, + anon_sym_for, + anon_sym_continue, + anon_sym_break, + anon_sym_return, + anon_sym_print, + [369] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(136), 11, + sym_signed_integer_literal, + sym_unsigned_integer_literal, + sym_char_literal, + sym_string_literal, + anon_sym_LPAREN, + anon_sym_PLUS_PLUS, + anon_sym_DASH_DASH, + anon_sym_BANG, + anon_sym_SEMI, + anon_sym_LBRACE, + anon_sym_RBRACE, + ACTIONS(134), 39, + sym_identifier, + sym_integer_literal, + anon_sym_NULL, + anon_sym_true, + anon_sym_false, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_void, + anon_sym_bool, + anon_sym_char, + anon_sym_string, + anon_sym_int, + anon_sym_I8, + anon_sym_int8_t, + anon_sym_I16, + anon_sym_int16_t, + anon_sym_I32, + anon_sym_int32_t, + anon_sym_I64, + anon_sym_int64_t, + anon_sym_uint, + anon_sym_U8, + anon_sym_uint8_t, + anon_sym_U16, + anon_sym_uint16_t, + anon_sym_U32, + anon_sym_uint32_t, + anon_sym_U64, + anon_sym_uint64_t, + anon_sym_const, + anon_sym_mut, + anon_sym_if, + anon_sym_else, + anon_sym_while, + anon_sym_for, + anon_sym_continue, + anon_sym_break, + anon_sym_return, + anon_sym_print, + [427] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(140), 11, + sym_signed_integer_literal, + sym_unsigned_integer_literal, + sym_char_literal, + sym_string_literal, + anon_sym_LPAREN, + anon_sym_PLUS_PLUS, + anon_sym_DASH_DASH, + anon_sym_BANG, + anon_sym_SEMI, + anon_sym_LBRACE, + anon_sym_RBRACE, + ACTIONS(138), 38, + sym_identifier, + sym_integer_literal, + anon_sym_NULL, + anon_sym_true, + anon_sym_false, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_void, + anon_sym_bool, + anon_sym_char, + anon_sym_string, + anon_sym_int, + anon_sym_I8, + anon_sym_int8_t, + anon_sym_I16, + anon_sym_int16_t, + anon_sym_I32, + anon_sym_int32_t, + anon_sym_I64, + anon_sym_int64_t, + anon_sym_uint, + anon_sym_U8, + anon_sym_uint8_t, + anon_sym_U16, + anon_sym_uint16_t, + anon_sym_U32, + anon_sym_uint32_t, + anon_sym_U64, + anon_sym_uint64_t, + anon_sym_const, + anon_sym_mut, + anon_sym_if, + anon_sym_while, + anon_sym_for, + anon_sym_continue, + anon_sym_break, + anon_sym_return, + anon_sym_print, + [484] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(144), 11, + sym_signed_integer_literal, + sym_unsigned_integer_literal, + sym_char_literal, + sym_string_literal, + anon_sym_LPAREN, + anon_sym_PLUS_PLUS, + anon_sym_DASH_DASH, + anon_sym_BANG, + anon_sym_SEMI, + anon_sym_LBRACE, + anon_sym_RBRACE, + ACTIONS(142), 38, + sym_identifier, + sym_integer_literal, + anon_sym_NULL, + anon_sym_true, + anon_sym_false, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_void, + anon_sym_bool, + anon_sym_char, + anon_sym_string, + anon_sym_int, + anon_sym_I8, + anon_sym_int8_t, + anon_sym_I16, + anon_sym_int16_t, + anon_sym_I32, + anon_sym_int32_t, + anon_sym_I64, + anon_sym_int64_t, + anon_sym_uint, + anon_sym_U8, + anon_sym_uint8_t, + anon_sym_U16, + anon_sym_uint16_t, + anon_sym_U32, + anon_sym_uint32_t, + anon_sym_U64, + anon_sym_uint64_t, + anon_sym_const, + anon_sym_mut, + anon_sym_if, + anon_sym_while, + anon_sym_for, + anon_sym_continue, + anon_sym_break, + anon_sym_return, + anon_sym_print, + [541] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(148), 11, + sym_signed_integer_literal, + sym_unsigned_integer_literal, + sym_char_literal, + sym_string_literal, + anon_sym_LPAREN, + anon_sym_PLUS_PLUS, + anon_sym_DASH_DASH, + anon_sym_BANG, + anon_sym_SEMI, + anon_sym_LBRACE, + anon_sym_RBRACE, + ACTIONS(146), 38, + sym_identifier, + sym_integer_literal, + anon_sym_NULL, + anon_sym_true, + anon_sym_false, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_void, + anon_sym_bool, + anon_sym_char, + anon_sym_string, + anon_sym_int, + anon_sym_I8, + anon_sym_int8_t, + anon_sym_I16, + anon_sym_int16_t, + anon_sym_I32, + anon_sym_int32_t, + anon_sym_I64, + anon_sym_int64_t, + anon_sym_uint, + anon_sym_U8, + anon_sym_uint8_t, + anon_sym_U16, + anon_sym_uint16_t, + anon_sym_U32, + anon_sym_uint32_t, + anon_sym_U64, + anon_sym_uint64_t, + anon_sym_const, + anon_sym_mut, + anon_sym_if, + anon_sym_while, + anon_sym_for, + anon_sym_continue, + anon_sym_break, + anon_sym_return, + anon_sym_print, + [598] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(152), 11, + sym_signed_integer_literal, + sym_unsigned_integer_literal, + sym_char_literal, + sym_string_literal, + anon_sym_LPAREN, + anon_sym_PLUS_PLUS, + anon_sym_DASH_DASH, + anon_sym_BANG, + anon_sym_SEMI, + anon_sym_LBRACE, + anon_sym_RBRACE, + ACTIONS(150), 38, + sym_identifier, + sym_integer_literal, + anon_sym_NULL, + anon_sym_true, + anon_sym_false, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_void, + anon_sym_bool, + anon_sym_char, + anon_sym_string, + anon_sym_int, + anon_sym_I8, + anon_sym_int8_t, + anon_sym_I16, + anon_sym_int16_t, + anon_sym_I32, + anon_sym_int32_t, + anon_sym_I64, + anon_sym_int64_t, + anon_sym_uint, + anon_sym_U8, + anon_sym_uint8_t, + anon_sym_U16, + anon_sym_uint16_t, + anon_sym_U32, + anon_sym_uint32_t, + anon_sym_U64, + anon_sym_uint64_t, + anon_sym_const, + anon_sym_mut, + anon_sym_if, + anon_sym_while, + anon_sym_for, + anon_sym_continue, + anon_sym_break, + anon_sym_return, + anon_sym_print, + [655] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(156), 11, + sym_signed_integer_literal, + sym_unsigned_integer_literal, + sym_char_literal, + sym_string_literal, + anon_sym_LPAREN, + anon_sym_PLUS_PLUS, + anon_sym_DASH_DASH, + anon_sym_BANG, + anon_sym_SEMI, + anon_sym_LBRACE, + anon_sym_RBRACE, + ACTIONS(154), 38, + sym_identifier, + sym_integer_literal, + anon_sym_NULL, + anon_sym_true, + anon_sym_false, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_void, + anon_sym_bool, + anon_sym_char, + anon_sym_string, + anon_sym_int, + anon_sym_I8, + anon_sym_int8_t, + anon_sym_I16, + anon_sym_int16_t, + anon_sym_I32, + anon_sym_int32_t, + anon_sym_I64, + anon_sym_int64_t, + anon_sym_uint, + anon_sym_U8, + anon_sym_uint8_t, + anon_sym_U16, + anon_sym_uint16_t, + anon_sym_U32, + anon_sym_uint32_t, + anon_sym_U64, + anon_sym_uint64_t, + anon_sym_const, + anon_sym_mut, + anon_sym_if, + anon_sym_while, + anon_sym_for, + anon_sym_continue, + anon_sym_break, + anon_sym_return, + anon_sym_print, + [712] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(160), 11, + sym_signed_integer_literal, + sym_unsigned_integer_literal, + sym_char_literal, + sym_string_literal, + anon_sym_LPAREN, + anon_sym_PLUS_PLUS, + anon_sym_DASH_DASH, + anon_sym_BANG, + anon_sym_SEMI, + anon_sym_LBRACE, + anon_sym_RBRACE, + ACTIONS(158), 38, + sym_identifier, + sym_integer_literal, + anon_sym_NULL, + anon_sym_true, + anon_sym_false, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_void, + anon_sym_bool, + anon_sym_char, + anon_sym_string, + anon_sym_int, + anon_sym_I8, + anon_sym_int8_t, + anon_sym_I16, + anon_sym_int16_t, + anon_sym_I32, + anon_sym_int32_t, + anon_sym_I64, + anon_sym_int64_t, + anon_sym_uint, + anon_sym_U8, + anon_sym_uint8_t, + anon_sym_U16, + anon_sym_uint16_t, + anon_sym_U32, + anon_sym_uint32_t, + anon_sym_U64, + anon_sym_uint64_t, + anon_sym_const, + anon_sym_mut, + anon_sym_if, + anon_sym_while, + anon_sym_for, + anon_sym_continue, + anon_sym_break, + anon_sym_return, + anon_sym_print, + [769] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(164), 11, + sym_signed_integer_literal, + sym_unsigned_integer_literal, + sym_char_literal, + sym_string_literal, + anon_sym_LPAREN, + anon_sym_PLUS_PLUS, + anon_sym_DASH_DASH, + anon_sym_BANG, + anon_sym_SEMI, + anon_sym_LBRACE, + anon_sym_RBRACE, + ACTIONS(162), 38, + sym_identifier, + sym_integer_literal, + anon_sym_NULL, + anon_sym_true, + anon_sym_false, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_void, + anon_sym_bool, + anon_sym_char, + anon_sym_string, + anon_sym_int, + anon_sym_I8, + anon_sym_int8_t, + anon_sym_I16, + anon_sym_int16_t, + anon_sym_I32, + anon_sym_int32_t, + anon_sym_I64, + anon_sym_int64_t, + anon_sym_uint, + anon_sym_U8, + anon_sym_uint8_t, + anon_sym_U16, + anon_sym_uint16_t, + anon_sym_U32, + anon_sym_uint32_t, + anon_sym_U64, + anon_sym_uint64_t, + anon_sym_const, + anon_sym_mut, + anon_sym_if, + anon_sym_while, + anon_sym_for, + anon_sym_continue, + anon_sym_break, + anon_sym_return, + anon_sym_print, + [826] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(168), 11, + sym_signed_integer_literal, + sym_unsigned_integer_literal, + sym_char_literal, + sym_string_literal, + anon_sym_LPAREN, + anon_sym_PLUS_PLUS, + anon_sym_DASH_DASH, + anon_sym_BANG, + anon_sym_SEMI, + anon_sym_LBRACE, + anon_sym_RBRACE, + ACTIONS(166), 38, + sym_identifier, + sym_integer_literal, + anon_sym_NULL, + anon_sym_true, + anon_sym_false, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_void, + anon_sym_bool, + anon_sym_char, + anon_sym_string, + anon_sym_int, + anon_sym_I8, + anon_sym_int8_t, + anon_sym_I16, + anon_sym_int16_t, + anon_sym_I32, + anon_sym_int32_t, + anon_sym_I64, + anon_sym_int64_t, + anon_sym_uint, + anon_sym_U8, + anon_sym_uint8_t, + anon_sym_U16, + anon_sym_uint16_t, + anon_sym_U32, + anon_sym_uint32_t, + anon_sym_U64, + anon_sym_uint64_t, + anon_sym_const, + anon_sym_mut, + anon_sym_if, + anon_sym_while, + anon_sym_for, + anon_sym_continue, + anon_sym_break, + anon_sym_return, + anon_sym_print, + [883] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(172), 11, + sym_signed_integer_literal, + sym_unsigned_integer_literal, + sym_char_literal, + sym_string_literal, + anon_sym_LPAREN, + anon_sym_PLUS_PLUS, + anon_sym_DASH_DASH, + anon_sym_BANG, + anon_sym_SEMI, + anon_sym_LBRACE, + anon_sym_RBRACE, + ACTIONS(170), 38, + sym_identifier, + sym_integer_literal, + anon_sym_NULL, + anon_sym_true, + anon_sym_false, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_void, + anon_sym_bool, + anon_sym_char, + anon_sym_string, + anon_sym_int, + anon_sym_I8, + anon_sym_int8_t, + anon_sym_I16, + anon_sym_int16_t, + anon_sym_I32, + anon_sym_int32_t, + anon_sym_I64, + anon_sym_int64_t, + anon_sym_uint, + anon_sym_U8, + anon_sym_uint8_t, + anon_sym_U16, + anon_sym_uint16_t, + anon_sym_U32, + anon_sym_uint32_t, + anon_sym_U64, + anon_sym_uint64_t, + anon_sym_const, + anon_sym_mut, + anon_sym_if, + anon_sym_while, + anon_sym_for, + anon_sym_continue, + anon_sym_break, + anon_sym_return, + anon_sym_print, + [940] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(176), 11, + sym_signed_integer_literal, + sym_unsigned_integer_literal, + sym_char_literal, + sym_string_literal, + anon_sym_LPAREN, + anon_sym_PLUS_PLUS, + anon_sym_DASH_DASH, + anon_sym_BANG, + anon_sym_SEMI, + anon_sym_LBRACE, + anon_sym_RBRACE, + ACTIONS(174), 38, + sym_identifier, + sym_integer_literal, + anon_sym_NULL, + anon_sym_true, + anon_sym_false, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_void, + anon_sym_bool, + anon_sym_char, + anon_sym_string, + anon_sym_int, + anon_sym_I8, + anon_sym_int8_t, + anon_sym_I16, + anon_sym_int16_t, + anon_sym_I32, + anon_sym_int32_t, + anon_sym_I64, + anon_sym_int64_t, + anon_sym_uint, + anon_sym_U8, + anon_sym_uint8_t, + anon_sym_U16, + anon_sym_uint16_t, + anon_sym_U32, + anon_sym_uint32_t, + anon_sym_U64, + anon_sym_uint64_t, + anon_sym_const, + anon_sym_mut, + anon_sym_if, + anon_sym_while, + anon_sym_for, + anon_sym_continue, + anon_sym_break, + anon_sym_return, + anon_sym_print, + [997] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(180), 11, + sym_signed_integer_literal, + sym_unsigned_integer_literal, + sym_char_literal, + sym_string_literal, + anon_sym_LPAREN, + anon_sym_PLUS_PLUS, + anon_sym_DASH_DASH, + anon_sym_BANG, + anon_sym_SEMI, + anon_sym_LBRACE, + anon_sym_RBRACE, + ACTIONS(178), 38, + sym_identifier, + sym_integer_literal, + anon_sym_NULL, + anon_sym_true, + anon_sym_false, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_void, + anon_sym_bool, + anon_sym_char, + anon_sym_string, + anon_sym_int, + anon_sym_I8, + anon_sym_int8_t, + anon_sym_I16, + anon_sym_int16_t, + anon_sym_I32, + anon_sym_int32_t, + anon_sym_I64, + anon_sym_int64_t, + anon_sym_uint, + anon_sym_U8, + anon_sym_uint8_t, + anon_sym_U16, + anon_sym_uint16_t, + anon_sym_U32, + anon_sym_uint32_t, + anon_sym_U64, + anon_sym_uint64_t, + anon_sym_const, + anon_sym_mut, + anon_sym_if, + anon_sym_while, + anon_sym_for, + anon_sym_continue, + anon_sym_break, + anon_sym_return, + anon_sym_print, + [1054] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(184), 11, + sym_signed_integer_literal, + sym_unsigned_integer_literal, + sym_char_literal, + sym_string_literal, + anon_sym_LPAREN, + anon_sym_PLUS_PLUS, + anon_sym_DASH_DASH, + anon_sym_BANG, + anon_sym_SEMI, + anon_sym_LBRACE, + anon_sym_RBRACE, + ACTIONS(182), 38, + sym_identifier, + sym_integer_literal, + anon_sym_NULL, + anon_sym_true, + anon_sym_false, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_void, + anon_sym_bool, + anon_sym_char, + anon_sym_string, + anon_sym_int, + anon_sym_I8, + anon_sym_int8_t, + anon_sym_I16, + anon_sym_int16_t, + anon_sym_I32, + anon_sym_int32_t, + anon_sym_I64, + anon_sym_int64_t, + anon_sym_uint, + anon_sym_U8, + anon_sym_uint8_t, + anon_sym_U16, + anon_sym_uint16_t, + anon_sym_U32, + anon_sym_uint32_t, + anon_sym_U64, + anon_sym_uint64_t, + anon_sym_const, + anon_sym_mut, + anon_sym_if, + anon_sym_while, + anon_sym_for, + anon_sym_continue, + anon_sym_break, + anon_sym_return, + anon_sym_print, + [1111] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(188), 11, + sym_signed_integer_literal, + sym_unsigned_integer_literal, + sym_char_literal, + sym_string_literal, + anon_sym_LPAREN, + anon_sym_PLUS_PLUS, + anon_sym_DASH_DASH, + anon_sym_BANG, + anon_sym_SEMI, + anon_sym_LBRACE, + anon_sym_RBRACE, + ACTIONS(186), 38, + sym_identifier, + sym_integer_literal, + anon_sym_NULL, + anon_sym_true, + anon_sym_false, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_void, + anon_sym_bool, + anon_sym_char, + anon_sym_string, + anon_sym_int, + anon_sym_I8, + anon_sym_int8_t, + anon_sym_I16, + anon_sym_int16_t, + anon_sym_I32, + anon_sym_int32_t, + anon_sym_I64, + anon_sym_int64_t, + anon_sym_uint, + anon_sym_U8, + anon_sym_uint8_t, + anon_sym_U16, + anon_sym_uint16_t, + anon_sym_U32, + anon_sym_uint32_t, + anon_sym_U64, + anon_sym_uint64_t, + anon_sym_const, + anon_sym_mut, + anon_sym_if, + anon_sym_while, + anon_sym_for, + anon_sym_continue, + anon_sym_break, + anon_sym_return, + anon_sym_print, + [1168] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(192), 11, + sym_signed_integer_literal, + sym_unsigned_integer_literal, + sym_char_literal, + sym_string_literal, + anon_sym_LPAREN, + anon_sym_PLUS_PLUS, + anon_sym_DASH_DASH, + anon_sym_BANG, + anon_sym_SEMI, + anon_sym_LBRACE, + anon_sym_RBRACE, + ACTIONS(190), 38, + sym_identifier, + sym_integer_literal, + anon_sym_NULL, + anon_sym_true, + anon_sym_false, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_void, + anon_sym_bool, + anon_sym_char, + anon_sym_string, + anon_sym_int, + anon_sym_I8, + anon_sym_int8_t, + anon_sym_I16, + anon_sym_int16_t, + anon_sym_I32, + anon_sym_int32_t, + anon_sym_I64, + anon_sym_int64_t, + anon_sym_uint, + anon_sym_U8, + anon_sym_uint8_t, + anon_sym_U16, + anon_sym_uint16_t, + anon_sym_U32, + anon_sym_uint32_t, + anon_sym_U64, + anon_sym_uint64_t, + anon_sym_const, + anon_sym_mut, + anon_sym_if, + anon_sym_while, + anon_sym_for, + anon_sym_continue, + anon_sym_break, + anon_sym_return, + anon_sym_print, + [1225] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(196), 11, + sym_signed_integer_literal, + sym_unsigned_integer_literal, + sym_char_literal, + sym_string_literal, + anon_sym_LPAREN, + anon_sym_PLUS_PLUS, + anon_sym_DASH_DASH, + anon_sym_BANG, + anon_sym_SEMI, + anon_sym_LBRACE, + anon_sym_RBRACE, + ACTIONS(194), 38, + sym_identifier, + sym_integer_literal, + anon_sym_NULL, + anon_sym_true, + anon_sym_false, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_void, + anon_sym_bool, + anon_sym_char, + anon_sym_string, + anon_sym_int, + anon_sym_I8, + anon_sym_int8_t, + anon_sym_I16, + anon_sym_int16_t, + anon_sym_I32, + anon_sym_int32_t, + anon_sym_I64, + anon_sym_int64_t, + anon_sym_uint, + anon_sym_U8, + anon_sym_uint8_t, + anon_sym_U16, + anon_sym_uint16_t, + anon_sym_U32, + anon_sym_uint32_t, + anon_sym_U64, + anon_sym_uint64_t, + anon_sym_const, + anon_sym_mut, + anon_sym_if, + anon_sym_while, + anon_sym_for, + anon_sym_continue, + anon_sym_break, + anon_sym_return, + anon_sym_print, + [1282] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(200), 11, + sym_signed_integer_literal, + sym_unsigned_integer_literal, + sym_char_literal, + sym_string_literal, + anon_sym_LPAREN, + anon_sym_PLUS_PLUS, + anon_sym_DASH_DASH, + anon_sym_BANG, + anon_sym_SEMI, + anon_sym_LBRACE, + anon_sym_RBRACE, + ACTIONS(198), 38, + sym_identifier, + sym_integer_literal, + anon_sym_NULL, + anon_sym_true, + anon_sym_false, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_void, + anon_sym_bool, + anon_sym_char, + anon_sym_string, + anon_sym_int, + anon_sym_I8, + anon_sym_int8_t, + anon_sym_I16, + anon_sym_int16_t, + anon_sym_I32, + anon_sym_int32_t, + anon_sym_I64, + anon_sym_int64_t, + anon_sym_uint, + anon_sym_U8, + anon_sym_uint8_t, + anon_sym_U16, + anon_sym_uint16_t, + anon_sym_U32, + anon_sym_uint32_t, + anon_sym_U64, + anon_sym_uint64_t, + anon_sym_const, + anon_sym_mut, + anon_sym_if, + anon_sym_while, + anon_sym_for, + anon_sym_continue, + anon_sym_break, + anon_sym_return, + anon_sym_print, + [1339] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(204), 11, + sym_signed_integer_literal, + sym_unsigned_integer_literal, + sym_char_literal, + sym_string_literal, + anon_sym_LPAREN, + anon_sym_PLUS_PLUS, + anon_sym_DASH_DASH, + anon_sym_BANG, + anon_sym_SEMI, + anon_sym_LBRACE, + anon_sym_RBRACE, + ACTIONS(202), 38, + sym_identifier, + sym_integer_literal, + anon_sym_NULL, + anon_sym_true, + anon_sym_false, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_void, + anon_sym_bool, + anon_sym_char, + anon_sym_string, + anon_sym_int, + anon_sym_I8, + anon_sym_int8_t, + anon_sym_I16, + anon_sym_int16_t, + anon_sym_I32, + anon_sym_int32_t, + anon_sym_I64, + anon_sym_int64_t, + anon_sym_uint, + anon_sym_U8, + anon_sym_uint8_t, + anon_sym_U16, + anon_sym_uint16_t, + anon_sym_U32, + anon_sym_uint32_t, + anon_sym_U64, + anon_sym_uint64_t, + anon_sym_const, + anon_sym_mut, + anon_sym_if, + anon_sym_while, + anon_sym_for, + anon_sym_continue, + anon_sym_break, + anon_sym_return, + anon_sym_print, + [1396] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(208), 11, + sym_signed_integer_literal, + sym_unsigned_integer_literal, + sym_char_literal, + sym_string_literal, + anon_sym_LPAREN, + anon_sym_PLUS_PLUS, + anon_sym_DASH_DASH, + anon_sym_BANG, + anon_sym_SEMI, + anon_sym_LBRACE, + anon_sym_RBRACE, + ACTIONS(206), 38, + sym_identifier, + sym_integer_literal, + anon_sym_NULL, + anon_sym_true, + anon_sym_false, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_void, + anon_sym_bool, + anon_sym_char, + anon_sym_string, + anon_sym_int, + anon_sym_I8, + anon_sym_int8_t, + anon_sym_I16, + anon_sym_int16_t, + anon_sym_I32, + anon_sym_int32_t, + anon_sym_I64, + anon_sym_int64_t, + anon_sym_uint, + anon_sym_U8, + anon_sym_uint8_t, + anon_sym_U16, + anon_sym_uint16_t, + anon_sym_U32, + anon_sym_uint32_t, + anon_sym_U64, + anon_sym_uint64_t, + anon_sym_const, + anon_sym_mut, + anon_sym_if, + anon_sym_while, + anon_sym_for, + anon_sym_continue, + anon_sym_break, + anon_sym_return, + anon_sym_print, + [1453] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(212), 11, + sym_signed_integer_literal, + sym_unsigned_integer_literal, + sym_char_literal, + sym_string_literal, + anon_sym_LPAREN, + anon_sym_PLUS_PLUS, + anon_sym_DASH_DASH, + anon_sym_BANG, + anon_sym_SEMI, + anon_sym_LBRACE, + anon_sym_RBRACE, + ACTIONS(210), 38, + sym_identifier, + sym_integer_literal, + anon_sym_NULL, + anon_sym_true, + anon_sym_false, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_void, + anon_sym_bool, + anon_sym_char, + anon_sym_string, + anon_sym_int, + anon_sym_I8, + anon_sym_int8_t, + anon_sym_I16, + anon_sym_int16_t, + anon_sym_I32, + anon_sym_int32_t, + anon_sym_I64, + anon_sym_int64_t, + anon_sym_uint, + anon_sym_U8, + anon_sym_uint8_t, + anon_sym_U16, + anon_sym_uint16_t, + anon_sym_U32, + anon_sym_uint32_t, + anon_sym_U64, + anon_sym_uint64_t, + anon_sym_const, + anon_sym_mut, + anon_sym_if, + anon_sym_while, + anon_sym_for, + anon_sym_continue, + anon_sym_break, + anon_sym_return, + anon_sym_print, + [1510] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(216), 11, + sym_signed_integer_literal, + sym_unsigned_integer_literal, + sym_char_literal, + sym_string_literal, + anon_sym_LPAREN, + anon_sym_PLUS_PLUS, + anon_sym_DASH_DASH, + anon_sym_BANG, + anon_sym_SEMI, + anon_sym_LBRACE, + anon_sym_RBRACE, + ACTIONS(214), 38, + sym_identifier, + sym_integer_literal, + anon_sym_NULL, + anon_sym_true, + anon_sym_false, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_void, + anon_sym_bool, + anon_sym_char, + anon_sym_string, + anon_sym_int, + anon_sym_I8, + anon_sym_int8_t, + anon_sym_I16, + anon_sym_int16_t, + anon_sym_I32, + anon_sym_int32_t, + anon_sym_I64, + anon_sym_int64_t, + anon_sym_uint, + anon_sym_U8, + anon_sym_uint8_t, + anon_sym_U16, + anon_sym_uint16_t, + anon_sym_U32, + anon_sym_uint32_t, + anon_sym_U64, + anon_sym_uint64_t, + anon_sym_const, + anon_sym_mut, + anon_sym_if, + anon_sym_while, + anon_sym_for, + anon_sym_continue, + anon_sym_break, + anon_sym_return, + anon_sym_print, + [1567] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(132), 11, + sym_signed_integer_literal, + sym_unsigned_integer_literal, + sym_char_literal, + sym_string_literal, + anon_sym_LPAREN, + anon_sym_PLUS_PLUS, + anon_sym_DASH_DASH, + anon_sym_BANG, + anon_sym_SEMI, + anon_sym_LBRACE, + anon_sym_RBRACE, + ACTIONS(130), 38, + sym_identifier, + sym_integer_literal, + anon_sym_NULL, + anon_sym_true, + anon_sym_false, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_void, + anon_sym_bool, + anon_sym_char, + anon_sym_string, + anon_sym_int, + anon_sym_I8, + anon_sym_int8_t, + anon_sym_I16, + anon_sym_int16_t, + anon_sym_I32, + anon_sym_int32_t, + anon_sym_I64, + anon_sym_int64_t, + anon_sym_uint, + anon_sym_U8, + anon_sym_uint8_t, + anon_sym_U16, + anon_sym_uint16_t, + anon_sym_U32, + anon_sym_uint32_t, + anon_sym_U64, + anon_sym_uint64_t, + anon_sym_const, + anon_sym_mut, + anon_sym_if, + anon_sym_while, + anon_sym_for, + anon_sym_continue, + anon_sym_break, + anon_sym_return, + anon_sym_print, + [1624] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(136), 11, + sym_signed_integer_literal, + sym_unsigned_integer_literal, + sym_char_literal, + sym_string_literal, + anon_sym_LPAREN, + anon_sym_PLUS_PLUS, + anon_sym_DASH_DASH, + anon_sym_BANG, + anon_sym_SEMI, + anon_sym_LBRACE, + anon_sym_RBRACE, + ACTIONS(134), 38, + sym_identifier, + sym_integer_literal, + anon_sym_NULL, + anon_sym_true, + anon_sym_false, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_void, + anon_sym_bool, + anon_sym_char, + anon_sym_string, + anon_sym_int, + anon_sym_I8, + anon_sym_int8_t, + anon_sym_I16, + anon_sym_int16_t, + anon_sym_I32, + anon_sym_int32_t, + anon_sym_I64, + anon_sym_int64_t, + anon_sym_uint, + anon_sym_U8, + anon_sym_uint8_t, + anon_sym_U16, + anon_sym_uint16_t, + anon_sym_U32, + anon_sym_uint32_t, + anon_sym_U64, + anon_sym_uint64_t, + anon_sym_const, + anon_sym_mut, + anon_sym_if, + anon_sym_while, + anon_sym_for, + anon_sym_continue, + anon_sym_break, + anon_sym_return, + anon_sym_print, + [1681] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(220), 11, + sym_signed_integer_literal, + sym_unsigned_integer_literal, + sym_char_literal, + sym_string_literal, + anon_sym_LPAREN, + anon_sym_PLUS_PLUS, + anon_sym_DASH_DASH, + anon_sym_BANG, + anon_sym_SEMI, + anon_sym_LBRACE, + anon_sym_RBRACE, + ACTIONS(218), 38, + sym_identifier, + sym_integer_literal, + anon_sym_NULL, + anon_sym_true, + anon_sym_false, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_void, + anon_sym_bool, + anon_sym_char, + anon_sym_string, + anon_sym_int, + anon_sym_I8, + anon_sym_int8_t, + anon_sym_I16, + anon_sym_int16_t, + anon_sym_I32, + anon_sym_int32_t, + anon_sym_I64, + anon_sym_int64_t, + anon_sym_uint, + anon_sym_U8, + anon_sym_uint8_t, + anon_sym_U16, + anon_sym_uint16_t, + anon_sym_U32, + anon_sym_uint32_t, + anon_sym_U64, + anon_sym_uint64_t, + anon_sym_const, + anon_sym_mut, + anon_sym_if, + anon_sym_while, + anon_sym_for, + anon_sym_continue, + anon_sym_break, + anon_sym_return, + anon_sym_print, + [1738] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(224), 11, + sym_signed_integer_literal, + sym_unsigned_integer_literal, + sym_char_literal, + sym_string_literal, + anon_sym_LPAREN, + anon_sym_PLUS_PLUS, + anon_sym_DASH_DASH, + anon_sym_BANG, + anon_sym_SEMI, + anon_sym_LBRACE, + anon_sym_RBRACE, + ACTIONS(222), 38, + sym_identifier, + sym_integer_literal, + anon_sym_NULL, + anon_sym_true, + anon_sym_false, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_void, + anon_sym_bool, + anon_sym_char, + anon_sym_string, + anon_sym_int, + anon_sym_I8, + anon_sym_int8_t, + anon_sym_I16, + anon_sym_int16_t, + anon_sym_I32, + anon_sym_int32_t, + anon_sym_I64, + anon_sym_int64_t, + anon_sym_uint, + anon_sym_U8, + anon_sym_uint8_t, + anon_sym_U16, + anon_sym_uint16_t, + anon_sym_U32, + anon_sym_uint32_t, + anon_sym_U64, + anon_sym_uint64_t, + anon_sym_const, + anon_sym_mut, + anon_sym_if, + anon_sym_while, + anon_sym_for, + anon_sym_continue, + anon_sym_break, + anon_sym_return, + anon_sym_print, + [1795] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(228), 11, + sym_signed_integer_literal, + sym_unsigned_integer_literal, + sym_char_literal, + sym_string_literal, + anon_sym_LPAREN, + anon_sym_PLUS_PLUS, + anon_sym_DASH_DASH, + anon_sym_BANG, + anon_sym_SEMI, + anon_sym_LBRACE, + anon_sym_RBRACE, + ACTIONS(226), 38, + sym_identifier, + sym_integer_literal, + anon_sym_NULL, + anon_sym_true, + anon_sym_false, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_void, + anon_sym_bool, + anon_sym_char, + anon_sym_string, + anon_sym_int, + anon_sym_I8, + anon_sym_int8_t, + anon_sym_I16, + anon_sym_int16_t, + anon_sym_I32, + anon_sym_int32_t, + anon_sym_I64, + anon_sym_int64_t, + anon_sym_uint, + anon_sym_U8, + anon_sym_uint8_t, + anon_sym_U16, + anon_sym_uint16_t, + anon_sym_U32, + anon_sym_uint32_t, + anon_sym_U64, + anon_sym_uint64_t, + anon_sym_const, + anon_sym_mut, + anon_sym_if, + anon_sym_while, + anon_sym_for, + anon_sym_continue, + anon_sym_break, + anon_sym_return, + anon_sym_print, + [1852] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(232), 11, + sym_signed_integer_literal, + sym_unsigned_integer_literal, + sym_char_literal, + sym_string_literal, + anon_sym_LPAREN, + anon_sym_PLUS_PLUS, + anon_sym_DASH_DASH, + anon_sym_BANG, + anon_sym_SEMI, + anon_sym_LBRACE, + anon_sym_RBRACE, + ACTIONS(230), 38, + sym_identifier, + sym_integer_literal, + anon_sym_NULL, + anon_sym_true, + anon_sym_false, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_void, + anon_sym_bool, + anon_sym_char, + anon_sym_string, + anon_sym_int, + anon_sym_I8, + anon_sym_int8_t, + anon_sym_I16, + anon_sym_int16_t, + anon_sym_I32, + anon_sym_int32_t, + anon_sym_I64, + anon_sym_int64_t, + anon_sym_uint, + anon_sym_U8, + anon_sym_uint8_t, + anon_sym_U16, + anon_sym_uint16_t, + anon_sym_U32, + anon_sym_uint32_t, + anon_sym_U64, + anon_sym_uint64_t, + anon_sym_const, + anon_sym_mut, + anon_sym_if, + anon_sym_while, + anon_sym_for, + anon_sym_continue, + anon_sym_break, + anon_sym_return, + anon_sym_print, + [1909] = 33, + ACTIONS(3), 1, + sym_comment, + ACTIONS(21), 1, + sym_identifier, + ACTIONS(25), 1, + sym_integer_literal, + ACTIONS(29), 1, + anon_sym_LPAREN, + ACTIONS(35), 1, + anon_sym_SEMI, + ACTIONS(41), 1, + anon_sym_LBRACE, + ACTIONS(45), 1, + anon_sym_if, + ACTIONS(47), 1, + anon_sym_while, + ACTIONS(49), 1, + anon_sym_for, + ACTIONS(53), 1, + anon_sym_return, + ACTIONS(55), 1, + anon_sym_print, + STATE(15), 1, + sym_statement, + STATE(16), 1, + sym_secondary_block, + STATE(81), 1, + sym_base_expression, + STATE(90), 1, + sym_constant, + STATE(92), 1, + sym_predefined_constant, + STATE(102), 1, + sym_postfix_expression, + STATE(104), 1, + sym_unary_expression, + STATE(110), 1, + sym_cast_expression, + STATE(116), 1, + sym_multiplicative_expression, + STATE(122), 1, + sym_additive_expression, + STATE(126), 1, + sym_relational_expression, + STATE(130), 1, + sym_equality_expression, + STATE(133), 1, + sym_logical_expression, + STATE(141), 1, + sym_assignment_expression, + STATE(175), 1, + sym_expression, + ACTIONS(33), 2, + anon_sym_PLUS, + anon_sym_DASH, + ACTIONS(51), 2, + anon_sym_continue, + anon_sym_break, + ACTIONS(27), 3, + anon_sym_NULL, + anon_sym_true, + anon_sym_false, + ACTIONS(31), 3, + anon_sym_PLUS_PLUS, + anon_sym_DASH_DASH, + anon_sym_BANG, + STATE(14), 3, + sym_statement_block, + sym_selection_statement, + sym_iteration_statement, + ACTIONS(23), 4, + sym_signed_integer_literal, + sym_unsigned_integer_literal, + sym_char_literal, + sym_string_literal, + STATE(13), 4, + sym_expression_statement, + sym_primary_block, + sym_jump_statement, + sym_print_statement, + [2023] = 33, + ACTIONS(3), 1, + sym_comment, + ACTIONS(21), 1, + sym_identifier, + ACTIONS(25), 1, + sym_integer_literal, + ACTIONS(29), 1, + anon_sym_LPAREN, + ACTIONS(35), 1, + anon_sym_SEMI, + ACTIONS(41), 1, + anon_sym_LBRACE, + ACTIONS(45), 1, + anon_sym_if, + ACTIONS(47), 1, + anon_sym_while, + ACTIONS(49), 1, + anon_sym_for, + ACTIONS(53), 1, + anon_sym_return, + ACTIONS(55), 1, + anon_sym_print, + STATE(15), 1, + sym_statement, + STATE(19), 1, + sym_secondary_block, + STATE(81), 1, + sym_base_expression, + STATE(90), 1, + sym_constant, + STATE(92), 1, + sym_predefined_constant, + STATE(102), 1, + sym_postfix_expression, + STATE(104), 1, + sym_unary_expression, + STATE(110), 1, + sym_cast_expression, + STATE(116), 1, + sym_multiplicative_expression, + STATE(122), 1, + sym_additive_expression, + STATE(126), 1, + sym_relational_expression, + STATE(130), 1, + sym_equality_expression, + STATE(133), 1, + sym_logical_expression, + STATE(141), 1, + sym_assignment_expression, + STATE(175), 1, + sym_expression, + ACTIONS(33), 2, + anon_sym_PLUS, + anon_sym_DASH, + ACTIONS(51), 2, + anon_sym_continue, + anon_sym_break, + ACTIONS(27), 3, + anon_sym_NULL, + anon_sym_true, + anon_sym_false, + ACTIONS(31), 3, + anon_sym_PLUS_PLUS, + anon_sym_DASH_DASH, + anon_sym_BANG, + STATE(14), 3, + sym_statement_block, + sym_selection_statement, + sym_iteration_statement, + ACTIONS(23), 4, + sym_signed_integer_literal, + sym_unsigned_integer_literal, + sym_char_literal, + sym_string_literal, + STATE(13), 4, + sym_expression_statement, + sym_primary_block, + sym_jump_statement, + sym_print_statement, + [2137] = 33, + ACTIONS(3), 1, + sym_comment, + ACTIONS(21), 1, + sym_identifier, + ACTIONS(25), 1, + sym_integer_literal, + ACTIONS(29), 1, + anon_sym_LPAREN, + ACTIONS(35), 1, + anon_sym_SEMI, + ACTIONS(41), 1, + anon_sym_LBRACE, + ACTIONS(45), 1, + anon_sym_if, + ACTIONS(47), 1, + anon_sym_while, + ACTIONS(49), 1, + anon_sym_for, + ACTIONS(53), 1, + anon_sym_return, + ACTIONS(55), 1, + anon_sym_print, + STATE(15), 1, + sym_statement, + STATE(21), 1, + sym_secondary_block, + STATE(81), 1, + sym_base_expression, + STATE(90), 1, + sym_constant, + STATE(92), 1, + sym_predefined_constant, + STATE(102), 1, + sym_postfix_expression, + STATE(104), 1, + sym_unary_expression, + STATE(110), 1, + sym_cast_expression, + STATE(116), 1, + sym_multiplicative_expression, + STATE(122), 1, + sym_additive_expression, + STATE(126), 1, + sym_relational_expression, + STATE(130), 1, + sym_equality_expression, + STATE(133), 1, + sym_logical_expression, + STATE(141), 1, + sym_assignment_expression, + STATE(175), 1, + sym_expression, + ACTIONS(33), 2, + anon_sym_PLUS, + anon_sym_DASH, + ACTIONS(51), 2, + anon_sym_continue, + anon_sym_break, + ACTIONS(27), 3, + anon_sym_NULL, + anon_sym_true, + anon_sym_false, + ACTIONS(31), 3, + anon_sym_PLUS_PLUS, + anon_sym_DASH_DASH, + anon_sym_BANG, + STATE(14), 3, + sym_statement_block, + sym_selection_statement, + sym_iteration_statement, + ACTIONS(23), 4, + sym_signed_integer_literal, + sym_unsigned_integer_literal, + sym_char_literal, + sym_string_literal, + STATE(13), 4, + sym_expression_statement, + sym_primary_block, + sym_jump_statement, + sym_print_statement, + [2251] = 33, + ACTIONS(3), 1, + sym_comment, + ACTIONS(21), 1, + sym_identifier, + ACTIONS(25), 1, + sym_integer_literal, + ACTIONS(29), 1, + anon_sym_LPAREN, + ACTIONS(35), 1, + anon_sym_SEMI, + ACTIONS(41), 1, + anon_sym_LBRACE, + ACTIONS(45), 1, + anon_sym_if, + ACTIONS(47), 1, + anon_sym_while, + ACTIONS(49), 1, + anon_sym_for, + ACTIONS(53), 1, + anon_sym_return, + ACTIONS(55), 1, + anon_sym_print, + STATE(15), 1, + sym_statement, + STATE(30), 1, + sym_secondary_block, + STATE(81), 1, + sym_base_expression, + STATE(90), 1, + sym_constant, + STATE(92), 1, + sym_predefined_constant, + STATE(102), 1, + sym_postfix_expression, + STATE(104), 1, + sym_unary_expression, + STATE(110), 1, + sym_cast_expression, + STATE(116), 1, + sym_multiplicative_expression, + STATE(122), 1, + sym_additive_expression, + STATE(126), 1, + sym_relational_expression, + STATE(130), 1, + sym_equality_expression, + STATE(133), 1, + sym_logical_expression, + STATE(141), 1, + sym_assignment_expression, + STATE(175), 1, + sym_expression, + ACTIONS(33), 2, + anon_sym_PLUS, + anon_sym_DASH, + ACTIONS(51), 2, + anon_sym_continue, + anon_sym_break, + ACTIONS(27), 3, + anon_sym_NULL, + anon_sym_true, + anon_sym_false, + ACTIONS(31), 3, + anon_sym_PLUS_PLUS, + anon_sym_DASH_DASH, + anon_sym_BANG, + STATE(14), 3, + sym_statement_block, + sym_selection_statement, + sym_iteration_statement, + ACTIONS(23), 4, + sym_signed_integer_literal, + sym_unsigned_integer_literal, + sym_char_literal, + sym_string_literal, + STATE(13), 4, + sym_expression_statement, + sym_primary_block, + sym_jump_statement, + sym_print_statement, + [2365] = 33, + ACTIONS(3), 1, + sym_comment, + ACTIONS(21), 1, + sym_identifier, + ACTIONS(25), 1, + sym_integer_literal, + ACTIONS(29), 1, + anon_sym_LPAREN, + ACTIONS(35), 1, + anon_sym_SEMI, + ACTIONS(41), 1, + anon_sym_LBRACE, + ACTIONS(45), 1, + anon_sym_if, + ACTIONS(47), 1, + anon_sym_while, + ACTIONS(49), 1, + anon_sym_for, + ACTIONS(53), 1, + anon_sym_return, + ACTIONS(55), 1, + anon_sym_print, + STATE(15), 1, + sym_statement, + STATE(22), 1, + sym_secondary_block, + STATE(81), 1, + sym_base_expression, + STATE(90), 1, + sym_constant, + STATE(92), 1, + sym_predefined_constant, + STATE(102), 1, + sym_postfix_expression, + STATE(104), 1, + sym_unary_expression, + STATE(110), 1, + sym_cast_expression, + STATE(116), 1, + sym_multiplicative_expression, + STATE(122), 1, + sym_additive_expression, + STATE(126), 1, + sym_relational_expression, + STATE(130), 1, + sym_equality_expression, + STATE(133), 1, + sym_logical_expression, + STATE(141), 1, + sym_assignment_expression, + STATE(175), 1, + sym_expression, + ACTIONS(33), 2, + anon_sym_PLUS, + anon_sym_DASH, + ACTIONS(51), 2, + anon_sym_continue, + anon_sym_break, + ACTIONS(27), 3, + anon_sym_NULL, + anon_sym_true, + anon_sym_false, + ACTIONS(31), 3, + anon_sym_PLUS_PLUS, + anon_sym_DASH_DASH, + anon_sym_BANG, + STATE(14), 3, + sym_statement_block, + sym_selection_statement, + sym_iteration_statement, + ACTIONS(23), 4, + sym_signed_integer_literal, + sym_unsigned_integer_literal, + sym_char_literal, + sym_string_literal, + STATE(13), 4, + sym_expression_statement, + sym_primary_block, + sym_jump_statement, + sym_print_statement, + [2479] = 33, + ACTIONS(3), 1, + sym_comment, + ACTIONS(21), 1, + sym_identifier, + ACTIONS(25), 1, + sym_integer_literal, + ACTIONS(29), 1, + anon_sym_LPAREN, + ACTIONS(35), 1, + anon_sym_SEMI, + ACTIONS(41), 1, + anon_sym_LBRACE, + ACTIONS(45), 1, + anon_sym_if, + ACTIONS(47), 1, + anon_sym_while, + ACTIONS(49), 1, + anon_sym_for, + ACTIONS(53), 1, + anon_sym_return, + ACTIONS(55), 1, + anon_sym_print, + STATE(15), 1, + sym_statement, + STATE(26), 1, + sym_secondary_block, + STATE(81), 1, + sym_base_expression, + STATE(90), 1, + sym_constant, + STATE(92), 1, + sym_predefined_constant, + STATE(102), 1, + sym_postfix_expression, + STATE(104), 1, + sym_unary_expression, + STATE(110), 1, + sym_cast_expression, + STATE(116), 1, + sym_multiplicative_expression, + STATE(122), 1, + sym_additive_expression, + STATE(126), 1, + sym_relational_expression, + STATE(130), 1, + sym_equality_expression, + STATE(133), 1, + sym_logical_expression, + STATE(141), 1, + sym_assignment_expression, + STATE(175), 1, + sym_expression, + ACTIONS(33), 2, + anon_sym_PLUS, + anon_sym_DASH, + ACTIONS(51), 2, + anon_sym_continue, + anon_sym_break, + ACTIONS(27), 3, + anon_sym_NULL, + anon_sym_true, + anon_sym_false, + ACTIONS(31), 3, + anon_sym_PLUS_PLUS, + anon_sym_DASH_DASH, + anon_sym_BANG, + STATE(14), 3, + sym_statement_block, + sym_selection_statement, + sym_iteration_statement, + ACTIONS(23), 4, + sym_signed_integer_literal, + sym_unsigned_integer_literal, + sym_char_literal, + sym_string_literal, + STATE(13), 4, + sym_expression_statement, + sym_primary_block, + sym_jump_statement, + sym_print_statement, + [2593] = 33, + ACTIONS(3), 1, + sym_comment, + ACTIONS(21), 1, + sym_identifier, + ACTIONS(25), 1, + sym_integer_literal, + ACTIONS(29), 1, + anon_sym_LPAREN, + ACTIONS(35), 1, + anon_sym_SEMI, + ACTIONS(41), 1, + anon_sym_LBRACE, + ACTIONS(45), 1, + anon_sym_if, + ACTIONS(47), 1, + anon_sym_while, + ACTIONS(49), 1, + anon_sym_for, + ACTIONS(53), 1, + anon_sym_return, + ACTIONS(55), 1, + anon_sym_print, + STATE(15), 1, + sym_statement, + STATE(23), 1, + sym_secondary_block, + STATE(81), 1, + sym_base_expression, + STATE(90), 1, + sym_constant, + STATE(92), 1, + sym_predefined_constant, + STATE(102), 1, + sym_postfix_expression, + STATE(104), 1, + sym_unary_expression, + STATE(110), 1, + sym_cast_expression, + STATE(116), 1, + sym_multiplicative_expression, + STATE(122), 1, + sym_additive_expression, + STATE(126), 1, + sym_relational_expression, + STATE(130), 1, + sym_equality_expression, + STATE(133), 1, + sym_logical_expression, + STATE(141), 1, + sym_assignment_expression, + STATE(175), 1, + sym_expression, + ACTIONS(33), 2, + anon_sym_PLUS, + anon_sym_DASH, + ACTIONS(51), 2, + anon_sym_continue, + anon_sym_break, + ACTIONS(27), 3, + anon_sym_NULL, + anon_sym_true, + anon_sym_false, + ACTIONS(31), 3, + anon_sym_PLUS_PLUS, + anon_sym_DASH_DASH, + anon_sym_BANG, + STATE(14), 3, + sym_statement_block, + sym_selection_statement, + sym_iteration_statement, + ACTIONS(23), 4, + sym_signed_integer_literal, + sym_unsigned_integer_literal, + sym_char_literal, + sym_string_literal, + STATE(13), 4, + sym_expression_statement, + sym_primary_block, + sym_jump_statement, + sym_print_statement, + [2707] = 33, + ACTIONS(3), 1, + sym_comment, + ACTIONS(21), 1, + sym_identifier, + ACTIONS(25), 1, + sym_integer_literal, + ACTIONS(29), 1, + anon_sym_LPAREN, + ACTIONS(35), 1, + anon_sym_SEMI, + ACTIONS(41), 1, + anon_sym_LBRACE, + ACTIONS(45), 1, + anon_sym_if, + ACTIONS(47), 1, + anon_sym_while, + ACTIONS(49), 1, + anon_sym_for, + ACTIONS(53), 1, + anon_sym_return, + ACTIONS(55), 1, + anon_sym_print, + STATE(15), 1, + sym_statement, + STATE(27), 1, + sym_secondary_block, + STATE(81), 1, + sym_base_expression, + STATE(90), 1, + sym_constant, + STATE(92), 1, + sym_predefined_constant, + STATE(102), 1, + sym_postfix_expression, + STATE(104), 1, + sym_unary_expression, + STATE(110), 1, + sym_cast_expression, + STATE(116), 1, + sym_multiplicative_expression, + STATE(122), 1, + sym_additive_expression, + STATE(126), 1, + sym_relational_expression, + STATE(130), 1, + sym_equality_expression, + STATE(133), 1, + sym_logical_expression, + STATE(141), 1, + sym_assignment_expression, + STATE(175), 1, + sym_expression, + ACTIONS(33), 2, + anon_sym_PLUS, + anon_sym_DASH, + ACTIONS(51), 2, + anon_sym_continue, + anon_sym_break, + ACTIONS(27), 3, + anon_sym_NULL, + anon_sym_true, + anon_sym_false, + ACTIONS(31), 3, + anon_sym_PLUS_PLUS, + anon_sym_DASH_DASH, + anon_sym_BANG, + STATE(14), 3, + sym_statement_block, + sym_selection_statement, + sym_iteration_statement, + ACTIONS(23), 4, + sym_signed_integer_literal, + sym_unsigned_integer_literal, + sym_char_literal, + sym_string_literal, + STATE(13), 4, + sym_expression_statement, + sym_primary_block, + sym_jump_statement, + sym_print_statement, + [2821] = 33, + ACTIONS(3), 1, + sym_comment, + ACTIONS(21), 1, + sym_identifier, + ACTIONS(25), 1, + sym_integer_literal, + ACTIONS(29), 1, + anon_sym_LPAREN, + ACTIONS(35), 1, + anon_sym_SEMI, + ACTIONS(41), 1, + anon_sym_LBRACE, + ACTIONS(45), 1, + anon_sym_if, + ACTIONS(47), 1, + anon_sym_while, + ACTIONS(49), 1, + anon_sym_for, + ACTIONS(53), 1, + anon_sym_return, + ACTIONS(55), 1, + anon_sym_print, + STATE(15), 1, + sym_statement, + STATE(28), 1, + sym_secondary_block, + STATE(81), 1, + sym_base_expression, + STATE(90), 1, + sym_constant, + STATE(92), 1, + sym_predefined_constant, + STATE(102), 1, + sym_postfix_expression, + STATE(104), 1, + sym_unary_expression, + STATE(110), 1, + sym_cast_expression, + STATE(116), 1, + sym_multiplicative_expression, + STATE(122), 1, + sym_additive_expression, + STATE(126), 1, + sym_relational_expression, + STATE(130), 1, + sym_equality_expression, + STATE(133), 1, + sym_logical_expression, + STATE(141), 1, + sym_assignment_expression, + STATE(175), 1, + sym_expression, + ACTIONS(33), 2, + anon_sym_PLUS, + anon_sym_DASH, + ACTIONS(51), 2, + anon_sym_continue, + anon_sym_break, + ACTIONS(27), 3, + anon_sym_NULL, + anon_sym_true, + anon_sym_false, + ACTIONS(31), 3, + anon_sym_PLUS_PLUS, + anon_sym_DASH_DASH, + anon_sym_BANG, + STATE(14), 3, + sym_statement_block, + sym_selection_statement, + sym_iteration_statement, + ACTIONS(23), 4, + sym_signed_integer_literal, + sym_unsigned_integer_literal, + sym_char_literal, + sym_string_literal, + STATE(13), 4, + sym_expression_statement, + sym_primary_block, + sym_jump_statement, + sym_print_statement, + [2935] = 33, + ACTIONS(3), 1, + sym_comment, + ACTIONS(21), 1, + sym_identifier, + ACTIONS(25), 1, + sym_integer_literal, + ACTIONS(29), 1, + anon_sym_LPAREN, + ACTIONS(35), 1, + anon_sym_SEMI, + ACTIONS(41), 1, + anon_sym_LBRACE, + ACTIONS(45), 1, + anon_sym_if, + ACTIONS(47), 1, + anon_sym_while, + ACTIONS(49), 1, + anon_sym_for, + ACTIONS(53), 1, + anon_sym_return, + ACTIONS(55), 1, + anon_sym_print, + STATE(15), 1, + sym_statement, + STATE(18), 1, + sym_secondary_block, + STATE(81), 1, + sym_base_expression, + STATE(90), 1, + sym_constant, + STATE(92), 1, + sym_predefined_constant, + STATE(102), 1, + sym_postfix_expression, + STATE(104), 1, + sym_unary_expression, + STATE(110), 1, + sym_cast_expression, + STATE(116), 1, + sym_multiplicative_expression, + STATE(122), 1, + sym_additive_expression, + STATE(126), 1, + sym_relational_expression, + STATE(130), 1, + sym_equality_expression, + STATE(133), 1, + sym_logical_expression, + STATE(141), 1, + sym_assignment_expression, + STATE(175), 1, + sym_expression, + ACTIONS(33), 2, + anon_sym_PLUS, + anon_sym_DASH, + ACTIONS(51), 2, + anon_sym_continue, + anon_sym_break, + ACTIONS(27), 3, + anon_sym_NULL, + anon_sym_true, + anon_sym_false, + ACTIONS(31), 3, + anon_sym_PLUS_PLUS, + anon_sym_DASH_DASH, + anon_sym_BANG, + STATE(14), 3, + sym_statement_block, + sym_selection_statement, + sym_iteration_statement, + ACTIONS(23), 4, + sym_signed_integer_literal, + sym_unsigned_integer_literal, + sym_char_literal, + sym_string_literal, + STATE(13), 4, + sym_expression_statement, + sym_primary_block, + sym_jump_statement, + sym_print_statement, + [3049] = 33, + ACTIONS(3), 1, + sym_comment, + ACTIONS(21), 1, + sym_identifier, + ACTIONS(25), 1, + sym_integer_literal, + ACTIONS(29), 1, + anon_sym_LPAREN, + ACTIONS(35), 1, + anon_sym_SEMI, + ACTIONS(41), 1, + anon_sym_LBRACE, + ACTIONS(45), 1, + anon_sym_if, + ACTIONS(47), 1, + anon_sym_while, + ACTIONS(49), 1, + anon_sym_for, + ACTIONS(53), 1, + anon_sym_return, + ACTIONS(55), 1, + anon_sym_print, + STATE(15), 1, + sym_statement, + STATE(24), 1, + sym_secondary_block, + STATE(81), 1, + sym_base_expression, + STATE(90), 1, + sym_constant, + STATE(92), 1, + sym_predefined_constant, + STATE(102), 1, + sym_postfix_expression, + STATE(104), 1, + sym_unary_expression, + STATE(110), 1, + sym_cast_expression, + STATE(116), 1, + sym_multiplicative_expression, + STATE(122), 1, + sym_additive_expression, + STATE(126), 1, + sym_relational_expression, + STATE(130), 1, + sym_equality_expression, + STATE(133), 1, + sym_logical_expression, + STATE(141), 1, + sym_assignment_expression, + STATE(175), 1, + sym_expression, + ACTIONS(33), 2, + anon_sym_PLUS, + anon_sym_DASH, + ACTIONS(51), 2, + anon_sym_continue, + anon_sym_break, + ACTIONS(27), 3, + anon_sym_NULL, + anon_sym_true, + anon_sym_false, + ACTIONS(31), 3, + anon_sym_PLUS_PLUS, + anon_sym_DASH_DASH, + anon_sym_BANG, + STATE(14), 3, + sym_statement_block, + sym_selection_statement, + sym_iteration_statement, + ACTIONS(23), 4, + sym_signed_integer_literal, + sym_unsigned_integer_literal, + sym_char_literal, + sym_string_literal, + STATE(13), 4, + sym_expression_statement, + sym_primary_block, + sym_jump_statement, + sym_print_statement, + [3163] = 33, + ACTIONS(3), 1, + sym_comment, + ACTIONS(21), 1, + sym_identifier, + ACTIONS(25), 1, + sym_integer_literal, + ACTIONS(29), 1, + anon_sym_LPAREN, + ACTIONS(35), 1, + anon_sym_SEMI, + ACTIONS(41), 1, + anon_sym_LBRACE, + ACTIONS(45), 1, + anon_sym_if, + ACTIONS(47), 1, + anon_sym_while, + ACTIONS(49), 1, + anon_sym_for, + ACTIONS(53), 1, + anon_sym_return, + ACTIONS(55), 1, + anon_sym_print, + STATE(12), 1, + sym_secondary_block, + STATE(15), 1, + sym_statement, + STATE(81), 1, + sym_base_expression, + STATE(90), 1, + sym_constant, + STATE(92), 1, + sym_predefined_constant, + STATE(102), 1, + sym_postfix_expression, + STATE(104), 1, + sym_unary_expression, + STATE(110), 1, + sym_cast_expression, + STATE(116), 1, + sym_multiplicative_expression, + STATE(122), 1, + sym_additive_expression, + STATE(126), 1, + sym_relational_expression, + STATE(130), 1, + sym_equality_expression, + STATE(133), 1, + sym_logical_expression, + STATE(141), 1, + sym_assignment_expression, + STATE(175), 1, + sym_expression, + ACTIONS(33), 2, + anon_sym_PLUS, + anon_sym_DASH, + ACTIONS(51), 2, + anon_sym_continue, + anon_sym_break, + ACTIONS(27), 3, + anon_sym_NULL, + anon_sym_true, + anon_sym_false, + ACTIONS(31), 3, + anon_sym_PLUS_PLUS, + anon_sym_DASH_DASH, + anon_sym_BANG, + STATE(14), 3, + sym_statement_block, + sym_selection_statement, + sym_iteration_statement, + ACTIONS(23), 4, + sym_signed_integer_literal, + sym_unsigned_integer_literal, + sym_char_literal, + sym_string_literal, + STATE(13), 4, + sym_expression_statement, + sym_primary_block, + sym_jump_statement, + sym_print_statement, + [3277] = 33, + ACTIONS(3), 1, + sym_comment, + ACTIONS(21), 1, + sym_identifier, + ACTIONS(25), 1, + sym_integer_literal, + ACTIONS(29), 1, + anon_sym_LPAREN, + ACTIONS(35), 1, + anon_sym_SEMI, + ACTIONS(41), 1, + anon_sym_LBRACE, + ACTIONS(45), 1, + anon_sym_if, + ACTIONS(47), 1, + anon_sym_while, + ACTIONS(49), 1, + anon_sym_for, + ACTIONS(53), 1, + anon_sym_return, + ACTIONS(55), 1, + anon_sym_print, + STATE(15), 1, + sym_statement, + STATE(25), 1, + sym_secondary_block, + STATE(81), 1, + sym_base_expression, + STATE(90), 1, + sym_constant, + STATE(92), 1, + sym_predefined_constant, + STATE(102), 1, + sym_postfix_expression, + STATE(104), 1, + sym_unary_expression, + STATE(110), 1, + sym_cast_expression, + STATE(116), 1, + sym_multiplicative_expression, + STATE(122), 1, + sym_additive_expression, + STATE(126), 1, + sym_relational_expression, + STATE(130), 1, + sym_equality_expression, + STATE(133), 1, + sym_logical_expression, + STATE(141), 1, + sym_assignment_expression, + STATE(175), 1, + sym_expression, + ACTIONS(33), 2, + anon_sym_PLUS, + anon_sym_DASH, + ACTIONS(51), 2, + anon_sym_continue, + anon_sym_break, + ACTIONS(27), 3, + anon_sym_NULL, + anon_sym_true, + anon_sym_false, + ACTIONS(31), 3, + anon_sym_PLUS_PLUS, + anon_sym_DASH_DASH, + anon_sym_BANG, + STATE(14), 3, + sym_statement_block, + sym_selection_statement, + sym_iteration_statement, + ACTIONS(23), 4, + sym_signed_integer_literal, + sym_unsigned_integer_literal, + sym_char_literal, + sym_string_literal, + STATE(13), 4, + sym_expression_statement, + sym_primary_block, + sym_jump_statement, + sym_print_statement, + [3391] = 17, + ACTIONS(3), 1, + sym_comment, + ACTIONS(234), 1, + ts_builtin_sym_end, + ACTIONS(236), 1, + anon_sym_function, + ACTIONS(242), 1, + anon_sym_int, + ACTIONS(248), 1, + anon_sym_uint, + STATE(82), 1, + sym_type_qualifier, + STATE(86), 1, + sym_type_qualifier_list, + STATE(140), 1, + sym_type_specifier, + STATE(162), 1, + sym_declaration_specifier, + STATE(165), 1, + sym_type_specifier_qualifier, + ACTIONS(254), 2, + anon_sym_const, + anon_sym_mut, + STATE(51), 2, + sym_translation_entity, + aux_sym_source_file_repeat1, + STATE(83), 2, + sym_function_definition, + sym_declaration, + STATE(138), 3, + sym_int_type, + sym_uint_type, + sym_array_specifier, + ACTIONS(239), 4, + anon_sym_void, + anon_sym_bool, + anon_sym_char, + anon_sym_string, + ACTIONS(245), 8, + anon_sym_I8, + anon_sym_int8_t, + anon_sym_I16, + anon_sym_int16_t, + anon_sym_I32, + anon_sym_int32_t, + anon_sym_I64, + anon_sym_int64_t, + ACTIONS(251), 8, + anon_sym_U8, + anon_sym_uint8_t, + anon_sym_U16, + anon_sym_uint16_t, + anon_sym_U32, + anon_sym_uint32_t, + anon_sym_U64, + anon_sym_uint64_t, + [3465] = 17, + ACTIONS(3), 1, + sym_comment, + ACTIONS(7), 1, + anon_sym_function, + ACTIONS(11), 1, + anon_sym_int, + ACTIONS(15), 1, + anon_sym_uint, + ACTIONS(257), 1, + ts_builtin_sym_end, + STATE(82), 1, + sym_type_qualifier, + STATE(86), 1, + sym_type_qualifier_list, + STATE(140), 1, + sym_type_specifier, + STATE(162), 1, + sym_declaration_specifier, + STATE(165), 1, + sym_type_specifier_qualifier, + ACTIONS(19), 2, + anon_sym_const, + anon_sym_mut, + STATE(51), 2, + sym_translation_entity, + aux_sym_source_file_repeat1, + STATE(83), 2, + sym_function_definition, + sym_declaration, + STATE(138), 3, + sym_int_type, + sym_uint_type, + sym_array_specifier, + ACTIONS(9), 4, + anon_sym_void, + anon_sym_bool, + anon_sym_char, + anon_sym_string, + ACTIONS(13), 8, + anon_sym_I8, + anon_sym_int8_t, + anon_sym_I16, + anon_sym_int16_t, + anon_sym_I32, + anon_sym_int32_t, + anon_sym_I64, + anon_sym_int64_t, + ACTIONS(17), 8, + anon_sym_U8, + anon_sym_uint8_t, + anon_sym_U16, + anon_sym_uint16_t, + anon_sym_U32, + anon_sym_uint32_t, + anon_sym_U64, + anon_sym_uint64_t, + [3539] = 16, + ACTIONS(3), 1, + sym_comment, + ACTIONS(11), 1, + anon_sym_int, + ACTIONS(15), 1, + anon_sym_uint, + ACTIONS(259), 1, + anon_sym_RPAREN, + STATE(82), 1, + sym_type_qualifier, + STATE(86), 1, + sym_type_qualifier_list, + STATE(140), 1, + sym_type_specifier, + STATE(152), 1, + sym_parameter_declaration, + STATE(165), 1, + sym_type_specifier_qualifier, + STATE(193), 1, + sym_declaration_specifier, + STATE(194), 1, + sym_parameter_list, + ACTIONS(19), 2, + anon_sym_const, + anon_sym_mut, + STATE(138), 3, + sym_int_type, + sym_uint_type, + sym_array_specifier, + ACTIONS(9), 4, + anon_sym_void, + anon_sym_bool, + anon_sym_char, + anon_sym_string, + ACTIONS(13), 8, + anon_sym_I8, + anon_sym_int8_t, + anon_sym_I16, + anon_sym_int16_t, + anon_sym_I32, + anon_sym_int32_t, + anon_sym_I64, + anon_sym_int64_t, + ACTIONS(17), 8, + anon_sym_U8, + anon_sym_uint8_t, + anon_sym_U16, + anon_sym_uint16_t, + anon_sym_U32, + anon_sym_uint32_t, + anon_sym_U64, + anon_sym_uint64_t, + [3608] = 14, + ACTIONS(3), 1, + sym_comment, + ACTIONS(11), 1, + anon_sym_int, + ACTIONS(15), 1, + anon_sym_uint, + STATE(82), 1, + sym_type_qualifier, + STATE(86), 1, + sym_type_qualifier_list, + STATE(140), 1, + sym_type_specifier, + STATE(165), 1, + sym_type_specifier_qualifier, + STATE(180), 1, + sym_declaration_specifier, + STATE(181), 1, + sym_return_list, + ACTIONS(19), 2, + anon_sym_const, + anon_sym_mut, + STATE(138), 3, + sym_int_type, + sym_uint_type, + sym_array_specifier, + ACTIONS(9), 4, + anon_sym_void, + anon_sym_bool, + anon_sym_char, + anon_sym_string, + ACTIONS(13), 8, + anon_sym_I8, + anon_sym_int8_t, + anon_sym_I16, + anon_sym_int16_t, + anon_sym_I32, + anon_sym_int32_t, + anon_sym_I64, + anon_sym_int64_t, + ACTIONS(17), 8, + anon_sym_U8, + anon_sym_uint8_t, + anon_sym_U16, + anon_sym_uint16_t, + anon_sym_U32, + anon_sym_uint32_t, + anon_sym_U64, + anon_sym_uint64_t, + [3671] = 14, + ACTIONS(3), 1, + sym_comment, + ACTIONS(11), 1, + anon_sym_int, + ACTIONS(15), 1, + anon_sym_uint, + STATE(82), 1, + sym_type_qualifier, + STATE(86), 1, + sym_type_qualifier_list, + STATE(140), 1, + sym_type_specifier, + STATE(163), 1, + sym_parameter_declaration, + STATE(165), 1, + sym_type_specifier_qualifier, + STATE(193), 1, + sym_declaration_specifier, + ACTIONS(19), 2, + anon_sym_const, + anon_sym_mut, + STATE(138), 3, + sym_int_type, + sym_uint_type, + sym_array_specifier, + ACTIONS(9), 4, + anon_sym_void, + anon_sym_bool, + anon_sym_char, + anon_sym_string, + ACTIONS(13), 8, + anon_sym_I8, + anon_sym_int8_t, + anon_sym_I16, + anon_sym_int16_t, + anon_sym_I32, + anon_sym_int32_t, + anon_sym_I64, + anon_sym_int64_t, + ACTIONS(17), 8, + anon_sym_U8, + anon_sym_uint8_t, + anon_sym_U16, + anon_sym_uint16_t, + anon_sym_U32, + anon_sym_uint32_t, + anon_sym_U64, + anon_sym_uint64_t, + [3734] = 14, + ACTIONS(3), 1, + sym_comment, + ACTIONS(11), 1, + anon_sym_int, + ACTIONS(15), 1, + anon_sym_uint, + STATE(82), 1, + sym_type_qualifier, + STATE(86), 1, + sym_type_qualifier_list, + STATE(140), 1, + sym_type_specifier, + STATE(165), 1, + sym_type_specifier_qualifier, + STATE(178), 1, + sym_return_list, + STATE(180), 1, + sym_declaration_specifier, + ACTIONS(19), 2, + anon_sym_const, + anon_sym_mut, + STATE(138), 3, + sym_int_type, + sym_uint_type, + sym_array_specifier, + ACTIONS(9), 4, + anon_sym_void, + anon_sym_bool, + anon_sym_char, + anon_sym_string, + ACTIONS(13), 8, + anon_sym_I8, + anon_sym_int8_t, + anon_sym_I16, + anon_sym_int16_t, + anon_sym_I32, + anon_sym_int32_t, + anon_sym_I64, + anon_sym_int64_t, + ACTIONS(17), 8, + anon_sym_U8, + anon_sym_uint8_t, + anon_sym_U16, + anon_sym_uint16_t, + anon_sym_U32, + anon_sym_uint32_t, + anon_sym_U64, + anon_sym_uint64_t, + [3797] = 24, + ACTIONS(3), 1, + sym_comment, + ACTIONS(21), 1, + sym_identifier, + ACTIONS(25), 1, + sym_integer_literal, + ACTIONS(29), 1, + anon_sym_LPAREN, + ACTIONS(261), 1, + anon_sym_LBRACE, + ACTIONS(263), 1, + anon_sym_RBRACE, + STATE(81), 1, + sym_base_expression, + STATE(90), 1, + sym_constant, + STATE(92), 1, + sym_predefined_constant, + STATE(102), 1, + sym_postfix_expression, + STATE(104), 1, + sym_unary_expression, + STATE(110), 1, + sym_cast_expression, + STATE(116), 1, + sym_multiplicative_expression, + STATE(122), 1, + sym_additive_expression, + STATE(126), 1, + sym_relational_expression, + STATE(130), 1, + sym_equality_expression, + STATE(133), 1, + sym_logical_expression, + STATE(151), 1, + sym_initializer, + STATE(187), 1, + sym_initializer_list, + ACTIONS(33), 2, + anon_sym_PLUS, + anon_sym_DASH, + STATE(153), 2, + sym_assignment_expression, + sym_braced_initializer, + ACTIONS(27), 3, + anon_sym_NULL, + anon_sym_true, + anon_sym_false, + ACTIONS(31), 3, + anon_sym_PLUS_PLUS, + anon_sym_DASH_DASH, + anon_sym_BANG, + ACTIONS(23), 4, + sym_signed_integer_literal, + sym_unsigned_integer_literal, + sym_char_literal, + sym_string_literal, + [3879] = 22, + ACTIONS(3), 1, + sym_comment, + ACTIONS(21), 1, + sym_identifier, + ACTIONS(25), 1, + sym_integer_literal, + ACTIONS(29), 1, + anon_sym_LPAREN, + ACTIONS(261), 1, + anon_sym_LBRACE, + STATE(81), 1, + sym_base_expression, + STATE(90), 1, + sym_constant, + STATE(92), 1, + sym_predefined_constant, + STATE(102), 1, + sym_postfix_expression, + STATE(104), 1, + sym_unary_expression, + STATE(110), 1, + sym_cast_expression, + STATE(116), 1, + sym_multiplicative_expression, + STATE(122), 1, + sym_additive_expression, + STATE(126), 1, + sym_relational_expression, + STATE(130), 1, + sym_equality_expression, + STATE(133), 1, + sym_logical_expression, + STATE(155), 1, + sym_initializer, + ACTIONS(33), 2, + anon_sym_PLUS, + anon_sym_DASH, + STATE(153), 2, + sym_assignment_expression, + sym_braced_initializer, + ACTIONS(27), 3, + anon_sym_NULL, + anon_sym_true, + anon_sym_false, + ACTIONS(31), 3, + anon_sym_PLUS_PLUS, + anon_sym_DASH_DASH, + anon_sym_BANG, + ACTIONS(23), 4, + sym_signed_integer_literal, + sym_unsigned_integer_literal, + sym_char_literal, + sym_string_literal, + [3955] = 22, + ACTIONS(3), 1, + sym_comment, + ACTIONS(21), 1, + sym_identifier, + ACTIONS(25), 1, + sym_integer_literal, + ACTIONS(29), 1, + anon_sym_LPAREN, + ACTIONS(261), 1, + anon_sym_LBRACE, + STATE(81), 1, + sym_base_expression, + STATE(90), 1, + sym_constant, + STATE(92), 1, + sym_predefined_constant, + STATE(102), 1, + sym_postfix_expression, + STATE(104), 1, + sym_unary_expression, + STATE(110), 1, + sym_cast_expression, + STATE(116), 1, + sym_multiplicative_expression, + STATE(122), 1, + sym_additive_expression, + STATE(126), 1, + sym_relational_expression, + STATE(130), 1, + sym_equality_expression, + STATE(133), 1, + sym_logical_expression, + STATE(196), 1, + sym_initializer, + ACTIONS(33), 2, + anon_sym_PLUS, + anon_sym_DASH, + STATE(153), 2, + sym_assignment_expression, + sym_braced_initializer, + ACTIONS(27), 3, + anon_sym_NULL, + anon_sym_true, + anon_sym_false, + ACTIONS(31), 3, + anon_sym_PLUS_PLUS, + anon_sym_DASH_DASH, + anon_sym_BANG, + ACTIONS(23), 4, + sym_signed_integer_literal, + sym_unsigned_integer_literal, + sym_char_literal, + sym_string_literal, + [4031] = 22, + ACTIONS(3), 1, + sym_comment, + ACTIONS(21), 1, + sym_identifier, + ACTIONS(25), 1, + sym_integer_literal, + ACTIONS(29), 1, + anon_sym_LPAREN, + ACTIONS(265), 1, + anon_sym_RPAREN, + STATE(81), 1, + sym_base_expression, + STATE(90), 1, + sym_constant, + STATE(92), 1, + sym_predefined_constant, + STATE(102), 1, + sym_postfix_expression, + STATE(104), 1, + sym_unary_expression, + STATE(110), 1, + sym_cast_expression, + STATE(116), 1, + sym_multiplicative_expression, + STATE(122), 1, + sym_additive_expression, + STATE(126), 1, + sym_relational_expression, + STATE(130), 1, + sym_equality_expression, + STATE(133), 1, + sym_logical_expression, + STATE(141), 1, + sym_assignment_expression, + STATE(185), 1, + sym_expression, + ACTIONS(33), 2, + anon_sym_PLUS, + anon_sym_DASH, + ACTIONS(27), 3, + anon_sym_NULL, + anon_sym_true, + anon_sym_false, + ACTIONS(31), 3, + anon_sym_PLUS_PLUS, + anon_sym_DASH_DASH, + anon_sym_BANG, + ACTIONS(23), 4, + sym_signed_integer_literal, + sym_unsigned_integer_literal, + sym_char_literal, + sym_string_literal, + [4106] = 22, + ACTIONS(3), 1, + sym_comment, + ACTIONS(21), 1, + sym_identifier, + ACTIONS(25), 1, + sym_integer_literal, + ACTIONS(29), 1, + anon_sym_LPAREN, + ACTIONS(267), 1, + anon_sym_SEMI, + STATE(81), 1, + sym_base_expression, + STATE(90), 1, + sym_constant, + STATE(92), 1, + sym_predefined_constant, + STATE(102), 1, + sym_postfix_expression, + STATE(104), 1, + sym_unary_expression, + STATE(110), 1, + sym_cast_expression, + STATE(116), 1, + sym_multiplicative_expression, + STATE(122), 1, + sym_additive_expression, + STATE(126), 1, + sym_relational_expression, + STATE(130), 1, + sym_equality_expression, + STATE(133), 1, + sym_logical_expression, + STATE(141), 1, + sym_assignment_expression, + STATE(200), 1, + sym_expression, + ACTIONS(33), 2, + anon_sym_PLUS, + anon_sym_DASH, + ACTIONS(27), 3, + anon_sym_NULL, + anon_sym_true, + anon_sym_false, + ACTIONS(31), 3, + anon_sym_PLUS_PLUS, + anon_sym_DASH_DASH, + anon_sym_BANG, + ACTIONS(23), 4, + sym_signed_integer_literal, + sym_unsigned_integer_literal, + sym_char_literal, + sym_string_literal, + [4181] = 22, + ACTIONS(3), 1, + sym_comment, + ACTIONS(21), 1, + sym_identifier, + ACTIONS(25), 1, + sym_integer_literal, + ACTIONS(29), 1, + anon_sym_LPAREN, + ACTIONS(269), 1, + anon_sym_SEMI, + STATE(81), 1, + sym_base_expression, + STATE(90), 1, + sym_constant, + STATE(92), 1, + sym_predefined_constant, + STATE(102), 1, + sym_postfix_expression, + STATE(104), 1, + sym_unary_expression, + STATE(110), 1, + sym_cast_expression, + STATE(116), 1, + sym_multiplicative_expression, + STATE(122), 1, + sym_additive_expression, + STATE(126), 1, + sym_relational_expression, + STATE(130), 1, + sym_equality_expression, + STATE(133), 1, + sym_logical_expression, + STATE(141), 1, + sym_assignment_expression, + STATE(188), 1, + sym_expression, + ACTIONS(33), 2, + anon_sym_PLUS, + anon_sym_DASH, + ACTIONS(27), 3, + anon_sym_NULL, + anon_sym_true, + anon_sym_false, + ACTIONS(31), 3, + anon_sym_PLUS_PLUS, + anon_sym_DASH_DASH, + anon_sym_BANG, + ACTIONS(23), 4, + sym_signed_integer_literal, + sym_unsigned_integer_literal, + sym_char_literal, + sym_string_literal, + [4256] = 22, + ACTIONS(3), 1, + sym_comment, + ACTIONS(21), 1, + sym_identifier, + ACTIONS(25), 1, + sym_integer_literal, + ACTIONS(29), 1, + anon_sym_LPAREN, + ACTIONS(271), 1, + anon_sym_SEMI, + STATE(81), 1, + sym_base_expression, + STATE(90), 1, + sym_constant, + STATE(92), 1, + sym_predefined_constant, + STATE(102), 1, + sym_postfix_expression, + STATE(104), 1, + sym_unary_expression, + STATE(110), 1, + sym_cast_expression, + STATE(116), 1, + sym_multiplicative_expression, + STATE(122), 1, + sym_additive_expression, + STATE(126), 1, + sym_relational_expression, + STATE(130), 1, + sym_equality_expression, + STATE(133), 1, + sym_logical_expression, + STATE(141), 1, + sym_assignment_expression, + STATE(195), 1, + sym_expression, + ACTIONS(33), 2, + anon_sym_PLUS, + anon_sym_DASH, + ACTIONS(27), 3, + anon_sym_NULL, + anon_sym_true, + anon_sym_false, + ACTIONS(31), 3, + anon_sym_PLUS_PLUS, + anon_sym_DASH_DASH, + anon_sym_BANG, + ACTIONS(23), 4, + sym_signed_integer_literal, + sym_unsigned_integer_literal, + sym_char_literal, + sym_string_literal, + [4331] = 22, + ACTIONS(3), 1, + sym_comment, + ACTIONS(21), 1, + sym_identifier, + ACTIONS(25), 1, + sym_integer_literal, + ACTIONS(29), 1, + anon_sym_LPAREN, + ACTIONS(273), 1, + anon_sym_RPAREN, + STATE(81), 1, + sym_base_expression, + STATE(90), 1, + sym_constant, + STATE(92), 1, + sym_predefined_constant, + STATE(102), 1, + sym_postfix_expression, + STATE(104), 1, + sym_unary_expression, + STATE(110), 1, + sym_cast_expression, + STATE(116), 1, + sym_multiplicative_expression, + STATE(122), 1, + sym_additive_expression, + STATE(126), 1, + sym_relational_expression, + STATE(130), 1, + sym_equality_expression, + STATE(133), 1, + sym_logical_expression, + STATE(141), 1, + sym_assignment_expression, + STATE(176), 1, + sym_expression, + ACTIONS(33), 2, + anon_sym_PLUS, + anon_sym_DASH, + ACTIONS(27), 3, + anon_sym_NULL, + anon_sym_true, + anon_sym_false, + ACTIONS(31), 3, + anon_sym_PLUS_PLUS, + anon_sym_DASH_DASH, + anon_sym_BANG, + ACTIONS(23), 4, + sym_signed_integer_literal, + sym_unsigned_integer_literal, + sym_char_literal, + sym_string_literal, + [4406] = 22, + ACTIONS(3), 1, + sym_comment, + ACTIONS(21), 1, + sym_identifier, + ACTIONS(25), 1, + sym_integer_literal, + ACTIONS(29), 1, + anon_sym_LPAREN, + ACTIONS(275), 1, + anon_sym_SEMI, + STATE(81), 1, + sym_base_expression, + STATE(90), 1, + sym_constant, + STATE(92), 1, + sym_predefined_constant, + STATE(102), 1, + sym_postfix_expression, + STATE(104), 1, + sym_unary_expression, + STATE(110), 1, + sym_cast_expression, + STATE(116), 1, + sym_multiplicative_expression, + STATE(122), 1, + sym_additive_expression, + STATE(126), 1, + sym_relational_expression, + STATE(130), 1, + sym_equality_expression, + STATE(133), 1, + sym_logical_expression, + STATE(141), 1, + sym_assignment_expression, + STATE(192), 1, + sym_expression, + ACTIONS(33), 2, + anon_sym_PLUS, + anon_sym_DASH, + ACTIONS(27), 3, + anon_sym_NULL, + anon_sym_true, + anon_sym_false, + ACTIONS(31), 3, + anon_sym_PLUS_PLUS, + anon_sym_DASH_DASH, + anon_sym_BANG, + ACTIONS(23), 4, + sym_signed_integer_literal, + sym_unsigned_integer_literal, + sym_char_literal, + sym_string_literal, + [4481] = 22, + ACTIONS(3), 1, + sym_comment, + ACTIONS(21), 1, + sym_identifier, + ACTIONS(25), 1, + sym_integer_literal, + ACTIONS(29), 1, + anon_sym_LPAREN, + ACTIONS(277), 1, + anon_sym_RPAREN, + STATE(81), 1, + sym_base_expression, + STATE(90), 1, + sym_constant, + STATE(92), 1, + sym_predefined_constant, + STATE(102), 1, + sym_postfix_expression, + STATE(104), 1, + sym_unary_expression, + STATE(110), 1, + sym_cast_expression, + STATE(116), 1, + sym_multiplicative_expression, + STATE(122), 1, + sym_additive_expression, + STATE(126), 1, + sym_relational_expression, + STATE(130), 1, + sym_equality_expression, + STATE(133), 1, + sym_logical_expression, + STATE(141), 1, + sym_assignment_expression, + STATE(198), 1, + sym_expression, + ACTIONS(33), 2, + anon_sym_PLUS, + anon_sym_DASH, + ACTIONS(27), 3, + anon_sym_NULL, + anon_sym_true, + anon_sym_false, + ACTIONS(31), 3, + anon_sym_PLUS_PLUS, + anon_sym_DASH_DASH, + anon_sym_BANG, + ACTIONS(23), 4, + sym_signed_integer_literal, + sym_unsigned_integer_literal, + sym_char_literal, + sym_string_literal, + [4556] = 22, + ACTIONS(3), 1, + sym_comment, + ACTIONS(21), 1, + sym_identifier, + ACTIONS(25), 1, + sym_integer_literal, + ACTIONS(29), 1, + anon_sym_LPAREN, + ACTIONS(279), 1, + anon_sym_RPAREN, + STATE(81), 1, + sym_base_expression, + STATE(90), 1, + sym_constant, + STATE(92), 1, + sym_predefined_constant, + STATE(102), 1, + sym_postfix_expression, + STATE(104), 1, + sym_unary_expression, + STATE(110), 1, + sym_cast_expression, + STATE(116), 1, + sym_multiplicative_expression, + STATE(122), 1, + sym_additive_expression, + STATE(126), 1, + sym_relational_expression, + STATE(130), 1, + sym_equality_expression, + STATE(133), 1, + sym_logical_expression, + STATE(141), 1, + sym_assignment_expression, + STATE(170), 1, + sym_expression, + ACTIONS(33), 2, + anon_sym_PLUS, + anon_sym_DASH, + ACTIONS(27), 3, + anon_sym_NULL, + anon_sym_true, + anon_sym_false, + ACTIONS(31), 3, + anon_sym_PLUS_PLUS, + anon_sym_DASH_DASH, + anon_sym_BANG, + ACTIONS(23), 4, + sym_signed_integer_literal, + sym_unsigned_integer_literal, + sym_char_literal, + sym_string_literal, + [4631] = 22, + ACTIONS(3), 1, + sym_comment, + ACTIONS(21), 1, + sym_identifier, + ACTIONS(25), 1, + sym_integer_literal, + ACTIONS(29), 1, + anon_sym_LPAREN, + ACTIONS(281), 1, + anon_sym_RPAREN, + STATE(81), 1, + sym_base_expression, + STATE(90), 1, + sym_constant, + STATE(92), 1, + sym_predefined_constant, + STATE(102), 1, + sym_postfix_expression, + STATE(104), 1, + sym_unary_expression, + STATE(110), 1, + sym_cast_expression, + STATE(116), 1, + sym_multiplicative_expression, + STATE(122), 1, + sym_additive_expression, + STATE(126), 1, + sym_relational_expression, + STATE(130), 1, + sym_equality_expression, + STATE(133), 1, + sym_logical_expression, + STATE(141), 1, + sym_assignment_expression, + STATE(172), 1, + sym_expression, + ACTIONS(33), 2, + anon_sym_PLUS, + anon_sym_DASH, + ACTIONS(27), 3, + anon_sym_NULL, + anon_sym_true, + anon_sym_false, + ACTIONS(31), 3, + anon_sym_PLUS_PLUS, + anon_sym_DASH_DASH, + anon_sym_BANG, + ACTIONS(23), 4, + sym_signed_integer_literal, + sym_unsigned_integer_literal, + sym_char_literal, + sym_string_literal, + [4706] = 22, + ACTIONS(3), 1, + sym_comment, + ACTIONS(21), 1, + sym_identifier, + ACTIONS(25), 1, + sym_integer_literal, + ACTIONS(29), 1, + anon_sym_LPAREN, + ACTIONS(283), 1, + anon_sym_RPAREN, + STATE(81), 1, + sym_base_expression, + STATE(90), 1, + sym_constant, + STATE(92), 1, + sym_predefined_constant, + STATE(102), 1, + sym_postfix_expression, + STATE(104), 1, + sym_unary_expression, + STATE(110), 1, + sym_cast_expression, + STATE(116), 1, + sym_multiplicative_expression, + STATE(122), 1, + sym_additive_expression, + STATE(126), 1, + sym_relational_expression, + STATE(130), 1, + sym_equality_expression, + STATE(133), 1, + sym_logical_expression, + STATE(141), 1, + sym_assignment_expression, + STATE(177), 1, + sym_expression, + ACTIONS(33), 2, + anon_sym_PLUS, + anon_sym_DASH, + ACTIONS(27), 3, + anon_sym_NULL, + anon_sym_true, + anon_sym_false, + ACTIONS(31), 3, + anon_sym_PLUS_PLUS, + anon_sym_DASH_DASH, + anon_sym_BANG, + ACTIONS(23), 4, + sym_signed_integer_literal, + sym_unsigned_integer_literal, + sym_char_literal, + sym_string_literal, + [4781] = 22, + ACTIONS(3), 1, + sym_comment, + ACTIONS(21), 1, + sym_identifier, + ACTIONS(25), 1, + sym_integer_literal, + ACTIONS(29), 1, + anon_sym_LPAREN, + ACTIONS(285), 1, + anon_sym_RPAREN, + STATE(81), 1, + sym_base_expression, + STATE(90), 1, + sym_constant, + STATE(92), 1, + sym_predefined_constant, + STATE(102), 1, + sym_postfix_expression, + STATE(104), 1, + sym_unary_expression, + STATE(110), 1, + sym_cast_expression, + STATE(116), 1, + sym_multiplicative_expression, + STATE(122), 1, + sym_additive_expression, + STATE(126), 1, + sym_relational_expression, + STATE(130), 1, + sym_equality_expression, + STATE(133), 1, + sym_logical_expression, + STATE(146), 1, + sym_assignment_expression, + STATE(184), 1, + sym_argument_expression_list, + ACTIONS(33), 2, + anon_sym_PLUS, + anon_sym_DASH, + ACTIONS(27), 3, + anon_sym_NULL, + anon_sym_true, + anon_sym_false, + ACTIONS(31), 3, + anon_sym_PLUS_PLUS, + anon_sym_DASH_DASH, + anon_sym_BANG, + ACTIONS(23), 4, + sym_signed_integer_literal, + sym_unsigned_integer_literal, + sym_char_literal, + sym_string_literal, + [4856] = 21, + ACTIONS(3), 1, + sym_comment, + ACTIONS(21), 1, + sym_identifier, + ACTIONS(25), 1, + sym_integer_literal, + ACTIONS(29), 1, + anon_sym_LPAREN, + STATE(81), 1, + sym_base_expression, + STATE(90), 1, + sym_constant, + STATE(92), 1, + sym_predefined_constant, + STATE(102), 1, + sym_postfix_expression, + STATE(104), 1, + sym_unary_expression, + STATE(110), 1, + sym_cast_expression, + STATE(116), 1, + sym_multiplicative_expression, + STATE(122), 1, + sym_additive_expression, + STATE(126), 1, + sym_relational_expression, + STATE(130), 1, + sym_equality_expression, + STATE(133), 1, + sym_logical_expression, + STATE(141), 1, + sym_assignment_expression, + STATE(186), 1, + sym_expression, + ACTIONS(33), 2, + anon_sym_PLUS, + anon_sym_DASH, + ACTIONS(27), 3, + anon_sym_NULL, + anon_sym_true, + anon_sym_false, + ACTIONS(31), 3, + anon_sym_PLUS_PLUS, + anon_sym_DASH_DASH, + anon_sym_BANG, + ACTIONS(23), 4, + sym_signed_integer_literal, + sym_unsigned_integer_literal, + sym_char_literal, + sym_string_literal, + [4928] = 21, + ACTIONS(3), 1, + sym_comment, + ACTIONS(21), 1, + sym_identifier, + ACTIONS(25), 1, + sym_integer_literal, + ACTIONS(29), 1, + anon_sym_LPAREN, + STATE(81), 1, + sym_base_expression, + STATE(90), 1, + sym_constant, + STATE(92), 1, + sym_predefined_constant, + STATE(102), 1, + sym_postfix_expression, + STATE(104), 1, + sym_unary_expression, + STATE(110), 1, + sym_cast_expression, + STATE(116), 1, + sym_multiplicative_expression, + STATE(122), 1, + sym_additive_expression, + STATE(126), 1, + sym_relational_expression, + STATE(130), 1, + sym_equality_expression, + STATE(133), 1, + sym_logical_expression, + STATE(141), 1, + sym_assignment_expression, + STATE(202), 1, + sym_expression, + ACTIONS(33), 2, + anon_sym_PLUS, + anon_sym_DASH, + ACTIONS(27), 3, + anon_sym_NULL, + anon_sym_true, + anon_sym_false, + ACTIONS(31), 3, + anon_sym_PLUS_PLUS, + anon_sym_DASH_DASH, + anon_sym_BANG, + ACTIONS(23), 4, + sym_signed_integer_literal, + sym_unsigned_integer_literal, + sym_char_literal, + sym_string_literal, + [5000] = 21, + ACTIONS(3), 1, + sym_comment, + ACTIONS(21), 1, + sym_identifier, + ACTIONS(25), 1, + sym_integer_literal, + ACTIONS(29), 1, + anon_sym_LPAREN, + STATE(81), 1, + sym_base_expression, + STATE(90), 1, + sym_constant, + STATE(92), 1, + sym_predefined_constant, + STATE(102), 1, + sym_postfix_expression, + STATE(104), 1, + sym_unary_expression, + STATE(110), 1, + sym_cast_expression, + STATE(116), 1, + sym_multiplicative_expression, + STATE(122), 1, + sym_additive_expression, + STATE(126), 1, + sym_relational_expression, + STATE(130), 1, + sym_equality_expression, + STATE(133), 1, + sym_logical_expression, + STATE(141), 1, + sym_assignment_expression, + STATE(179), 1, + sym_expression, + ACTIONS(33), 2, + anon_sym_PLUS, + anon_sym_DASH, + ACTIONS(27), 3, + anon_sym_NULL, + anon_sym_true, + anon_sym_false, + ACTIONS(31), 3, + anon_sym_PLUS_PLUS, + anon_sym_DASH_DASH, + anon_sym_BANG, + ACTIONS(23), 4, + sym_signed_integer_literal, + sym_unsigned_integer_literal, + sym_char_literal, + sym_string_literal, + [5072] = 21, + ACTIONS(3), 1, + sym_comment, + ACTIONS(21), 1, + sym_identifier, + ACTIONS(25), 1, + sym_integer_literal, + ACTIONS(29), 1, + anon_sym_LPAREN, + STATE(81), 1, + sym_base_expression, + STATE(90), 1, + sym_constant, + STATE(92), 1, + sym_predefined_constant, + STATE(102), 1, + sym_postfix_expression, + STATE(104), 1, + sym_unary_expression, + STATE(110), 1, + sym_cast_expression, + STATE(116), 1, + sym_multiplicative_expression, + STATE(122), 1, + sym_additive_expression, + STATE(126), 1, + sym_relational_expression, + STATE(130), 1, + sym_equality_expression, + STATE(133), 1, + sym_logical_expression, + STATE(141), 1, + sym_assignment_expression, + STATE(174), 1, + sym_expression, + ACTIONS(33), 2, + anon_sym_PLUS, + anon_sym_DASH, + ACTIONS(27), 3, + anon_sym_NULL, + anon_sym_true, + anon_sym_false, + ACTIONS(31), 3, + anon_sym_PLUS_PLUS, + anon_sym_DASH_DASH, + anon_sym_BANG, + ACTIONS(23), 4, + sym_signed_integer_literal, + sym_unsigned_integer_literal, + sym_char_literal, + sym_string_literal, + [5144] = 21, + ACTIONS(3), 1, + sym_comment, + ACTIONS(21), 1, + sym_identifier, + ACTIONS(25), 1, + sym_integer_literal, + ACTIONS(29), 1, + anon_sym_LPAREN, + STATE(81), 1, + sym_base_expression, + STATE(90), 1, + sym_constant, + STATE(92), 1, + sym_predefined_constant, + STATE(102), 1, + sym_postfix_expression, + STATE(104), 1, + sym_unary_expression, + STATE(110), 1, + sym_cast_expression, + STATE(116), 1, + sym_multiplicative_expression, + STATE(122), 1, + sym_additive_expression, + STATE(126), 1, + sym_relational_expression, + STATE(130), 1, + sym_equality_expression, + STATE(133), 1, + sym_logical_expression, + STATE(141), 1, + sym_assignment_expression, + STATE(183), 1, + sym_expression, + ACTIONS(33), 2, + anon_sym_PLUS, + anon_sym_DASH, + ACTIONS(27), 3, + anon_sym_NULL, + anon_sym_true, + anon_sym_false, + ACTIONS(31), 3, + anon_sym_PLUS_PLUS, + anon_sym_DASH_DASH, + anon_sym_BANG, + ACTIONS(23), 4, + sym_signed_integer_literal, + sym_unsigned_integer_literal, + sym_char_literal, + sym_string_literal, + [5216] = 20, + ACTIONS(3), 1, + sym_comment, + ACTIONS(21), 1, + sym_identifier, + ACTIONS(25), 1, + sym_integer_literal, + ACTIONS(29), 1, + anon_sym_LPAREN, + STATE(81), 1, + sym_base_expression, + STATE(90), 1, + sym_constant, + STATE(92), 1, + sym_predefined_constant, + STATE(102), 1, + sym_postfix_expression, + STATE(104), 1, + sym_unary_expression, + STATE(110), 1, + sym_cast_expression, + STATE(116), 1, + sym_multiplicative_expression, + STATE(122), 1, + sym_additive_expression, + STATE(126), 1, + sym_relational_expression, + STATE(130), 1, + sym_equality_expression, + STATE(133), 1, + sym_logical_expression, + STATE(157), 1, + sym_assignment_expression, + ACTIONS(33), 2, + anon_sym_PLUS, + anon_sym_DASH, + ACTIONS(27), 3, + anon_sym_NULL, + anon_sym_true, + anon_sym_false, + ACTIONS(31), 3, + anon_sym_PLUS_PLUS, + anon_sym_DASH_DASH, + anon_sym_BANG, + ACTIONS(23), 4, + sym_signed_integer_literal, + sym_unsigned_integer_literal, + sym_char_literal, + sym_string_literal, + [5285] = 20, + ACTIONS(3), 1, + sym_comment, + ACTIONS(21), 1, + sym_identifier, + ACTIONS(25), 1, + sym_integer_literal, + ACTIONS(29), 1, + anon_sym_LPAREN, + STATE(81), 1, + sym_base_expression, + STATE(90), 1, + sym_constant, + STATE(92), 1, + sym_predefined_constant, + STATE(102), 1, + sym_postfix_expression, + STATE(104), 1, + sym_unary_expression, + STATE(110), 1, + sym_cast_expression, + STATE(116), 1, + sym_multiplicative_expression, + STATE(122), 1, + sym_additive_expression, + STATE(126), 1, + sym_relational_expression, + STATE(130), 1, + sym_equality_expression, + STATE(132), 1, + sym_assignment_expression, + STATE(133), 1, + sym_logical_expression, + ACTIONS(33), 2, + anon_sym_PLUS, + anon_sym_DASH, + ACTIONS(27), 3, + anon_sym_NULL, + anon_sym_true, + anon_sym_false, + ACTIONS(31), 3, + anon_sym_PLUS_PLUS, + anon_sym_DASH_DASH, + anon_sym_BANG, + ACTIONS(23), 4, + sym_signed_integer_literal, + sym_unsigned_integer_literal, + sym_char_literal, + sym_string_literal, + [5354] = 7, + ACTIONS(3), 1, + sym_comment, + ACTIONS(289), 1, + anon_sym_LPAREN, + ACTIONS(292), 1, + anon_sym_LBRACK, + STATE(78), 1, + aux_sym_postfix_expression_repeat1, + ACTIONS(295), 2, + anon_sym_PLUS_PLUS, + anon_sym_DASH_DASH, + ACTIONS(298), 7, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_LT, + anon_sym_GT, + anon_sym_EQ, + ACTIONS(287), 15, + sym_leq_operator, + sym_geq_operator, + anon_sym_RPAREN, + anon_sym_RBRACK, + anon_sym_COMMA, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_PLUS_EQ, + anon_sym_DASH_EQ, + anon_sym_STAR_EQ, + anon_sym_SLASH_EQ, + anon_sym_SEMI, + anon_sym_RBRACE, + [5397] = 20, + ACTIONS(3), 1, + sym_comment, + ACTIONS(21), 1, + sym_identifier, + ACTIONS(25), 1, + sym_integer_literal, + ACTIONS(29), 1, + anon_sym_LPAREN, + STATE(81), 1, + sym_base_expression, + STATE(90), 1, + sym_constant, + STATE(92), 1, + sym_predefined_constant, + STATE(102), 1, + sym_postfix_expression, + STATE(110), 1, + sym_cast_expression, + STATE(114), 1, + sym_unary_expression, + STATE(116), 1, + sym_multiplicative_expression, + STATE(122), 1, + sym_additive_expression, + STATE(126), 1, + sym_relational_expression, + STATE(130), 1, + sym_equality_expression, + STATE(189), 1, + sym_logical_expression, + STATE(190), 1, + sym_constant_expression, + ACTIONS(33), 2, + anon_sym_PLUS, + anon_sym_DASH, + ACTIONS(27), 3, + anon_sym_NULL, + anon_sym_true, + anon_sym_false, + ACTIONS(31), 3, + anon_sym_PLUS_PLUS, + anon_sym_DASH_DASH, + anon_sym_BANG, + ACTIONS(23), 4, + sym_signed_integer_literal, + sym_unsigned_integer_literal, + sym_char_literal, + sym_string_literal, + [5466] = 7, + ACTIONS(3), 1, + sym_comment, + ACTIONS(302), 1, + anon_sym_LPAREN, + ACTIONS(304), 1, + anon_sym_LBRACK, + STATE(78), 1, + aux_sym_postfix_expression_repeat1, + ACTIONS(306), 2, + anon_sym_PLUS_PLUS, + anon_sym_DASH_DASH, + ACTIONS(308), 7, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_LT, + anon_sym_GT, + anon_sym_EQ, + ACTIONS(300), 15, + sym_leq_operator, + sym_geq_operator, + anon_sym_RPAREN, + anon_sym_RBRACK, + anon_sym_COMMA, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_PLUS_EQ, + anon_sym_DASH_EQ, + anon_sym_STAR_EQ, + anon_sym_SLASH_EQ, + anon_sym_SEMI, + anon_sym_RBRACE, + [5509] = 7, + ACTIONS(3), 1, + sym_comment, + ACTIONS(302), 1, + anon_sym_LPAREN, + ACTIONS(304), 1, + anon_sym_LBRACK, + STATE(80), 1, + aux_sym_postfix_expression_repeat1, + ACTIONS(312), 2, + anon_sym_PLUS_PLUS, + anon_sym_DASH_DASH, + ACTIONS(314), 7, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_LT, + anon_sym_GT, + anon_sym_EQ, + ACTIONS(310), 15, + sym_leq_operator, + sym_geq_operator, + anon_sym_RPAREN, + anon_sym_RBRACK, + anon_sym_COMMA, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_PLUS_EQ, + anon_sym_DASH_EQ, + anon_sym_STAR_EQ, + anon_sym_SLASH_EQ, + anon_sym_SEMI, + anon_sym_RBRACE, + [5552] = 5, + ACTIONS(3), 1, + sym_comment, + ACTIONS(19), 2, + anon_sym_const, + anon_sym_mut, + ACTIONS(318), 2, + anon_sym_int, + anon_sym_uint, + STATE(91), 2, + sym_type_qualifier, + aux_sym_type_qualifier_list_repeat1, + ACTIONS(316), 20, + anon_sym_void, + anon_sym_bool, + anon_sym_char, + anon_sym_string, + anon_sym_I8, + anon_sym_int8_t, + anon_sym_I16, + anon_sym_int16_t, + anon_sym_I32, + anon_sym_int32_t, + anon_sym_I64, + anon_sym_int64_t, + anon_sym_U8, + anon_sym_uint8_t, + anon_sym_U16, + anon_sym_uint16_t, + anon_sym_U32, + anon_sym_uint32_t, + anon_sym_U64, + anon_sym_uint64_t, + [5590] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(322), 2, + anon_sym_int, + anon_sym_uint, + ACTIONS(320), 24, + ts_builtin_sym_end, + anon_sym_function, + anon_sym_void, + anon_sym_bool, + anon_sym_char, + anon_sym_string, + anon_sym_I8, + anon_sym_int8_t, + anon_sym_I16, + anon_sym_int16_t, + anon_sym_I32, + anon_sym_int32_t, + anon_sym_I64, + anon_sym_int64_t, + anon_sym_U8, + anon_sym_uint8_t, + anon_sym_U16, + anon_sym_uint16_t, + anon_sym_U32, + anon_sym_uint32_t, + anon_sym_U64, + anon_sym_uint64_t, + anon_sym_const, + anon_sym_mut, + [5624] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(326), 7, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_LT, + anon_sym_GT, + anon_sym_EQ, + ACTIONS(324), 19, + sym_leq_operator, + sym_geq_operator, + anon_sym_LPAREN, + anon_sym_RPAREN, + anon_sym_LBRACK, + anon_sym_RBRACK, + anon_sym_PLUS_PLUS, + anon_sym_DASH_DASH, + anon_sym_COMMA, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_PLUS_EQ, + anon_sym_DASH_EQ, + anon_sym_STAR_EQ, + anon_sym_SLASH_EQ, + anon_sym_SEMI, + anon_sym_RBRACE, + [5658] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(134), 2, + anon_sym_int, + anon_sym_uint, + ACTIONS(136), 24, + ts_builtin_sym_end, + anon_sym_function, + anon_sym_void, + anon_sym_bool, + anon_sym_char, + anon_sym_string, + anon_sym_I8, + anon_sym_int8_t, + anon_sym_I16, + anon_sym_int16_t, + anon_sym_I32, + anon_sym_int32_t, + anon_sym_I64, + anon_sym_int64_t, + anon_sym_U8, + anon_sym_uint8_t, + anon_sym_U16, + anon_sym_uint16_t, + anon_sym_U32, + anon_sym_uint32_t, + anon_sym_U64, + anon_sym_uint64_t, + anon_sym_const, + anon_sym_mut, + [5692] = 8, + ACTIONS(3), 1, + sym_comment, + ACTIONS(11), 1, + anon_sym_int, + ACTIONS(15), 1, + anon_sym_uint, + STATE(137), 1, + sym_type_specifier, + STATE(138), 3, + sym_int_type, + sym_uint_type, + sym_array_specifier, + ACTIONS(9), 4, + anon_sym_void, + anon_sym_bool, + anon_sym_char, + anon_sym_string, + ACTIONS(13), 8, + anon_sym_I8, + anon_sym_int8_t, + anon_sym_I16, + anon_sym_int16_t, + anon_sym_I32, + anon_sym_int32_t, + anon_sym_I64, + anon_sym_int64_t, + ACTIONS(17), 8, + anon_sym_U8, + anon_sym_uint8_t, + anon_sym_U16, + anon_sym_uint16_t, + anon_sym_U32, + anon_sym_uint32_t, + anon_sym_U64, + anon_sym_uint64_t, + [5736] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(330), 7, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_LT, + anon_sym_GT, + anon_sym_EQ, + ACTIONS(328), 19, + sym_leq_operator, + sym_geq_operator, + anon_sym_LPAREN, + anon_sym_RPAREN, + anon_sym_LBRACK, + anon_sym_RBRACK, + anon_sym_PLUS_PLUS, + anon_sym_DASH_DASH, + anon_sym_COMMA, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_PLUS_EQ, + anon_sym_DASH_EQ, + anon_sym_STAR_EQ, + anon_sym_SLASH_EQ, + anon_sym_SEMI, + anon_sym_RBRACE, + [5770] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(334), 7, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_LT, + anon_sym_GT, + anon_sym_EQ, + ACTIONS(332), 19, + sym_leq_operator, + sym_geq_operator, + anon_sym_LPAREN, + anon_sym_RPAREN, + anon_sym_LBRACK, + anon_sym_RBRACK, + anon_sym_PLUS_PLUS, + anon_sym_DASH_DASH, + anon_sym_COMMA, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_PLUS_EQ, + anon_sym_DASH_EQ, + anon_sym_STAR_EQ, + anon_sym_SLASH_EQ, + anon_sym_SEMI, + anon_sym_RBRACE, + [5804] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(338), 7, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_LT, + anon_sym_GT, + anon_sym_EQ, + ACTIONS(336), 19, + sym_leq_operator, + sym_geq_operator, + anon_sym_LPAREN, + anon_sym_RPAREN, + anon_sym_LBRACK, + anon_sym_RBRACK, + anon_sym_PLUS_PLUS, + anon_sym_DASH_DASH, + anon_sym_COMMA, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_PLUS_EQ, + anon_sym_DASH_EQ, + anon_sym_STAR_EQ, + anon_sym_SLASH_EQ, + anon_sym_SEMI, + anon_sym_RBRACE, + [5838] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(342), 7, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_LT, + anon_sym_GT, + anon_sym_EQ, + ACTIONS(340), 19, + sym_leq_operator, + sym_geq_operator, + anon_sym_LPAREN, + anon_sym_RPAREN, + anon_sym_LBRACK, + anon_sym_RBRACK, + anon_sym_PLUS_PLUS, + anon_sym_DASH_DASH, + anon_sym_COMMA, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_PLUS_EQ, + anon_sym_DASH_EQ, + anon_sym_STAR_EQ, + anon_sym_SLASH_EQ, + anon_sym_SEMI, + anon_sym_RBRACE, + [5872] = 5, + ACTIONS(3), 1, + sym_comment, + ACTIONS(19), 2, + anon_sym_const, + anon_sym_mut, + ACTIONS(346), 2, + anon_sym_int, + anon_sym_uint, + STATE(95), 2, + sym_type_qualifier, + aux_sym_type_qualifier_list_repeat1, + ACTIONS(344), 20, + anon_sym_void, + anon_sym_bool, + anon_sym_char, + anon_sym_string, + anon_sym_I8, + anon_sym_int8_t, + anon_sym_I16, + anon_sym_int16_t, + anon_sym_I32, + anon_sym_int32_t, + anon_sym_I64, + anon_sym_int64_t, + anon_sym_U8, + anon_sym_uint8_t, + anon_sym_U16, + anon_sym_uint16_t, + anon_sym_U32, + anon_sym_uint32_t, + anon_sym_U64, + anon_sym_uint64_t, + [5910] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(350), 7, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_LT, + anon_sym_GT, + anon_sym_EQ, + ACTIONS(348), 19, + sym_leq_operator, + sym_geq_operator, + anon_sym_LPAREN, + anon_sym_RPAREN, + anon_sym_LBRACK, + anon_sym_RBRACK, + anon_sym_PLUS_PLUS, + anon_sym_DASH_DASH, + anon_sym_COMMA, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_PLUS_EQ, + anon_sym_DASH_EQ, + anon_sym_STAR_EQ, + anon_sym_SLASH_EQ, + anon_sym_SEMI, + anon_sym_RBRACE, + [5944] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(354), 7, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_LT, + anon_sym_GT, + anon_sym_EQ, + ACTIONS(352), 19, + sym_leq_operator, + sym_geq_operator, + anon_sym_LPAREN, + anon_sym_RPAREN, + anon_sym_LBRACK, + anon_sym_RBRACK, + anon_sym_PLUS_PLUS, + anon_sym_DASH_DASH, + anon_sym_COMMA, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_PLUS_EQ, + anon_sym_DASH_EQ, + anon_sym_STAR_EQ, + anon_sym_SLASH_EQ, + anon_sym_SEMI, + anon_sym_RBRACE, + [5978] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(214), 2, + anon_sym_int, + anon_sym_uint, + ACTIONS(216), 24, + ts_builtin_sym_end, + anon_sym_function, + anon_sym_void, + anon_sym_bool, + anon_sym_char, + anon_sym_string, + anon_sym_I8, + anon_sym_int8_t, + anon_sym_I16, + anon_sym_int16_t, + anon_sym_I32, + anon_sym_int32_t, + anon_sym_I64, + anon_sym_int64_t, + anon_sym_U8, + anon_sym_uint8_t, + anon_sym_U16, + anon_sym_uint16_t, + anon_sym_U32, + anon_sym_uint32_t, + anon_sym_U64, + anon_sym_uint64_t, + anon_sym_const, + anon_sym_mut, + [6012] = 5, + ACTIONS(3), 1, + sym_comment, + ACTIONS(358), 2, + anon_sym_int, + anon_sym_uint, + ACTIONS(360), 2, + anon_sym_const, + anon_sym_mut, + STATE(95), 2, + sym_type_qualifier, + aux_sym_type_qualifier_list_repeat1, + ACTIONS(356), 20, + anon_sym_void, + anon_sym_bool, + anon_sym_char, + anon_sym_string, + anon_sym_I8, + anon_sym_int8_t, + anon_sym_I16, + anon_sym_int16_t, + anon_sym_I32, + anon_sym_int32_t, + anon_sym_I64, + anon_sym_int64_t, + anon_sym_U8, + anon_sym_uint8_t, + anon_sym_U16, + anon_sym_uint16_t, + anon_sym_U32, + anon_sym_uint32_t, + anon_sym_U64, + anon_sym_uint64_t, + [6050] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(365), 2, + anon_sym_int, + anon_sym_uint, + ACTIONS(363), 24, + ts_builtin_sym_end, + anon_sym_function, + anon_sym_void, + anon_sym_bool, + anon_sym_char, + anon_sym_string, + anon_sym_I8, + anon_sym_int8_t, + anon_sym_I16, + anon_sym_int16_t, + anon_sym_I32, + anon_sym_int32_t, + anon_sym_I64, + anon_sym_int64_t, + anon_sym_U8, + anon_sym_uint8_t, + anon_sym_U16, + anon_sym_uint16_t, + anon_sym_U32, + anon_sym_uint32_t, + anon_sym_U64, + anon_sym_uint64_t, + anon_sym_const, + anon_sym_mut, + [6084] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(130), 2, + anon_sym_int, + anon_sym_uint, + ACTIONS(132), 24, + ts_builtin_sym_end, + anon_sym_function, + anon_sym_void, + anon_sym_bool, + anon_sym_char, + anon_sym_string, + anon_sym_I8, + anon_sym_int8_t, + anon_sym_I16, + anon_sym_int16_t, + anon_sym_I32, + anon_sym_int32_t, + anon_sym_I64, + anon_sym_int64_t, + anon_sym_U8, + anon_sym_uint8_t, + anon_sym_U16, + anon_sym_uint16_t, + anon_sym_U32, + anon_sym_uint32_t, + anon_sym_U64, + anon_sym_uint64_t, + anon_sym_const, + anon_sym_mut, + [6118] = 18, + ACTIONS(3), 1, + sym_comment, + ACTIONS(21), 1, + sym_identifier, + ACTIONS(25), 1, + sym_integer_literal, + ACTIONS(29), 1, + anon_sym_LPAREN, + STATE(81), 1, + sym_base_expression, + STATE(90), 1, + sym_constant, + STATE(92), 1, + sym_predefined_constant, + STATE(102), 1, + sym_postfix_expression, + STATE(110), 1, + sym_cast_expression, + STATE(114), 1, + sym_unary_expression, + STATE(116), 1, + sym_multiplicative_expression, + STATE(122), 1, + sym_additive_expression, + STATE(126), 1, + sym_relational_expression, + STATE(131), 1, + sym_equality_expression, + ACTIONS(33), 2, + anon_sym_PLUS, + anon_sym_DASH, + ACTIONS(27), 3, + anon_sym_NULL, + anon_sym_true, + anon_sym_false, + ACTIONS(31), 3, + anon_sym_PLUS_PLUS, + anon_sym_DASH_DASH, + anon_sym_BANG, + ACTIONS(23), 4, + sym_signed_integer_literal, + sym_unsigned_integer_literal, + sym_char_literal, + sym_string_literal, + [6181] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(369), 2, + anon_sym_int, + anon_sym_uint, + ACTIONS(367), 22, + anon_sym_void, + anon_sym_bool, + anon_sym_char, + anon_sym_string, + anon_sym_I8, + anon_sym_int8_t, + anon_sym_I16, + anon_sym_int16_t, + anon_sym_I32, + anon_sym_int32_t, + anon_sym_I64, + anon_sym_int64_t, + anon_sym_U8, + anon_sym_uint8_t, + anon_sym_U16, + anon_sym_uint16_t, + anon_sym_U32, + anon_sym_uint32_t, + anon_sym_U64, + anon_sym_uint64_t, + anon_sym_const, + anon_sym_mut, + [6213] = 17, + ACTIONS(3), 1, + sym_comment, + ACTIONS(21), 1, + sym_identifier, + ACTIONS(25), 1, + sym_integer_literal, + ACTIONS(29), 1, + anon_sym_LPAREN, + STATE(81), 1, + sym_base_expression, + STATE(90), 1, + sym_constant, + STATE(92), 1, + sym_predefined_constant, + STATE(102), 1, + sym_postfix_expression, + STATE(110), 1, + sym_cast_expression, + STATE(114), 1, + sym_unary_expression, + STATE(116), 1, + sym_multiplicative_expression, + STATE(122), 1, + sym_additive_expression, + STATE(127), 1, + sym_relational_expression, + ACTIONS(33), 2, + anon_sym_PLUS, + anon_sym_DASH, + ACTIONS(27), 3, + anon_sym_NULL, + anon_sym_true, + anon_sym_false, + ACTIONS(31), 3, + anon_sym_PLUS_PLUS, + anon_sym_DASH_DASH, + anon_sym_BANG, + ACTIONS(23), 4, + sym_signed_integer_literal, + sym_unsigned_integer_literal, + sym_char_literal, + sym_string_literal, + [6273] = 16, + ACTIONS(3), 1, + sym_comment, + ACTIONS(21), 1, + sym_identifier, + ACTIONS(25), 1, + sym_integer_literal, + ACTIONS(29), 1, + anon_sym_LPAREN, + STATE(81), 1, + sym_base_expression, + STATE(90), 1, + sym_constant, + STATE(92), 1, + sym_predefined_constant, + STATE(102), 1, + sym_postfix_expression, + STATE(110), 1, + sym_cast_expression, + STATE(114), 1, + sym_unary_expression, + STATE(116), 1, + sym_multiplicative_expression, + STATE(123), 1, + sym_additive_expression, + ACTIONS(33), 2, + anon_sym_PLUS, + anon_sym_DASH, + ACTIONS(27), 3, + anon_sym_NULL, + anon_sym_true, + anon_sym_false, + ACTIONS(31), 3, + anon_sym_PLUS_PLUS, + anon_sym_DASH_DASH, + anon_sym_BANG, + ACTIONS(23), 4, + sym_signed_integer_literal, + sym_unsigned_integer_literal, + sym_char_literal, + sym_string_literal, + [6330] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(373), 7, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_LT, + anon_sym_GT, + anon_sym_EQ, + ACTIONS(371), 15, + sym_leq_operator, + sym_geq_operator, + anon_sym_RPAREN, + anon_sym_RBRACK, + anon_sym_COMMA, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_PLUS_EQ, + anon_sym_DASH_EQ, + anon_sym_STAR_EQ, + anon_sym_SLASH_EQ, + anon_sym_SEMI, + anon_sym_RBRACE, + [6360] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(377), 7, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_LT, + anon_sym_GT, + anon_sym_EQ, + ACTIONS(375), 15, + sym_leq_operator, + sym_geq_operator, + anon_sym_RPAREN, + anon_sym_RBRACK, + anon_sym_COMMA, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_PLUS_EQ, + anon_sym_DASH_EQ, + anon_sym_STAR_EQ, + anon_sym_SLASH_EQ, + anon_sym_SEMI, + anon_sym_RBRACE, + [6390] = 5, + ACTIONS(3), 1, + sym_comment, + ACTIONS(383), 1, + anon_sym_EQ, + ACTIONS(385), 4, + anon_sym_PLUS_EQ, + anon_sym_DASH_EQ, + anon_sym_STAR_EQ, + anon_sym_SLASH_EQ, + ACTIONS(381), 6, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_STAR, + anon_sym_SLASH, + anon_sym_LT, + anon_sym_GT, + ACTIONS(379), 11, + sym_leq_operator, + sym_geq_operator, + anon_sym_RPAREN, + anon_sym_RBRACK, + anon_sym_COMMA, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_SEMI, + anon_sym_RBRACE, + [6424] = 15, + ACTIONS(3), 1, + sym_comment, + ACTIONS(21), 1, + sym_identifier, + ACTIONS(25), 1, + sym_integer_literal, + ACTIONS(29), 1, + anon_sym_LPAREN, + STATE(81), 1, + sym_base_expression, + STATE(90), 1, + sym_constant, + STATE(92), 1, + sym_predefined_constant, + STATE(102), 1, + sym_postfix_expression, + STATE(110), 1, + sym_cast_expression, + STATE(114), 1, + sym_unary_expression, + STATE(119), 1, + sym_multiplicative_expression, + ACTIONS(33), 2, + anon_sym_PLUS, + anon_sym_DASH, + ACTIONS(27), 3, + anon_sym_NULL, + anon_sym_true, + anon_sym_false, + ACTIONS(31), 3, + anon_sym_PLUS_PLUS, + anon_sym_DASH_DASH, + anon_sym_BANG, + ACTIONS(23), 4, + sym_signed_integer_literal, + sym_unsigned_integer_literal, + sym_char_literal, + sym_string_literal, + [6478] = 14, + ACTIONS(3), 1, + sym_comment, + ACTIONS(21), 1, + sym_identifier, + ACTIONS(25), 1, + sym_integer_literal, + ACTIONS(29), 1, + anon_sym_LPAREN, + STATE(81), 1, + sym_base_expression, + STATE(90), 1, + sym_constant, + STATE(92), 1, + sym_predefined_constant, + STATE(102), 1, + sym_postfix_expression, + STATE(113), 1, + sym_cast_expression, + STATE(114), 1, + sym_unary_expression, + ACTIONS(33), 2, + anon_sym_PLUS, + anon_sym_DASH, + ACTIONS(27), 3, + anon_sym_NULL, + anon_sym_true, + anon_sym_false, + ACTIONS(31), 3, + anon_sym_PLUS_PLUS, + anon_sym_DASH_DASH, + anon_sym_BANG, + ACTIONS(23), 4, + sym_signed_integer_literal, + sym_unsigned_integer_literal, + sym_char_literal, + sym_string_literal, + [6529] = 14, + ACTIONS(3), 1, + sym_comment, + ACTIONS(21), 1, + sym_identifier, + ACTIONS(25), 1, + sym_integer_literal, + ACTIONS(29), 1, + anon_sym_LPAREN, + STATE(81), 1, + sym_base_expression, + STATE(90), 1, + sym_constant, + STATE(92), 1, + sym_predefined_constant, + STATE(102), 1, + sym_postfix_expression, + STATE(112), 1, + sym_cast_expression, + STATE(114), 1, + sym_unary_expression, + ACTIONS(33), 2, + anon_sym_PLUS, + anon_sym_DASH, + ACTIONS(27), 3, + anon_sym_NULL, + anon_sym_true, + anon_sym_false, + ACTIONS(31), 3, + anon_sym_PLUS_PLUS, + anon_sym_DASH_DASH, + anon_sym_BANG, + ACTIONS(23), 4, + sym_signed_integer_literal, + sym_unsigned_integer_literal, + sym_char_literal, + sym_string_literal, + [6580] = 13, + ACTIONS(3), 1, + sym_comment, + ACTIONS(21), 1, + sym_identifier, + ACTIONS(25), 1, + sym_integer_literal, + ACTIONS(387), 1, + anon_sym_LPAREN, + STATE(81), 1, + sym_base_expression, + STATE(90), 1, + sym_constant, + STATE(92), 1, + sym_predefined_constant, + STATE(102), 1, + sym_postfix_expression, + STATE(103), 1, + sym_unary_expression, + ACTIONS(33), 2, + anon_sym_PLUS, + anon_sym_DASH, + ACTIONS(27), 3, + anon_sym_NULL, + anon_sym_true, + anon_sym_false, + ACTIONS(31), 3, + anon_sym_PLUS_PLUS, + anon_sym_DASH_DASH, + anon_sym_BANG, + ACTIONS(23), 4, + sym_signed_integer_literal, + sym_unsigned_integer_literal, + sym_char_literal, + sym_string_literal, + [6628] = 6, + ACTIONS(3), 1, + sym_comment, + ACTIONS(391), 1, + anon_sym_STAR, + ACTIONS(393), 1, + anon_sym_SLASH, + STATE(111), 1, + aux_sym_multiplicative_expression_repeat1, + ACTIONS(395), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(389), 13, + sym_leq_operator, + sym_geq_operator, + anon_sym_RPAREN, + anon_sym_RBRACK, + anon_sym_COMMA, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_SEMI, + anon_sym_RBRACE, + [6660] = 6, + ACTIONS(3), 1, + sym_comment, + ACTIONS(391), 1, + anon_sym_STAR, + ACTIONS(393), 1, + anon_sym_SLASH, + STATE(109), 1, + aux_sym_multiplicative_expression_repeat1, + ACTIONS(399), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(397), 13, + sym_leq_operator, + sym_geq_operator, + anon_sym_RPAREN, + anon_sym_RBRACK, + anon_sym_COMMA, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_SEMI, + anon_sym_RBRACE, + [6692] = 6, + ACTIONS(3), 1, + sym_comment, + ACTIONS(403), 1, + anon_sym_STAR, + ACTIONS(406), 1, + anon_sym_SLASH, + STATE(111), 1, + aux_sym_multiplicative_expression_repeat1, + ACTIONS(409), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(401), 13, + sym_leq_operator, + sym_geq_operator, + anon_sym_RPAREN, + anon_sym_RBRACK, + anon_sym_COMMA, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_SEMI, + anon_sym_RBRACE, + [6724] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(413), 3, + anon_sym_SLASH, + anon_sym_LT, + anon_sym_GT, + ACTIONS(411), 14, + sym_leq_operator, + sym_geq_operator, + anon_sym_RPAREN, + anon_sym_RBRACK, + anon_sym_COMMA, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_STAR, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_SEMI, + anon_sym_RBRACE, + [6749] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(417), 3, + anon_sym_SLASH, + anon_sym_LT, + anon_sym_GT, + ACTIONS(415), 14, + sym_leq_operator, + sym_geq_operator, + anon_sym_RPAREN, + anon_sym_RBRACK, + anon_sym_COMMA, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_STAR, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_SEMI, + anon_sym_RBRACE, + [6774] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(381), 3, + anon_sym_SLASH, + anon_sym_LT, + anon_sym_GT, + ACTIONS(379), 14, + sym_leq_operator, + sym_geq_operator, + anon_sym_RPAREN, + anon_sym_RBRACK, + anon_sym_COMMA, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_STAR, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_SEMI, + anon_sym_RBRACE, + [6799] = 5, + ACTIONS(3), 1, + sym_comment, + STATE(117), 1, + aux_sym_additive_expression_repeat1, + ACTIONS(421), 2, + anon_sym_PLUS, + anon_sym_DASH, + ACTIONS(423), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(419), 11, + sym_leq_operator, + sym_geq_operator, + anon_sym_RPAREN, + anon_sym_RBRACK, + anon_sym_COMMA, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_SEMI, + anon_sym_RBRACE, + [6827] = 5, + ACTIONS(3), 1, + sym_comment, + STATE(115), 1, + aux_sym_additive_expression_repeat1, + ACTIONS(421), 2, + anon_sym_PLUS, + anon_sym_DASH, + ACTIONS(427), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(425), 11, + sym_leq_operator, + sym_geq_operator, + anon_sym_RPAREN, + anon_sym_RBRACK, + anon_sym_COMMA, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_SEMI, + anon_sym_RBRACE, + [6855] = 5, + ACTIONS(3), 1, + sym_comment, + STATE(117), 1, + aux_sym_additive_expression_repeat1, + ACTIONS(431), 2, + anon_sym_PLUS, + anon_sym_DASH, + ACTIONS(434), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(429), 11, + sym_leq_operator, + sym_geq_operator, + anon_sym_RPAREN, + anon_sym_RBRACK, + anon_sym_COMMA, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_SEMI, + anon_sym_RBRACE, + [6883] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(214), 7, + sym_identifier, + sym_integer_literal, + anon_sym_NULL, + anon_sym_true, + anon_sym_false, + anon_sym_PLUS, + anon_sym_DASH, + ACTIONS(216), 9, + sym_signed_integer_literal, + sym_unsigned_integer_literal, + sym_char_literal, + sym_string_literal, + anon_sym_LPAREN, + anon_sym_PLUS_PLUS, + anon_sym_DASH_DASH, + anon_sym_BANG, + anon_sym_SEMI, + [6907] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(438), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(436), 13, + sym_leq_operator, + sym_geq_operator, + anon_sym_RPAREN, + anon_sym_RBRACK, + anon_sym_COMMA, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_SEMI, + anon_sym_RBRACE, + [6930] = 5, + ACTIONS(3), 1, + sym_comment, + STATE(121), 1, + aux_sym_relational_expression_repeat1, + ACTIONS(440), 2, + sym_leq_operator, + sym_geq_operator, + ACTIONS(444), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(442), 9, + anon_sym_RPAREN, + anon_sym_RBRACK, + anon_sym_COMMA, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_SEMI, + anon_sym_RBRACE, + [6956] = 5, + ACTIONS(3), 1, + sym_comment, + STATE(121), 1, + aux_sym_relational_expression_repeat1, + ACTIONS(446), 2, + sym_leq_operator, + sym_geq_operator, + ACTIONS(451), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(449), 9, + anon_sym_RPAREN, + anon_sym_RBRACK, + anon_sym_COMMA, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_SEMI, + anon_sym_RBRACE, + [6982] = 5, + ACTIONS(3), 1, + sym_comment, + STATE(120), 1, + aux_sym_relational_expression_repeat1, + ACTIONS(440), 2, + sym_leq_operator, + sym_geq_operator, + ACTIONS(444), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(454), 9, + anon_sym_RPAREN, + anon_sym_RBRACK, + anon_sym_COMMA, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_SEMI, + anon_sym_RBRACE, + [7008] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(458), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(456), 11, + sym_leq_operator, + sym_geq_operator, + anon_sym_RPAREN, + anon_sym_RBRACK, + anon_sym_COMMA, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_SEMI, + anon_sym_RBRACE, + [7029] = 4, + ACTIONS(3), 1, + sym_comment, + STATE(125), 1, + aux_sym_equality_expression_repeat1, + ACTIONS(462), 2, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + ACTIONS(460), 7, + anon_sym_RPAREN, + anon_sym_RBRACK, + anon_sym_COMMA, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_SEMI, + anon_sym_RBRACE, + [7049] = 4, + ACTIONS(3), 1, + sym_comment, + STATE(125), 1, + aux_sym_equality_expression_repeat1, + ACTIONS(466), 2, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + ACTIONS(464), 7, + anon_sym_RPAREN, + anon_sym_RBRACK, + anon_sym_COMMA, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_SEMI, + anon_sym_RBRACE, + [7069] = 4, + ACTIONS(3), 1, + sym_comment, + STATE(124), 1, + aux_sym_equality_expression_repeat1, + ACTIONS(462), 2, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + ACTIONS(469), 7, + anon_sym_RPAREN, + anon_sym_RBRACK, + anon_sym_COMMA, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_SEMI, + anon_sym_RBRACE, + [7089] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(471), 9, + anon_sym_RPAREN, + anon_sym_RBRACK, + anon_sym_COMMA, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_SEMI, + anon_sym_RBRACE, + [7104] = 4, + ACTIONS(3), 1, + sym_comment, + STATE(129), 1, + aux_sym_logical_expression_repeat1, + ACTIONS(475), 2, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + ACTIONS(473), 5, + anon_sym_RPAREN, + anon_sym_RBRACK, + anon_sym_COMMA, + anon_sym_SEMI, + anon_sym_RBRACE, + [7122] = 4, + ACTIONS(3), 1, + sym_comment, + STATE(129), 1, + aux_sym_logical_expression_repeat1, + ACTIONS(479), 2, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + ACTIONS(477), 5, + anon_sym_RPAREN, + anon_sym_RBRACK, + anon_sym_COMMA, + anon_sym_SEMI, + anon_sym_RBRACE, + [7140] = 4, + ACTIONS(3), 1, + sym_comment, + STATE(128), 1, + aux_sym_logical_expression_repeat1, + ACTIONS(475), 2, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + ACTIONS(482), 5, + anon_sym_RPAREN, + anon_sym_RBRACK, + anon_sym_COMMA, + anon_sym_SEMI, + anon_sym_RBRACE, + [7158] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(484), 7, + anon_sym_RPAREN, + anon_sym_RBRACK, + anon_sym_COMMA, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_SEMI, + anon_sym_RBRACE, + [7171] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(486), 5, + anon_sym_RPAREN, + anon_sym_RBRACK, + anon_sym_COMMA, + anon_sym_SEMI, + anon_sym_RBRACE, + [7182] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(488), 5, + anon_sym_RPAREN, + anon_sym_RBRACK, + anon_sym_COMMA, + anon_sym_SEMI, + anon_sym_RBRACE, + [7193] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(490), 4, + sym_identifier, + anon_sym_RPAREN, + anon_sym_LBRACK, + anon_sym_LBRACE, + [7203] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(492), 4, + sym_identifier, + anon_sym_RPAREN, + anon_sym_LBRACK, + anon_sym_LBRACE, + [7213] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(41), 1, + anon_sym_LBRACE, + ACTIONS(494), 1, + anon_sym_if, + STATE(20), 2, + sym_statement_block, + sym_selection_statement, + [7227] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(498), 1, + anon_sym_LBRACK, + ACTIONS(496), 3, + sym_identifier, + anon_sym_RPAREN, + anon_sym_LBRACE, + [7239] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(500), 4, + sym_identifier, + anon_sym_RPAREN, + anon_sym_LBRACK, + anon_sym_LBRACE, + [7249] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(502), 4, + sym_identifier, + anon_sym_RPAREN, + anon_sym_LBRACK, + anon_sym_LBRACE, + [7259] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(498), 1, + anon_sym_LBRACK, + ACTIONS(504), 3, + sym_identifier, + anon_sym_RPAREN, + anon_sym_LBRACE, + [7271] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(506), 3, + anon_sym_RPAREN, + anon_sym_RBRACK, + anon_sym_SEMI, + [7280] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(508), 3, + anon_sym_COMMA, + anon_sym_SEMI, + anon_sym_RBRACE, + [7289] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(510), 1, + anon_sym_COMMA, + ACTIONS(513), 1, + anon_sym_RBRACE, + STATE(143), 1, + aux_sym_initializer_list_repeat1, + [7302] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(515), 1, + anon_sym_RPAREN, + ACTIONS(517), 1, + anon_sym_COMMA, + STATE(148), 1, + aux_sym_parameter_list_repeat1, + [7315] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(519), 1, + anon_sym_RPAREN, + ACTIONS(521), 1, + anon_sym_COMMA, + STATE(145), 1, + aux_sym_argument_expression_list_repeat1, + [7328] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(524), 1, + anon_sym_RPAREN, + ACTIONS(526), 1, + anon_sym_COMMA, + STATE(150), 1, + aux_sym_argument_expression_list_repeat1, + [7341] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(528), 1, + anon_sym_COMMA, + ACTIONS(530), 1, + anon_sym_RBRACE, + STATE(143), 1, + aux_sym_initializer_list_repeat1, + [7354] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(532), 1, + anon_sym_RPAREN, + ACTIONS(534), 1, + anon_sym_COMMA, + STATE(148), 1, + aux_sym_parameter_list_repeat1, + [7367] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(537), 3, + anon_sym_COMMA, + anon_sym_SEMI, + anon_sym_RBRACE, + [7376] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(526), 1, + anon_sym_COMMA, + ACTIONS(539), 1, + anon_sym_RPAREN, + STATE(145), 1, + aux_sym_argument_expression_list_repeat1, + [7389] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(528), 1, + anon_sym_COMMA, + ACTIONS(541), 1, + anon_sym_RBRACE, + STATE(147), 1, + aux_sym_initializer_list_repeat1, + [7402] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(517), 1, + anon_sym_COMMA, + ACTIONS(543), 1, + anon_sym_RPAREN, + STATE(144), 1, + aux_sym_parameter_list_repeat1, + [7415] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(545), 3, + anon_sym_COMMA, + anon_sym_SEMI, + anon_sym_RBRACE, + [7424] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(547), 1, + anon_sym_LBRACE, + STATE(9), 1, + sym_statement_block, + [7434] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(513), 2, + anon_sym_COMMA, + anon_sym_RBRACE, + [7442] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(549), 1, + anon_sym_EQ, + ACTIONS(551), 1, + anon_sym_SEMI, + [7452] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(519), 2, + anon_sym_RPAREN, + anon_sym_COMMA, + [7460] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(553), 1, + anon_sym_LBRACE, + ACTIONS(555), 1, + anon_sym_DASH_GT, + [7470] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(557), 1, + anon_sym_LPAREN, + STATE(160), 1, + sym_function_signature, + [7480] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(559), 1, + anon_sym_LBRACE, + STATE(96), 1, + sym_statement_block, + [7490] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(561), 1, + anon_sym_LBRACE, + ACTIONS(563), 1, + anon_sym_DASH_GT, + [7500] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(565), 1, + sym_identifier, + STATE(173), 1, + sym_init_declarator, + [7510] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(532), 2, + anon_sym_RPAREN, + anon_sym_COMMA, + [7518] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(567), 2, + anon_sym_RPAREN, + anon_sym_COMMA, + [7526] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(569), 2, + sym_identifier, + anon_sym_LBRACE, + [7534] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(565), 1, + sym_identifier, + STATE(168), 1, + sym_init_declarator, + [7544] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(565), 1, + sym_identifier, + STATE(204), 1, + sym_init_declarator, + [7554] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(571), 1, + anon_sym_SEMI, + [7561] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(573), 1, + anon_sym_LPAREN, + [7568] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(575), 1, + anon_sym_RPAREN, + [7575] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(577), 1, + anon_sym_RBRACE, + [7582] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(579), 1, + anon_sym_RPAREN, + [7589] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(581), 1, + anon_sym_SEMI, + [7596] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(583), 1, + anon_sym_RPAREN, + [7603] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(585), 1, + anon_sym_SEMI, + [7610] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(587), 1, + anon_sym_RPAREN, + [7617] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(589), 1, + anon_sym_RPAREN, + [7624] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(591), 1, + anon_sym_LBRACE, + [7631] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(593), 1, + anon_sym_RPAREN, + [7638] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(595), 1, + anon_sym_LBRACE, + [7645] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(597), 1, + anon_sym_LBRACE, + [7652] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(599), 1, + anon_sym_LPAREN, + [7659] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(601), 1, + anon_sym_RBRACK, + [7666] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(603), 1, + anon_sym_RPAREN, + [7673] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(605), 1, + anon_sym_RPAREN, + [7680] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(607), 1, + anon_sym_RPAREN, + [7687] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(609), 1, + anon_sym_RBRACE, + [7694] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(611), 1, + anon_sym_SEMI, + [7701] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(613), 1, + anon_sym_RBRACK, + [7708] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(615), 1, + anon_sym_RBRACK, + [7715] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(267), 1, + anon_sym_SEMI, + [7722] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(617), 1, + anon_sym_SEMI, + [7729] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(619), 1, + sym_identifier, + [7736] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(621), 1, + anon_sym_RPAREN, + [7743] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(623), 1, + anon_sym_SEMI, + [7750] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(625), 1, + anon_sym_SEMI, + [7757] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(627), 1, + anon_sym_RPAREN, + [7764] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(629), 1, + anon_sym_RPAREN, + [7771] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(631), 1, + anon_sym_SEMI, + [7778] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(633), 1, + anon_sym_SEMI, + [7785] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(635), 1, + anon_sym_LPAREN, + [7792] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(637), 1, + anon_sym_RPAREN, + [7799] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(639), 1, + anon_sym_RBRACE, + [7806] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(641), 1, + anon_sym_SEMI, + [7813] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(643), 1, + sym_identifier, + [7820] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(645), 1, + anon_sym_RBRACE, + [7827] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(647), 1, + ts_builtin_sym_end, + [7834] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(649), 1, + anon_sym_LPAREN, + [7841] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(651), 1, + anon_sym_SEMI, +}; + +static const uint32_t ts_small_parse_table_map[] = { + [SMALL_STATE(7)] = 0, + [SMALL_STATE(8)] = 130, + [SMALL_STATE(9)] = 251, + [SMALL_STATE(10)] = 311, + [SMALL_STATE(11)] = 369, + [SMALL_STATE(12)] = 427, + [SMALL_STATE(13)] = 484, + [SMALL_STATE(14)] = 541, + [SMALL_STATE(15)] = 598, + [SMALL_STATE(16)] = 655, + [SMALL_STATE(17)] = 712, + [SMALL_STATE(18)] = 769, + [SMALL_STATE(19)] = 826, + [SMALL_STATE(20)] = 883, + [SMALL_STATE(21)] = 940, + [SMALL_STATE(22)] = 997, + [SMALL_STATE(23)] = 1054, + [SMALL_STATE(24)] = 1111, + [SMALL_STATE(25)] = 1168, + [SMALL_STATE(26)] = 1225, + [SMALL_STATE(27)] = 1282, + [SMALL_STATE(28)] = 1339, + [SMALL_STATE(29)] = 1396, + [SMALL_STATE(30)] = 1453, + [SMALL_STATE(31)] = 1510, + [SMALL_STATE(32)] = 1567, + [SMALL_STATE(33)] = 1624, + [SMALL_STATE(34)] = 1681, + [SMALL_STATE(35)] = 1738, + [SMALL_STATE(36)] = 1795, + [SMALL_STATE(37)] = 1852, + [SMALL_STATE(38)] = 1909, + [SMALL_STATE(39)] = 2023, + [SMALL_STATE(40)] = 2137, + [SMALL_STATE(41)] = 2251, + [SMALL_STATE(42)] = 2365, + [SMALL_STATE(43)] = 2479, + [SMALL_STATE(44)] = 2593, + [SMALL_STATE(45)] = 2707, + [SMALL_STATE(46)] = 2821, + [SMALL_STATE(47)] = 2935, + [SMALL_STATE(48)] = 3049, + [SMALL_STATE(49)] = 3163, + [SMALL_STATE(50)] = 3277, + [SMALL_STATE(51)] = 3391, + [SMALL_STATE(52)] = 3465, + [SMALL_STATE(53)] = 3539, + [SMALL_STATE(54)] = 3608, + [SMALL_STATE(55)] = 3671, + [SMALL_STATE(56)] = 3734, + [SMALL_STATE(57)] = 3797, + [SMALL_STATE(58)] = 3879, + [SMALL_STATE(59)] = 3955, + [SMALL_STATE(60)] = 4031, + [SMALL_STATE(61)] = 4106, + [SMALL_STATE(62)] = 4181, + [SMALL_STATE(63)] = 4256, + [SMALL_STATE(64)] = 4331, + [SMALL_STATE(65)] = 4406, + [SMALL_STATE(66)] = 4481, + [SMALL_STATE(67)] = 4556, + [SMALL_STATE(68)] = 4631, + [SMALL_STATE(69)] = 4706, + [SMALL_STATE(70)] = 4781, + [SMALL_STATE(71)] = 4856, + [SMALL_STATE(72)] = 4928, + [SMALL_STATE(73)] = 5000, + [SMALL_STATE(74)] = 5072, + [SMALL_STATE(75)] = 5144, + [SMALL_STATE(76)] = 5216, + [SMALL_STATE(77)] = 5285, + [SMALL_STATE(78)] = 5354, + [SMALL_STATE(79)] = 5397, + [SMALL_STATE(80)] = 5466, + [SMALL_STATE(81)] = 5509, + [SMALL_STATE(82)] = 5552, + [SMALL_STATE(83)] = 5590, + [SMALL_STATE(84)] = 5624, + [SMALL_STATE(85)] = 5658, + [SMALL_STATE(86)] = 5692, + [SMALL_STATE(87)] = 5736, + [SMALL_STATE(88)] = 5770, + [SMALL_STATE(89)] = 5804, + [SMALL_STATE(90)] = 5838, + [SMALL_STATE(91)] = 5872, + [SMALL_STATE(92)] = 5910, + [SMALL_STATE(93)] = 5944, + [SMALL_STATE(94)] = 5978, + [SMALL_STATE(95)] = 6012, + [SMALL_STATE(96)] = 6050, + [SMALL_STATE(97)] = 6084, + [SMALL_STATE(98)] = 6118, + [SMALL_STATE(99)] = 6181, + [SMALL_STATE(100)] = 6213, + [SMALL_STATE(101)] = 6273, + [SMALL_STATE(102)] = 6330, + [SMALL_STATE(103)] = 6360, + [SMALL_STATE(104)] = 6390, + [SMALL_STATE(105)] = 6424, + [SMALL_STATE(106)] = 6478, + [SMALL_STATE(107)] = 6529, + [SMALL_STATE(108)] = 6580, + [SMALL_STATE(109)] = 6628, + [SMALL_STATE(110)] = 6660, + [SMALL_STATE(111)] = 6692, + [SMALL_STATE(112)] = 6724, + [SMALL_STATE(113)] = 6749, + [SMALL_STATE(114)] = 6774, + [SMALL_STATE(115)] = 6799, + [SMALL_STATE(116)] = 6827, + [SMALL_STATE(117)] = 6855, + [SMALL_STATE(118)] = 6883, + [SMALL_STATE(119)] = 6907, + [SMALL_STATE(120)] = 6930, + [SMALL_STATE(121)] = 6956, + [SMALL_STATE(122)] = 6982, + [SMALL_STATE(123)] = 7008, + [SMALL_STATE(124)] = 7029, + [SMALL_STATE(125)] = 7049, + [SMALL_STATE(126)] = 7069, + [SMALL_STATE(127)] = 7089, + [SMALL_STATE(128)] = 7104, + [SMALL_STATE(129)] = 7122, + [SMALL_STATE(130)] = 7140, + [SMALL_STATE(131)] = 7158, + [SMALL_STATE(132)] = 7171, + [SMALL_STATE(133)] = 7182, + [SMALL_STATE(134)] = 7193, + [SMALL_STATE(135)] = 7203, + [SMALL_STATE(136)] = 7213, + [SMALL_STATE(137)] = 7227, + [SMALL_STATE(138)] = 7239, + [SMALL_STATE(139)] = 7249, + [SMALL_STATE(140)] = 7259, + [SMALL_STATE(141)] = 7271, + [SMALL_STATE(142)] = 7280, + [SMALL_STATE(143)] = 7289, + [SMALL_STATE(144)] = 7302, + [SMALL_STATE(145)] = 7315, + [SMALL_STATE(146)] = 7328, + [SMALL_STATE(147)] = 7341, + [SMALL_STATE(148)] = 7354, + [SMALL_STATE(149)] = 7367, + [SMALL_STATE(150)] = 7376, + [SMALL_STATE(151)] = 7389, + [SMALL_STATE(152)] = 7402, + [SMALL_STATE(153)] = 7415, + [SMALL_STATE(154)] = 7424, + [SMALL_STATE(155)] = 7434, + [SMALL_STATE(156)] = 7442, + [SMALL_STATE(157)] = 7452, + [SMALL_STATE(158)] = 7460, + [SMALL_STATE(159)] = 7470, + [SMALL_STATE(160)] = 7480, + [SMALL_STATE(161)] = 7490, + [SMALL_STATE(162)] = 7500, + [SMALL_STATE(163)] = 7510, + [SMALL_STATE(164)] = 7518, + [SMALL_STATE(165)] = 7526, + [SMALL_STATE(166)] = 7534, + [SMALL_STATE(167)] = 7544, + [SMALL_STATE(168)] = 7554, + [SMALL_STATE(169)] = 7561, + [SMALL_STATE(170)] = 7568, + [SMALL_STATE(171)] = 7575, + [SMALL_STATE(172)] = 7582, + [SMALL_STATE(173)] = 7589, + [SMALL_STATE(174)] = 7596, + [SMALL_STATE(175)] = 7603, + [SMALL_STATE(176)] = 7610, + [SMALL_STATE(177)] = 7617, + [SMALL_STATE(178)] = 7624, + [SMALL_STATE(179)] = 7631, + [SMALL_STATE(180)] = 7638, + [SMALL_STATE(181)] = 7645, + [SMALL_STATE(182)] = 7652, + [SMALL_STATE(183)] = 7659, + [SMALL_STATE(184)] = 7666, + [SMALL_STATE(185)] = 7673, + [SMALL_STATE(186)] = 7680, + [SMALL_STATE(187)] = 7687, + [SMALL_STATE(188)] = 7694, + [SMALL_STATE(189)] = 7701, + [SMALL_STATE(190)] = 7708, + [SMALL_STATE(191)] = 7715, + [SMALL_STATE(192)] = 7722, + [SMALL_STATE(193)] = 7729, + [SMALL_STATE(194)] = 7736, + [SMALL_STATE(195)] = 7743, + [SMALL_STATE(196)] = 7750, + [SMALL_STATE(197)] = 7757, + [SMALL_STATE(198)] = 7764, + [SMALL_STATE(199)] = 7771, + [SMALL_STATE(200)] = 7778, + [SMALL_STATE(201)] = 7785, + [SMALL_STATE(202)] = 7792, + [SMALL_STATE(203)] = 7799, + [SMALL_STATE(204)] = 7806, + [SMALL_STATE(205)] = 7813, + [SMALL_STATE(206)] = 7820, + [SMALL_STATE(207)] = 7827, + [SMALL_STATE(208)] = 7834, + [SMALL_STATE(209)] = 7841, +}; + +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}}, SHIFT_EXTRA(), + [5] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_source_file, 0, 0, 0), + [7] = {.entry = {.count = 1, .reusable = true}}, SHIFT(205), + [9] = {.entry = {.count = 1, .reusable = true}}, SHIFT(138), + [11] = {.entry = {.count = 1, .reusable = false}}, SHIFT(139), + [13] = {.entry = {.count = 1, .reusable = true}}, SHIFT(139), + [15] = {.entry = {.count = 1, .reusable = false}}, SHIFT(135), + [17] = {.entry = {.count = 1, .reusable = true}}, SHIFT(135), + [19] = {.entry = {.count = 1, .reusable = true}}, SHIFT(99), + [21] = {.entry = {.count = 1, .reusable = false}}, SHIFT(90), + [23] = {.entry = {.count = 1, .reusable = true}}, SHIFT(92), + [25] = {.entry = {.count = 1, .reusable = false}}, SHIFT(92), + [27] = {.entry = {.count = 1, .reusable = false}}, SHIFT(93), + [29] = {.entry = {.count = 1, .reusable = true}}, SHIFT(8), + [31] = {.entry = {.count = 1, .reusable = true}}, SHIFT(108), + [33] = {.entry = {.count = 1, .reusable = false}}, SHIFT(108), + [35] = {.entry = {.count = 1, .reusable = true}}, SHIFT(29), + [37] = {.entry = {.count = 1, .reusable = false}}, SHIFT(138), + [39] = {.entry = {.count = 1, .reusable = false}}, SHIFT(99), + [41] = {.entry = {.count = 1, .reusable = true}}, SHIFT(3), + [43] = {.entry = {.count = 1, .reusable = true}}, SHIFT(97), + [45] = {.entry = {.count = 1, .reusable = false}}, SHIFT(208), + [47] = {.entry = {.count = 1, .reusable = false}}, SHIFT(169), + [49] = {.entry = {.count = 1, .reusable = false}}, SHIFT(182), + [51] = {.entry = {.count = 1, .reusable = false}}, SHIFT(191), + [53] = {.entry = {.count = 1, .reusable = false}}, SHIFT(61), + [55] = {.entry = {.count = 1, .reusable = false}}, SHIFT(201), + [57] = {.entry = {.count = 1, .reusable = true}}, SHIFT(32), + [59] = {.entry = {.count = 1, .reusable = true}}, SHIFT(10), + [61] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_block_item_list, 1, 0, 0), + [63] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_block_item_list_repeat1, 2, 0, 0), SHIFT_REPEAT(90), + [66] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_block_item_list_repeat1, 2, 0, 0), SHIFT_REPEAT(92), + [69] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_block_item_list_repeat1, 2, 0, 0), SHIFT_REPEAT(92), + [72] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_block_item_list_repeat1, 2, 0, 0), SHIFT_REPEAT(93), + [75] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_block_item_list_repeat1, 2, 0, 0), SHIFT_REPEAT(8), + [78] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_block_item_list_repeat1, 2, 0, 0), SHIFT_REPEAT(108), + [81] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_block_item_list_repeat1, 2, 0, 0), SHIFT_REPEAT(108), + [84] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_block_item_list_repeat1, 2, 0, 0), SHIFT_REPEAT(29), + [87] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_block_item_list_repeat1, 2, 0, 0), SHIFT_REPEAT(138), + [90] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_block_item_list_repeat1, 2, 0, 0), SHIFT_REPEAT(139), + [93] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_block_item_list_repeat1, 2, 0, 0), SHIFT_REPEAT(135), + [96] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_block_item_list_repeat1, 2, 0, 0), SHIFT_REPEAT(99), + [99] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_block_item_list_repeat1, 2, 0, 0), SHIFT_REPEAT(3), + [102] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_block_item_list_repeat1, 2, 0, 0), + [104] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_block_item_list_repeat1, 2, 0, 0), SHIFT_REPEAT(208), + [107] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_block_item_list_repeat1, 2, 0, 0), SHIFT_REPEAT(169), + [110] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_block_item_list_repeat1, 2, 0, 0), SHIFT_REPEAT(182), + [113] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_block_item_list_repeat1, 2, 0, 0), SHIFT_REPEAT(191), + [116] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_block_item_list_repeat1, 2, 0, 0), SHIFT_REPEAT(61), + [119] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_block_item_list_repeat1, 2, 0, 0), SHIFT_REPEAT(201), + [122] = {.entry = {.count = 1, .reusable = true}}, SHIFT(62), + [124] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_selection_statement, 5, 0, 25), + [126] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_selection_statement, 5, 0, 25), + [128] = {.entry = {.count = 1, .reusable = false}}, SHIFT(136), + [130] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_statement_block, 2, 0, 0), + [132] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_statement_block, 2, 0, 0), + [134] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_statement_block, 3, 0, 0), + [136] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_statement_block, 3, 0, 0), + [138] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_iteration_statement, 8, 0, 39), + [140] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_iteration_statement, 8, 0, 39), + [142] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_statement, 1, 0, 0), + [144] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_statement, 1, 0, 0), + [146] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_primary_block, 1, 0, 0), + [148] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_primary_block, 1, 0, 0), + [150] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_secondary_block, 1, 0, 0), + [152] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_secondary_block, 1, 0, 0), + [154] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_iteration_statement, 5, 0, 26), + [156] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_iteration_statement, 5, 0, 26), + [158] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_print_statement, 5, 0, 27), + [160] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_print_statement, 5, 0, 27), + [162] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_iteration_statement, 6, 0, 28), + [164] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_iteration_statement, 6, 0, 28), + [166] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_iteration_statement, 6, 0, 29), + [168] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_iteration_statement, 6, 0, 29), + [170] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_selection_statement, 7, 0, 30), + [172] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_selection_statement, 7, 0, 30), + [174] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_iteration_statement, 7, 0, 31), + [176] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_iteration_statement, 7, 0, 31), + [178] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_iteration_statement, 7, 0, 32), + [180] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_iteration_statement, 7, 0, 32), + [182] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_iteration_statement, 7, 0, 33), + [184] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_iteration_statement, 7, 0, 33), + [186] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_iteration_statement, 7, 0, 34), + [188] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_iteration_statement, 7, 0, 34), + [190] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_iteration_statement, 7, 0, 35), + [192] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_iteration_statement, 7, 0, 35), + [194] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_iteration_statement, 8, 0, 36), + [196] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_iteration_statement, 8, 0, 36), + [198] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_iteration_statement, 8, 0, 37), + [200] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_iteration_statement, 8, 0, 37), + [202] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_iteration_statement, 8, 0, 38), + [204] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_iteration_statement, 8, 0, 38), + [206] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_expression_statement, 1, 0, 0), + [208] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_expression_statement, 1, 0, 0), + [210] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_iteration_statement, 9, 0, 40), + [212] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_iteration_statement, 9, 0, 40), + [214] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_declaration, 3, 0, 2), + [216] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_declaration, 3, 0, 2), + [218] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_block_item, 1, 0, 0), + [220] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_block_item, 1, 0, 0), + [222] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_jump_statement, 2, 0, 0), + [224] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_jump_statement, 2, 0, 0), + [226] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_expression_statement, 2, 0, 18), + [228] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_expression_statement, 2, 0, 18), + [230] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_jump_statement, 3, 0, 24), + [232] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_jump_statement, 3, 0, 24), + [234] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2, 0, 0), + [236] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2, 0, 0), SHIFT_REPEAT(205), + [239] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2, 0, 0), SHIFT_REPEAT(138), + [242] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_source_file_repeat1, 2, 0, 0), SHIFT_REPEAT(139), + [245] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2, 0, 0), SHIFT_REPEAT(139), + [248] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_source_file_repeat1, 2, 0, 0), SHIFT_REPEAT(135), + [251] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2, 0, 0), SHIFT_REPEAT(135), + [254] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2, 0, 0), SHIFT_REPEAT(99), + [257] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_source_file, 1, 0, 0), + [259] = {.entry = {.count = 1, .reusable = true}}, SHIFT(161), + [261] = {.entry = {.count = 1, .reusable = true}}, SHIFT(57), + [263] = {.entry = {.count = 1, .reusable = true}}, SHIFT(149), + [265] = {.entry = {.count = 1, .reusable = true}}, SHIFT(46), + [267] = {.entry = {.count = 1, .reusable = true}}, SHIFT(35), + [269] = {.entry = {.count = 1, .reusable = true}}, SHIFT(64), + [271] = {.entry = {.count = 1, .reusable = true}}, SHIFT(66), + [273] = {.entry = {.count = 1, .reusable = true}}, SHIFT(47), + [275] = {.entry = {.count = 1, .reusable = true}}, SHIFT(68), + [277] = {.entry = {.count = 1, .reusable = true}}, SHIFT(39), + [279] = {.entry = {.count = 1, .reusable = true}}, SHIFT(42), + [281] = {.entry = {.count = 1, .reusable = true}}, SHIFT(44), + [283] = {.entry = {.count = 1, .reusable = true}}, SHIFT(50), + [285] = {.entry = {.count = 1, .reusable = true}}, SHIFT(89), + [287] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_postfix_expression_repeat1, 2, 0, 14), + [289] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_postfix_expression_repeat1, 2, 0, 14), SHIFT_REPEAT(70), + [292] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_postfix_expression_repeat1, 2, 0, 14), SHIFT_REPEAT(75), + [295] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_postfix_expression_repeat1, 2, 0, 14), SHIFT_REPEAT(78), + [298] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_postfix_expression_repeat1, 2, 0, 14), + [300] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_postfix_expression, 2, 0, 8), + [302] = {.entry = {.count = 1, .reusable = true}}, SHIFT(70), + [304] = {.entry = {.count = 1, .reusable = true}}, SHIFT(75), + [306] = {.entry = {.count = 1, .reusable = true}}, SHIFT(78), + [308] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_postfix_expression, 2, 0, 8), + [310] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_postfix_expression, 1, 0, 3), + [312] = {.entry = {.count = 1, .reusable = true}}, SHIFT(80), + [314] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_postfix_expression, 1, 0, 3), + [316] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_type_qualifier_list, 1, 0, 0), + [318] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_type_qualifier_list, 1, 0, 0), + [320] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_translation_entity, 1, 0, 0), + [322] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_translation_entity, 1, 0, 0), + [324] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_postfix_expression_repeat1, 3, 0, 21), + [326] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_postfix_expression_repeat1, 3, 0, 21), + [328] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_postfix_expression_repeat1, 3, 0, 22), + [330] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_postfix_expression_repeat1, 3, 0, 22), + [332] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_base_expression, 3, 0, 13), + [334] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_base_expression, 3, 0, 13), + [336] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_postfix_expression_repeat1, 2, 0, 0), + [338] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_postfix_expression_repeat1, 2, 0, 0), + [340] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_base_expression, 1, 0, 0), + [342] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_base_expression, 1, 0, 0), + [344] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_type_qualifier_list, 2, 0, 0), + [346] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_type_qualifier_list, 2, 0, 0), + [348] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_constant, 1, 0, 0), + [350] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_constant, 1, 0, 0), + [352] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_predefined_constant, 1, 0, 0), + [354] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_predefined_constant, 1, 0, 0), + [356] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_type_qualifier_list_repeat1, 2, 0, 0), + [358] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_type_qualifier_list_repeat1, 2, 0, 0), + [360] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_type_qualifier_list_repeat1, 2, 0, 0), SHIFT_REPEAT(99), + [363] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_definition, 4, 0, 5), + [365] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function_definition, 4, 0, 5), + [367] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_type_qualifier, 1, 0, 0), + [369] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_type_qualifier, 1, 0, 0), + [371] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_unary_expression, 1, 0, 0), + [373] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_unary_expression, 1, 0, 0), + [375] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_unary_expression, 2, 0, 7), + [377] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_unary_expression, 2, 0, 7), + [379] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_cast_expression, 1, 0, 0), + [381] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_cast_expression, 1, 0, 0), + [383] = {.entry = {.count = 1, .reusable = false}}, SHIFT(77), + [385] = {.entry = {.count = 1, .reusable = true}}, SHIFT(77), + [387] = {.entry = {.count = 1, .reusable = true}}, SHIFT(74), + [389] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_multiplicative_expression, 2, 0, 9), + [391] = {.entry = {.count = 1, .reusable = true}}, SHIFT(106), + [393] = {.entry = {.count = 1, .reusable = false}}, SHIFT(106), + [395] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_multiplicative_expression, 2, 0, 9), + [397] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_multiplicative_expression, 1, 0, 4), + [399] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_multiplicative_expression, 1, 0, 4), + [401] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_multiplicative_expression_repeat1, 2, 0, 16), + [403] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_multiplicative_expression_repeat1, 2, 0, 16), SHIFT_REPEAT(106), + [406] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_multiplicative_expression_repeat1, 2, 0, 16), SHIFT_REPEAT(106), + [409] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_multiplicative_expression_repeat1, 2, 0, 16), + [411] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_cast_expression, 4, 0, 20), + [413] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_cast_expression, 4, 0, 20), + [415] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_multiplicative_expression_repeat1, 2, 0, 15), + [417] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_multiplicative_expression_repeat1, 2, 0, 15), + [419] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_additive_expression, 2, 0, 9), + [421] = {.entry = {.count = 1, .reusable = true}}, SHIFT(105), + [423] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_additive_expression, 2, 0, 9), + [425] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_additive_expression, 1, 0, 4), + [427] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_additive_expression, 1, 0, 4), + [429] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_additive_expression_repeat1, 2, 0, 16), + [431] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_additive_expression_repeat1, 2, 0, 16), SHIFT_REPEAT(105), + [434] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_additive_expression_repeat1, 2, 0, 16), + [436] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_additive_expression_repeat1, 2, 0, 15), + [438] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_additive_expression_repeat1, 2, 0, 15), + [440] = {.entry = {.count = 1, .reusable = true}}, SHIFT(101), + [442] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_relational_expression, 2, 0, 9), + [444] = {.entry = {.count = 1, .reusable = false}}, SHIFT(101), + [446] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_relational_expression_repeat1, 2, 0, 16), SHIFT_REPEAT(101), + [449] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_relational_expression_repeat1, 2, 0, 16), + [451] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_relational_expression_repeat1, 2, 0, 16), SHIFT_REPEAT(101), + [454] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_relational_expression, 1, 0, 4), + [456] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_relational_expression_repeat1, 2, 0, 15), + [458] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_relational_expression_repeat1, 2, 0, 15), + [460] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_equality_expression, 2, 0, 9), + [462] = {.entry = {.count = 1, .reusable = true}}, SHIFT(100), + [464] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_equality_expression_repeat1, 2, 0, 16), + [466] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_equality_expression_repeat1, 2, 0, 16), SHIFT_REPEAT(100), + [469] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_equality_expression, 1, 0, 4), + [471] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_equality_expression_repeat1, 2, 0, 15), + [473] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_logical_expression, 2, 0, 9), + [475] = {.entry = {.count = 1, .reusable = true}}, SHIFT(98), + [477] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_logical_expression_repeat1, 2, 0, 16), + [479] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_logical_expression_repeat1, 2, 0, 16), SHIFT_REPEAT(98), + [482] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_logical_expression, 1, 0, 4), + [484] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_logical_expression_repeat1, 2, 0, 15), + [486] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_assignment_expression, 3, 0, 19), + [488] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_assignment_expression, 1, 0, 0), + [490] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_array_specifier, 4, 0, 10), + [492] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_uint_type, 1, 0, 0), + [494] = {.entry = {.count = 1, .reusable = true}}, SHIFT(208), + [496] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_type_specifier_qualifier, 2, 0, 0), + [498] = {.entry = {.count = 1, .reusable = true}}, SHIFT(79), + [500] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_type_specifier, 1, 0, 0), + [502] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_int_type, 1, 0, 0), + [504] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_type_specifier_qualifier, 1, 0, 0), + [506] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_expression, 1, 0, 0), + [508] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_braced_initializer, 3, 0, 0), + [510] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_initializer_list_repeat1, 2, 0, 0), SHIFT_REPEAT(58), + [513] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_initializer_list_repeat1, 2, 0, 0), + [515] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_parameter_list, 2, 0, 0), + [517] = {.entry = {.count = 1, .reusable = true}}, SHIFT(55), + [519] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_argument_expression_list_repeat1, 2, 0, 0), + [521] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_argument_expression_list_repeat1, 2, 0, 0), SHIFT_REPEAT(76), + [524] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_argument_expression_list, 1, 0, 0), + [526] = {.entry = {.count = 1, .reusable = true}}, SHIFT(76), + [528] = {.entry = {.count = 1, .reusable = true}}, SHIFT(58), + [530] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_initializer_list, 2, 0, 0), + [532] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_parameter_list_repeat1, 2, 0, 0), + [534] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_parameter_list_repeat1, 2, 0, 0), SHIFT_REPEAT(55), + [537] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_braced_initializer, 2, 0, 0), + [539] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_argument_expression_list, 2, 0, 0), + [541] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_initializer_list, 1, 0, 0), + [543] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_parameter_list, 1, 0, 0), + [545] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_initializer, 1, 0, 0), + [547] = {.entry = {.count = 1, .reusable = true}}, SHIFT(4), + [549] = {.entry = {.count = 1, .reusable = true}}, SHIFT(59), + [551] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_init_declarator, 1, 0, 1), + [553] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_signature, 3, 0, 12), + [555] = {.entry = {.count = 1, .reusable = true}}, SHIFT(56), + [557] = {.entry = {.count = 1, .reusable = true}}, SHIFT(53), + [559] = {.entry = {.count = 1, .reusable = true}}, SHIFT(2), + [561] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_signature, 2, 0, 0), + [563] = {.entry = {.count = 1, .reusable = true}}, SHIFT(54), + [565] = {.entry = {.count = 1, .reusable = true}}, SHIFT(156), + [567] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_parameter_declaration, 2, 0, 11), + [569] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_declaration_specifier, 1, 0, 0), + [571] = {.entry = {.count = 1, .reusable = true}}, SHIFT(31), + [573] = {.entry = {.count = 1, .reusable = true}}, SHIFT(71), + [575] = {.entry = {.count = 1, .reusable = true}}, SHIFT(43), + [577] = {.entry = {.count = 1, .reusable = true}}, SHIFT(85), + [579] = {.entry = {.count = 1, .reusable = true}}, SHIFT(45), + [581] = {.entry = {.count = 1, .reusable = true}}, SHIFT(94), + [583] = {.entry = {.count = 1, .reusable = true}}, SHIFT(88), + [585] = {.entry = {.count = 1, .reusable = true}}, SHIFT(36), + [587] = {.entry = {.count = 1, .reusable = true}}, SHIFT(40), + [589] = {.entry = {.count = 1, .reusable = true}}, SHIFT(49), + [591] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_signature, 5, 0, 23), + [593] = {.entry = {.count = 1, .reusable = true}}, SHIFT(154), + [595] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_return_list, 1, 0, 0), + [597] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_signature, 4, 0, 17), + [599] = {.entry = {.count = 1, .reusable = true}}, SHIFT(7), + [601] = {.entry = {.count = 1, .reusable = true}}, SHIFT(87), + [603] = {.entry = {.count = 1, .reusable = true}}, SHIFT(84), + [605] = {.entry = {.count = 1, .reusable = true}}, SHIFT(41), + [607] = {.entry = {.count = 1, .reusable = true}}, SHIFT(38), + [609] = {.entry = {.count = 1, .reusable = true}}, SHIFT(142), + [611] = {.entry = {.count = 1, .reusable = true}}, SHIFT(67), + [613] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_constant_expression, 1, 0, 0), + [615] = {.entry = {.count = 1, .reusable = true}}, SHIFT(134), + [617] = {.entry = {.count = 1, .reusable = true}}, SHIFT(60), + [619] = {.entry = {.count = 1, .reusable = true}}, SHIFT(164), + [621] = {.entry = {.count = 1, .reusable = true}}, SHIFT(158), + [623] = {.entry = {.count = 1, .reusable = true}}, SHIFT(69), + [625] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_init_declarator, 3, 0, 6), + [627] = {.entry = {.count = 1, .reusable = true}}, SHIFT(107), + [629] = {.entry = {.count = 1, .reusable = true}}, SHIFT(48), + [631] = {.entry = {.count = 1, .reusable = true}}, SHIFT(17), + [633] = {.entry = {.count = 1, .reusable = true}}, SHIFT(37), + [635] = {.entry = {.count = 1, .reusable = true}}, SHIFT(72), + [637] = {.entry = {.count = 1, .reusable = true}}, SHIFT(199), + [639] = {.entry = {.count = 1, .reusable = true}}, SHIFT(33), + [641] = {.entry = {.count = 1, .reusable = true}}, SHIFT(118), + [643] = {.entry = {.count = 1, .reusable = true}}, SHIFT(159), + [645] = {.entry = {.count = 1, .reusable = true}}, SHIFT(11), + [647] = {.entry = {.count = 1, .reusable = true}}, ACCEPT_INPUT(), + [649] = {.entry = {.count = 1, .reusable = true}}, SHIFT(73), + [651] = {.entry = {.count = 1, .reusable = true}}, SHIFT(65), +}; + +#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_mc(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, + .primary_state_ids = ts_primary_state_ids, + .name = "mc", + .max_reserved_word_set_size = 0, + .metadata = { + .major_version = 0, + .minor_version = 1, + .patch_version = 0, + }, + }; + return &language; +} +#ifdef __cplusplus +} +#endif diff --git a/src/tree_sitter/alloc.h b/src/tree_sitter/alloc.h new file mode 100644 index 0000000..1abdd12 --- /dev/null +++ b/src/tree_sitter/alloc.h @@ -0,0 +1,54 @@ +#ifndef TREE_SITTER_ALLOC_H_ +#define TREE_SITTER_ALLOC_H_ + +#ifdef __cplusplus +extern "C" { +#endif + +#include +#include +#include + +// Allow clients to override allocation functions +#ifdef TREE_SITTER_REUSE_ALLOCATOR + +extern void *(*ts_current_malloc)(size_t size); +extern void *(*ts_current_calloc)(size_t count, size_t size); +extern void *(*ts_current_realloc)(void *ptr, size_t size); +extern void (*ts_current_free)(void *ptr); + +#ifndef ts_malloc +#define ts_malloc ts_current_malloc +#endif +#ifndef ts_calloc +#define ts_calloc ts_current_calloc +#endif +#ifndef ts_realloc +#define ts_realloc ts_current_realloc +#endif +#ifndef ts_free +#define ts_free ts_current_free +#endif + +#else + +#ifndef ts_malloc +#define ts_malloc malloc +#endif +#ifndef ts_calloc +#define ts_calloc calloc +#endif +#ifndef ts_realloc +#define ts_realloc realloc +#endif +#ifndef ts_free +#define ts_free free +#endif + +#endif + +#ifdef __cplusplus +} +#endif + +#endif // TREE_SITTER_ALLOC_H_ diff --git a/src/tree_sitter/array.h b/src/tree_sitter/array.h new file mode 100644 index 0000000..a17a574 --- /dev/null +++ b/src/tree_sitter/array.h @@ -0,0 +1,291 @@ +#ifndef TREE_SITTER_ARRAY_H_ +#define TREE_SITTER_ARRAY_H_ + +#ifdef __cplusplus +extern "C" { +#endif + +#include "./alloc.h" + +#include +#include +#include +#include +#include + +#ifdef _MSC_VER +#pragma warning(push) +#pragma warning(disable : 4101) +#elif defined(__GNUC__) || defined(__clang__) +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wunused-variable" +#endif + +#define Array(T) \ + struct { \ + T *contents; \ + uint32_t size; \ + uint32_t capacity; \ + } + +/// Initialize an array. +#define array_init(self) \ + ((self)->size = 0, (self)->capacity = 0, (self)->contents = NULL) + +/// Create an empty array. +#define array_new() \ + { NULL, 0, 0 } + +/// Get a pointer to the element at a given `index` in the array. +#define array_get(self, _index) \ + (assert((uint32_t)(_index) < (self)->size), &(self)->contents[_index]) + +/// Get a pointer to the first element in the array. +#define array_front(self) array_get(self, 0) + +/// Get a pointer to the last element in the array. +#define array_back(self) array_get(self, (self)->size - 1) + +/// Clear the array, setting its size to zero. Note that this does not free any +/// memory allocated for the array's contents. +#define array_clear(self) ((self)->size = 0) + +/// Reserve `new_capacity` elements of space in the array. If `new_capacity` is +/// less than the array's current capacity, this function has no effect. +#define array_reserve(self, new_capacity) \ + _array__reserve((Array *)(self), array_elem_size(self), new_capacity) + +/// Free any memory allocated for this array. Note that this does not free any +/// memory allocated for the array's contents. +#define array_delete(self) _array__delete((Array *)(self)) + +/// Push a new `element` onto the end of the array. +#define array_push(self, element) \ + (_array__grow((Array *)(self), 1, array_elem_size(self)), \ + (self)->contents[(self)->size++] = (element)) + +/// Increase the array's size by `count` elements. +/// New elements are zero-initialized. +#define array_grow_by(self, count) \ + do { \ + if ((count) == 0) break; \ + _array__grow((Array *)(self), count, array_elem_size(self)); \ + memset((self)->contents + (self)->size, 0, (count) * array_elem_size(self)); \ + (self)->size += (count); \ + } while (0) + +/// Append all elements from one array to the end of another. +#define array_push_all(self, other) \ + array_extend((self), (other)->size, (other)->contents) + +/// Append `count` elements to the end of the array, reading their values from the +/// `contents` pointer. +#define array_extend(self, count, contents) \ + _array__splice( \ + (Array *)(self), array_elem_size(self), (self)->size, \ + 0, count, contents \ + ) + +/// Remove `old_count` elements from the array starting at the given `index`. At +/// the same index, insert `new_count` new elements, reading their values from the +/// `new_contents` pointer. +#define array_splice(self, _index, old_count, new_count, new_contents) \ + _array__splice( \ + (Array *)(self), array_elem_size(self), _index, \ + old_count, new_count, new_contents \ + ) + +/// Insert one `element` into the array at the given `index`. +#define array_insert(self, _index, element) \ + _array__splice((Array *)(self), array_elem_size(self), _index, 0, 1, &(element)) + +/// Remove one element from the array at the given `index`. +#define array_erase(self, _index) \ + _array__erase((Array *)(self), array_elem_size(self), _index) + +/// Pop the last element off the array, returning the element by value. +#define array_pop(self) ((self)->contents[--(self)->size]) + +/// Assign the contents of one array to another, reallocating if necessary. +#define array_assign(self, other) \ + _array__assign((Array *)(self), (const Array *)(other), array_elem_size(self)) + +/// Swap one array with another +#define array_swap(self, other) \ + _array__swap((Array *)(self), (Array *)(other)) + +/// Get the size of the array contents +#define array_elem_size(self) (sizeof *(self)->contents) + +/// Search a sorted array for a given `needle` value, using the given `compare` +/// callback to determine the order. +/// +/// If an existing element is found to be equal to `needle`, then the `index` +/// out-parameter is set to the existing value's index, and the `exists` +/// out-parameter is set to true. Otherwise, `index` is set to an index where +/// `needle` should be inserted in order to preserve the sorting, and `exists` +/// is set to false. +#define array_search_sorted_with(self, compare, needle, _index, _exists) \ + _array__search_sorted(self, 0, compare, , needle, _index, _exists) + +/// Search a sorted array for a given `needle` value, using integer comparisons +/// of a given struct field (specified with a leading dot) to determine the order. +/// +/// See also `array_search_sorted_with`. +#define array_search_sorted_by(self, field, needle, _index, _exists) \ + _array__search_sorted(self, 0, _compare_int, field, needle, _index, _exists) + +/// Insert a given `value` into a sorted array, using the given `compare` +/// callback to determine the order. +#define array_insert_sorted_with(self, compare, value) \ + do { \ + unsigned _index, _exists; \ + array_search_sorted_with(self, compare, &(value), &_index, &_exists); \ + if (!_exists) array_insert(self, _index, value); \ + } while (0) + +/// Insert a given `value` into a sorted array, using integer comparisons of +/// a given struct field (specified with a leading dot) to determine the order. +/// +/// See also `array_search_sorted_by`. +#define array_insert_sorted_by(self, field, value) \ + do { \ + unsigned _index, _exists; \ + array_search_sorted_by(self, field, (value) field, &_index, &_exists); \ + if (!_exists) array_insert(self, _index, value); \ + } while (0) + +// Private + +typedef Array(void) Array; + +/// This is not what you're looking for, see `array_delete`. +static inline void _array__delete(Array *self) { + if (self->contents) { + ts_free(self->contents); + self->contents = NULL; + self->size = 0; + self->capacity = 0; + } +} + +/// This is not what you're looking for, see `array_erase`. +static inline void _array__erase(Array *self, size_t element_size, + uint32_t index) { + assert(index < self->size); + char *contents = (char *)self->contents; + memmove(contents + index * element_size, contents + (index + 1) * element_size, + (self->size - index - 1) * element_size); + self->size--; +} + +/// This is not what you're looking for, see `array_reserve`. +static inline void _array__reserve(Array *self, size_t element_size, uint32_t new_capacity) { + if (new_capacity > self->capacity) { + if (self->contents) { + self->contents = ts_realloc(self->contents, new_capacity * element_size); + } else { + self->contents = ts_malloc(new_capacity * element_size); + } + self->capacity = new_capacity; + } +} + +/// This is not what you're looking for, see `array_assign`. +static inline void _array__assign(Array *self, const Array *other, size_t element_size) { + _array__reserve(self, element_size, other->size); + self->size = other->size; + memcpy(self->contents, other->contents, self->size * element_size); +} + +/// This is not what you're looking for, see `array_swap`. +static inline void _array__swap(Array *self, Array *other) { + Array swap = *other; + *other = *self; + *self = swap; +} + +/// This is not what you're looking for, see `array_push` or `array_grow_by`. +static inline void _array__grow(Array *self, uint32_t count, size_t element_size) { + uint32_t new_size = self->size + count; + if (new_size > self->capacity) { + uint32_t new_capacity = self->capacity * 2; + if (new_capacity < 8) new_capacity = 8; + if (new_capacity < new_size) new_capacity = new_size; + _array__reserve(self, element_size, new_capacity); + } +} + +/// This is not what you're looking for, see `array_splice`. +static inline void _array__splice(Array *self, size_t element_size, + uint32_t index, uint32_t old_count, + uint32_t new_count, const void *elements) { + uint32_t new_size = self->size + new_count - old_count; + uint32_t old_end = index + old_count; + uint32_t new_end = index + new_count; + assert(old_end <= self->size); + + _array__reserve(self, element_size, new_size); + + char *contents = (char *)self->contents; + if (self->size > old_end) { + memmove( + contents + new_end * element_size, + contents + old_end * element_size, + (self->size - old_end) * element_size + ); + } + if (new_count > 0) { + if (elements) { + memcpy( + (contents + index * element_size), + elements, + new_count * element_size + ); + } else { + memset( + (contents + index * element_size), + 0, + new_count * element_size + ); + } + } + self->size += new_count - old_count; +} + +/// A binary search routine, based on Rust's `std::slice::binary_search_by`. +/// This is not what you're looking for, see `array_search_sorted_with` or `array_search_sorted_by`. +#define _array__search_sorted(self, start, compare, suffix, needle, _index, _exists) \ + do { \ + *(_index) = start; \ + *(_exists) = false; \ + uint32_t size = (self)->size - *(_index); \ + if (size == 0) break; \ + int comparison; \ + while (size > 1) { \ + uint32_t half_size = size / 2; \ + uint32_t mid_index = *(_index) + half_size; \ + comparison = compare(&((self)->contents[mid_index] suffix), (needle)); \ + if (comparison <= 0) *(_index) = mid_index; \ + size -= half_size; \ + } \ + comparison = compare(&((self)->contents[*(_index)] suffix), (needle)); \ + if (comparison == 0) *(_exists) = true; \ + else if (comparison < 0) *(_index) += 1; \ + } while (0) + +/// Helper macro for the `_sorted_by` routines below. This takes the left (existing) +/// parameter by reference in order to work with the generic sorting function above. +#define _compare_int(a, b) ((int)*(a) - (int)(b)) + +#ifdef _MSC_VER +#pragma warning(pop) +#elif defined(__GNUC__) || defined(__clang__) +#pragma GCC diagnostic pop +#endif + +#ifdef __cplusplus +} +#endif + +#endif // TREE_SITTER_ARRAY_H_ diff --git a/src/tree_sitter/parser.h b/src/tree_sitter/parser.h new file mode 100644 index 0000000..858107d --- /dev/null +++ b/src/tree_sitter/parser.h @@ -0,0 +1,286 @@ +#ifndef TREE_SITTER_PARSER_H_ +#define TREE_SITTER_PARSER_H_ + +#ifdef __cplusplus +extern "C" { +#endif + +#include +#include +#include + +#define ts_builtin_sym_error ((TSSymbol)-1) +#define ts_builtin_sym_end 0 +#define TREE_SITTER_SERIALIZATION_BUFFER_SIZE 1024 + +#ifndef TREE_SITTER_API_H_ +typedef uint16_t TSStateId; +typedef uint16_t TSSymbol; +typedef uint16_t TSFieldId; +typedef struct TSLanguage TSLanguage; +typedef struct TSLanguageMetadata { + uint8_t major_version; + uint8_t minor_version; + uint8_t patch_version; +} TSLanguageMetadata; +#endif + +typedef struct { + TSFieldId field_id; + uint8_t child_index; + bool inherited; +} TSFieldMapEntry; + +// Used to index the field and supertype maps. +typedef struct { + uint16_t index; + uint16_t length; +} TSMapSlice; + +typedef struct { + bool visible; + bool named; + bool supertype; +} TSSymbolMetadata; + +typedef struct TSLexer TSLexer; + +struct TSLexer { + int32_t lookahead; + TSSymbol result_symbol; + void (*advance)(TSLexer *, bool); + void (*mark_end)(TSLexer *); + uint32_t (*get_column)(TSLexer *); + bool (*is_at_included_range_start)(const TSLexer *); + bool (*eof)(const TSLexer *); + void (*log)(const TSLexer *, const char *, ...); +}; + +typedef enum { + TSParseActionTypeShift, + TSParseActionTypeReduce, + TSParseActionTypeAccept, + TSParseActionTypeRecover, +} TSParseActionType; + +typedef union { + struct { + uint8_t type; + TSStateId state; + bool extra; + bool repetition; + } shift; + struct { + uint8_t type; + uint8_t child_count; + TSSymbol symbol; + int16_t dynamic_precedence; + uint16_t production_id; + } reduce; + uint8_t type; +} TSParseAction; + +typedef struct { + uint16_t lex_state; + uint16_t external_lex_state; +} TSLexMode; + +typedef struct { + uint16_t lex_state; + uint16_t external_lex_state; + uint16_t reserved_word_set_id; +} TSLexerMode; + +typedef union { + TSParseAction action; + struct { + uint8_t count; + bool reusable; + } entry; +} TSParseActionEntry; + +typedef struct { + int32_t start; + int32_t end; +} TSCharacterRange; + +struct TSLanguage { + uint32_t abi_version; + uint32_t symbol_count; + uint32_t alias_count; + uint32_t token_count; + uint32_t external_token_count; + uint32_t state_count; + uint32_t large_state_count; + uint32_t production_id_count; + uint32_t field_count; + uint16_t max_alias_sequence_length; + const uint16_t *parse_table; + const uint16_t *small_parse_table; + const uint32_t *small_parse_table_map; + const TSParseActionEntry *parse_actions; + const char * const *symbol_names; + const char * const *field_names; + const TSMapSlice *field_map_slices; + const TSFieldMapEntry *field_map_entries; + const TSSymbolMetadata *symbol_metadata; + const TSSymbol *public_symbol_map; + const uint16_t *alias_map; + const TSSymbol *alias_sequences; + const TSLexerMode *lex_modes; + bool (*lex_fn)(TSLexer *, TSStateId); + bool (*keyword_lex_fn)(TSLexer *, TSStateId); + TSSymbol keyword_capture_token; + struct { + const bool *states; + const TSSymbol *symbol_map; + void *(*create)(void); + void (*destroy)(void *); + bool (*scan)(void *, TSLexer *, const bool *symbol_whitelist); + unsigned (*serialize)(void *, char *); + void (*deserialize)(void *, const char *, unsigned); + } external_scanner; + const TSStateId *primary_state_ids; + const char *name; + const TSSymbol *reserved_words; + uint16_t max_reserved_word_set_size; + uint32_t supertype_count; + const TSSymbol *supertype_symbols; + const TSMapSlice *supertype_map_slices; + const TSSymbol *supertype_map_entries; + TSLanguageMetadata metadata; +}; + +static inline bool set_contains(const TSCharacterRange *ranges, uint32_t len, int32_t lookahead) { + uint32_t index = 0; + uint32_t size = len - index; + while (size > 1) { + uint32_t half_size = size / 2; + uint32_t mid_index = index + half_size; + const TSCharacterRange *range = &ranges[mid_index]; + if (lookahead >= range->start && lookahead <= range->end) { + return true; + } else if (lookahead > range->end) { + index = mid_index; + } + size -= half_size; + } + const TSCharacterRange *range = &ranges[index]; + return (lookahead >= range->start && lookahead <= range->end); +} + +/* + * Lexer Macros + */ + +#ifdef _MSC_VER +#define UNUSED __pragma(warning(suppress : 4101)) +#else +#define UNUSED __attribute__((unused)) +#endif + +#define START_LEXER() \ + bool result = false; \ + bool skip = false; \ + UNUSED \ + bool eof = false; \ + int32_t lookahead; \ + goto start; \ + next_state: \ + lexer->advance(lexer, skip); \ + start: \ + skip = false; \ + lookahead = lexer->lookahead; + +#define ADVANCE(state_value) \ + { \ + state = state_value; \ + goto next_state; \ + } + +#define ADVANCE_MAP(...) \ + { \ + static const uint16_t map[] = { __VA_ARGS__ }; \ + for (uint32_t i = 0; i < sizeof(map) / sizeof(map[0]); i += 2) { \ + if (map[i] == lookahead) { \ + state = map[i + 1]; \ + goto next_state; \ + } \ + } \ + } + +#define SKIP(state_value) \ + { \ + skip = true; \ + state = state_value; \ + goto next_state; \ + } + +#define ACCEPT_TOKEN(symbol_value) \ + result = true; \ + lexer->result_symbol = symbol_value; \ + lexer->mark_end(lexer); + +#define END_STATE() return result; + +/* + * Parse Table Macros + */ + +#define SMALL_STATE(id) ((id) - LARGE_STATE_COUNT) + +#define STATE(id) id + +#define ACTIONS(id) id + +#define SHIFT(state_value) \ + {{ \ + .shift = { \ + .type = TSParseActionTypeShift, \ + .state = (state_value) \ + } \ + }} + +#define SHIFT_REPEAT(state_value) \ + {{ \ + .shift = { \ + .type = TSParseActionTypeShift, \ + .state = (state_value), \ + .repetition = true \ + } \ + }} + +#define SHIFT_EXTRA() \ + {{ \ + .shift = { \ + .type = TSParseActionTypeShift, \ + .extra = true \ + } \ + }} + +#define REDUCE(symbol_name, children, precedence, prod_id) \ + {{ \ + .reduce = { \ + .type = TSParseActionTypeReduce, \ + .symbol = symbol_name, \ + .child_count = children, \ + .dynamic_precedence = precedence, \ + .production_id = prod_id \ + }, \ + }} + +#define RECOVER() \ + {{ \ + .type = TSParseActionTypeRecover \ + }} + +#define ACCEPT_INPUT() \ + {{ \ + .type = TSParseActionTypeAccept \ + }} + +#ifdef __cplusplus +} +#endif + +#endif // TREE_SITTER_PARSER_H_