pub const NODE_TYPES: &str = "[\n {\n \"type\": \"alternation\",\n \"named\": true,\n \"fields\": {},\n \"children\": {\n \"multiple\": true,\n \"required\": false,\n \"types\": [\n {\n \"type\": \"term\",\n \"named\": true\n }\n ]\n }\n },\n {\n \"type\": \"anonymous_capturing_group\",\n \"named\": true,\n \"fields\": {},\n \"children\": {\n \"multiple\": false,\n \"required\": true,\n \"types\": [\n {\n \"type\": \"pattern\",\n \"named\": true\n }\n ]\n }\n },\n {\n \"type\": \"backreference_escape\",\n \"named\": true,\n \"fields\": {},\n \"children\": {\n \"multiple\": false,\n \"required\": true,\n \"types\": [\n {\n \"type\": \"group_name\",\n \"named\": true\n }\n ]\n }\n },\n {\n \"type\": \"character_class\",\n \"named\": true,\n \"fields\": {},\n \"children\": {\n \"multiple\": true,\n \"required\": false,\n \"types\": [\n {\n \"type\": \"character_class_escape\",\n \"named\": true\n },\n {\n \"type\": \"class_character\",\n \"named\": true\n },\n {\n \"type\": \"class_range\",\n \"named\": true\n },\n {\n \"type\": \"control_escape\",\n \"named\": true\n },\n {\n \"type\": \"control_letter_escape\",\n \"named\": true\n },\n {\n \"type\": \"identity_escape\",\n \"named\": true\n },\n {\n \"type\": \"posix_character_class\",\n \"named\": true\n }\n ]\n }\n },\n {\n \"type\": \"character_class_escape\",\n \"named\": true,\n \"fields\": {},\n \"children\": {\n \"multiple\": false,\n \"required\": false,\n \"types\": [\n {\n \"type\": \"unicode_character_escape\",\n \"named\": true\n },\n {\n \"type\": \"unicode_property_value_expression\",\n \"named\": true\n }\n ]\n }\n },\n {\n \"type\": \"class_range\",\n \"named\": true,\n \"fields\": {},\n \"children\": {\n \"multiple\": true,\n \"required\": true,\n \"types\": [\n {\n \"type\": \"character_class_escape\",\n \"named\": true\n },\n {\n \"type\": \"class_character\",\n \"named\": true\n },\n {\n \"type\": \"control_escape\",\n \"named\": true\n }\n ]\n }\n },\n {\n \"type\": \"control_escape\",\n \"named\": true,\n \"fields\": {}\n },\n {\n \"type\": \"count_quantifier\",\n \"named\": true,\n \"fields\": {},\n \"children\": {\n \"multiple\": true,\n \"required\": true,\n \"types\": [\n {\n \"type\": \"decimal_digits\",\n \"named\": true\n },\n {\n \"type\": \"lazy\",\n \"named\": true\n }\n ]\n }\n },\n {\n \"type\": \"flags\",\n \"named\": true,\n \"fields\": {}\n },\n {\n \"type\": \"inline_flags_group\",\n \"named\": true,\n \"fields\": {},\n \"children\": {\n \"multiple\": true,\n \"required\": true,\n \"types\": [\n {\n \"type\": \"flags\",\n \"named\": true\n },\n {\n \"type\": \"pattern\",\n \"named\": true\n }\n ]\n }\n },\n {\n \"type\": \"lookaround_assertion\",\n \"named\": true,\n \"fields\": {},\n \"children\": {\n \"multiple\": false,\n \"required\": true,\n \"types\": [\n {\n \"type\": \"pattern\",\n \"named\": true\n }\n ]\n }\n },\n {\n \"type\": \"named_capturing_group\",\n \"named\": true,\n \"fields\": {},\n \"children\": {\n \"multiple\": true,\n \"required\": true,\n \"types\": [\n {\n \"type\": \"group_name\",\n \"named\": true\n },\n {\n \"type\": \"pattern\",\n \"named\": true\n }\n ]\n }\n },\n {\n \"type\": \"named_group_backreference\",\n \"named\": true,\n \"fields\": {},\n \"children\": {\n \"multiple\": false,\n \"required\": true,\n \"types\": [\n {\n \"type\": \"group_name\",\n \"named\": true\n }\n ]\n }\n },\n {\n \"type\": \"non_capturing_group\",\n \"named\": true,\n \"fields\": {},\n \"children\": {\n \"multiple\": false,\n \"required\": true,\n \"types\": [\n {\n \"type\": \"pattern\",\n \"named\": true\n }\n ]\n }\n },\n {\n \"type\": \"one_or_more\",\n \"named\": true,\n \"fields\": {},\n \"children\": {\n \"multiple\": false,\n \"required\": false,\n \"types\": [\n {\n \"type\": \"lazy\",\n \"named\": true\n }\n ]\n }\n },\n {\n \"type\": \"optional\",\n \"named\": true,\n \"fields\": {},\n \"children\": {\n \"multiple\": false,\n \"required\": false,\n \"types\": [\n {\n \"type\": \"lazy\",\n \"named\": true\n }\n ]\n }\n },\n {\n \"type\": \"pattern\",\n \"named\": true,\n \"root\": true,\n \"fields\": {},\n \"children\": {\n \"multiple\": false,\n \"required\": true,\n \"types\": [\n {\n \"type\": \"alternation\",\n \"named\": true\n },\n {\n \"type\": \"term\",\n \"named\": true\n }\n ]\n }\n },\n {\n \"type\": \"posix_character_class\",\n \"named\": true,\n \"fields\": {},\n \"children\": {\n \"multiple\": false,\n \"required\": true,\n \"types\": [\n {\n \"type\": \"posix_class_name\",\n \"named\": true\n }\n ]\n }\n },\n {\n \"type\": \"posix_class_name\",\n \"named\": true,\n \"fields\": {}\n },\n {\n \"type\": \"start_assertion\",\n \"named\": true,\n \"fields\": {}\n },\n {\n \"type\": \"term\",\n \"named\": true,\n \"fields\": {},\n \"children\": {\n \"multiple\": true,\n \"required\": true,\n \"types\": [\n {\n \"type\": \"anonymous_capturing_group\",\n \"named\": true\n },\n {\n \"type\": \"any_character\",\n \"named\": true\n },\n {\n \"type\": \"backreference_escape\",\n \"named\": true\n },\n {\n \"type\": \"boundary_assertion\",\n \"named\": true\n },\n {\n \"type\": \"character_class\",\n \"named\": true\n },\n {\n \"type\": \"character_class_escape\",\n \"named\": true\n },\n {\n \"type\": \"control_escape\",\n \"named\": true\n },\n {\n \"type\": \"control_letter_escape\",\n \"named\": true\n },\n {\n \"type\": \"count_quantifier\",\n \"named\": true\n },\n {\n \"type\": \"decimal_escape\",\n \"named\": true\n },\n {\n \"type\": \"end_assertion\",\n \"named\": true\n },\n {\n \"type\": \"identity_escape\",\n \"named\": true\n },\n {\n \"type\": \"inline_flags_group\",\n \"named\": true\n },\n {\n \"type\": \"lookaround_assertion\",\n \"named\": true\n },\n {\n \"type\": \"named_capturing_group\",\n \"named\": true\n },\n {\n \"type\": \"named_group_backreference\",\n \"named\": true\n },\n {\n \"type\": \"non_boundary_assertion\",\n \"named\": true\n },\n {\n \"type\": \"non_capturing_group\",\n \"named\": true\n },\n {\n \"type\": \"one_or_more\",\n \"named\": true\n },\n {\n \"type\": \"optional\",\n \"named\": true\n },\n {\n \"type\": \"pattern_character\",\n \"named\": true\n },\n {\n \"type\": \"posix_character_class\",\n \"named\": true\n },\n {\n \"type\": \"start_assertion\",\n \"named\": true\n },\n {\n \"type\": \"zero_or_more\",\n \"named\": true\n }\n ]\n }\n },\n {\n \"type\": \"unicode_character_escape\",\n \"named\": true,\n \"fields\": {}\n },\n {\n \"type\": \"unicode_property_value_expression\",\n \"named\": true,\n \"fields\": {},\n \"children\": {\n \"multiple\": true,\n \"required\": true,\n \"types\": [\n {\n \"type\": \"unicode_property_name\",\n \"named\": true\n },\n {\n \"type\": \"unicode_property_value\",\n \"named\": true\n }\n ]\n }\n },\n {\n \"type\": \"zero_or_more\",\n \"named\": true,\n \"fields\": {},\n \"children\": {\n \"multiple\": false,\n \"required\": false,\n \"types\": [\n {\n \"type\": \"lazy\",\n \"named\": true\n }\n ]\n }\n },\n {\n \"type\": \"!\",\n \"named\": false\n },\n {\n \"type\": \"(\",\n \"named\": false\n },\n {\n \"type\": \"(?\",\n \"named\": false\n },\n {\n \"type\": \"(?:\",\n \"named\": false\n },\n {\n \"type\": \"(?<\",\n \"named\": false\n },\n {\n \"type\": \"(?P<\",\n \"named\": false\n },\n {\n \"type\": \"(?P=\",\n \"named\": false\n },\n {\n \"type\": \")\",\n \"named\": false\n },\n {\n \"type\": \"*\",\n \"named\": false\n },\n {\n \"type\": \"+\",\n \"named\": false\n },\n {\n \"type\": \",\",\n \"named\": false\n },\n {\n \"type\": \"-\",\n \"named\": false\n },\n {\n \"type\": \":\",\n \"named\": false\n },\n {\n \"type\": \":]\",\n \"named\": false\n },\n {\n \"type\": \"<\",\n \"named\": false\n },\n {\n \"type\": \"=\",\n \"named\": false\n },\n {\n \"type\": \">\",\n \"named\": false\n },\n {\n \"type\": \"?\",\n \"named\": false\n },\n {\n \"type\": \"[\",\n \"named\": false\n },\n {\n \"type\": \"[:\",\n \"named\": false\n },\n {\n \"type\": \"\\\\k\",\n \"named\": false\n },\n {\n \"type\": \"]\",\n \"named\": false\n },\n {\n \"type\": \"^\",\n \"named\": false\n },\n {\n \"type\": \"any_character\",\n \"named\": true\n },\n {\n \"type\": \"boundary_assertion\",\n \"named\": true\n },\n {\n \"type\": \"class_character\",\n \"named\": true\n },\n {\n \"type\": \"control_letter_escape\",\n \"named\": true\n },\n {\n \"type\": \"decimal_digits\",\n \"named\": true\n },\n {\n \"type\": \"decimal_escape\",\n \"named\": true\n },\n {\n \"type\": \"end_assertion\",\n \"named\": true\n },\n {\n \"type\": \"group_name\",\n \"named\": true\n },\n {\n \"type\": \"identity_escape\",\n \"named\": true\n },\n {\n \"type\": \"lazy\",\n \"named\": true\n },\n {\n \"type\": \"non_boundary_assertion\",\n \"named\": true\n },\n {\n \"type\": \"pattern_character\",\n \"named\": true\n },\n {\n \"type\": \"unicode_property_name\",\n \"named\": true\n },\n {\n \"type\": \"unicode_property_value\",\n \"named\": true\n },\n {\n \"type\": \"{\",\n \"named\": false\n },\n {\n \"type\": \"|\",\n \"named\": false\n },\n {\n \"type\": \"}\",\n \"named\": false\n }\n]";
Expand description
The content of the node-types.json
file for this grammar.