Constant tree_sitter_regex::NODE_TYPES

source ·
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    }\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_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          \"type\": \"control_letter_escape\",\n          \"named\": true\n        },\n        {\n          \"type\": \"identity_escape\",\n          \"named\": true\n        }\n      ]\n    }\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\": \"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\": \"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    \"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\": \"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\": \"lookaround_assertion\",\n          \"named\": true\n        },\n        {\n          \"type\": \"named_capturing_group\",\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\": \"start_assertion\",\n          \"named\": true\n        },\n        {\n          \"type\": \"zero_or_more\",\n          \"named\": true\n        }\n      ]\n    }\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\": \")\",\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_escape\",\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.