Constant tree_sitter_md::NODE_TYPES_BLOCK

source ยท
pub const NODE_TYPES_BLOCK: &str = "[\n  {\n    \"type\": \"atx_heading\",\n    \"named\": true,\n    \"fields\": {\n      \"heading_content\": {\n        \"multiple\": false,\n        \"required\": false,\n        \"types\": [\n          {\n            \"type\": \"inline\",\n            \"named\": true\n          }\n        ]\n      }\n    },\n    \"children\": {\n      \"multiple\": true,\n      \"required\": true,\n      \"types\": [\n        {\n          \"type\": \"atx_h1_marker\",\n          \"named\": true\n        },\n        {\n          \"type\": \"atx_h2_marker\",\n          \"named\": true\n        },\n        {\n          \"type\": \"atx_h3_marker\",\n          \"named\": true\n        },\n        {\n          \"type\": \"atx_h4_marker\",\n          \"named\": true\n        },\n        {\n          \"type\": \"atx_h5_marker\",\n          \"named\": true\n        },\n        {\n          \"type\": \"atx_h6_marker\",\n          \"named\": true\n        },\n        {\n          \"type\": \"block_continuation\",\n          \"named\": true\n        }\n      ]\n    }\n  },\n  {\n    \"type\": \"backslash_escape\",\n    \"named\": true,\n    \"fields\": {}\n  },\n  {\n    \"type\": \"block_quote\",\n    \"named\": true,\n    \"fields\": {},\n    \"children\": {\n      \"multiple\": true,\n      \"required\": true,\n      \"types\": [\n        {\n          \"type\": \"block_continuation\",\n          \"named\": true\n        },\n        {\n          \"type\": \"block_quote\",\n          \"named\": true\n        },\n        {\n          \"type\": \"block_quote_marker\",\n          \"named\": true\n        },\n        {\n          \"type\": \"fenced_code_block\",\n          \"named\": true\n        },\n        {\n          \"type\": \"html_block\",\n          \"named\": true\n        },\n        {\n          \"type\": \"indented_code_block\",\n          \"named\": true\n        },\n        {\n          \"type\": \"link_reference_definition\",\n          \"named\": true\n        },\n        {\n          \"type\": \"list\",\n          \"named\": true\n        },\n        {\n          \"type\": \"paragraph\",\n          \"named\": true\n        },\n        {\n          \"type\": \"pipe_table\",\n          \"named\": true\n        },\n        {\n          \"type\": \"section\",\n          \"named\": true\n        },\n        {\n          \"type\": \"setext_heading\",\n          \"named\": true\n        },\n        {\n          \"type\": \"thematic_break\",\n          \"named\": true\n        }\n      ]\n    }\n  },\n  {\n    \"type\": \"code_fence_content\",\n    \"named\": true,\n    \"fields\": {},\n    \"children\": {\n      \"multiple\": true,\n      \"required\": false,\n      \"types\": [\n        {\n          \"type\": \"block_continuation\",\n          \"named\": true\n        }\n      ]\n    }\n  },\n  {\n    \"type\": \"document\",\n    \"named\": true,\n    \"fields\": {},\n    \"children\": {\n      \"multiple\": true,\n      \"required\": false,\n      \"types\": [\n        {\n          \"type\": \"minus_metadata\",\n          \"named\": true\n        },\n        {\n          \"type\": \"plus_metadata\",\n          \"named\": true\n        },\n        {\n          \"type\": \"section\",\n          \"named\": true\n        }\n      ]\n    }\n  },\n  {\n    \"type\": \"fenced_code_block\",\n    \"named\": true,\n    \"fields\": {},\n    \"children\": {\n      \"multiple\": true,\n      \"required\": true,\n      \"types\": [\n        {\n          \"type\": \"block_continuation\",\n          \"named\": true\n        },\n        {\n          \"type\": \"code_fence_content\",\n          \"named\": true\n        },\n        {\n          \"type\": \"fenced_code_block_delimiter\",\n          \"named\": true\n        },\n        {\n          \"type\": \"info_string\",\n          \"named\": true\n        }\n      ]\n    }\n  },\n  {\n    \"type\": \"html_block\",\n    \"named\": true,\n    \"fields\": {},\n    \"children\": {\n      \"multiple\": true,\n      \"required\": false,\n      \"types\": [\n        {\n          \"type\": \"block_continuation\",\n          \"named\": true\n        }\n      ]\n    }\n  },\n  {\n    \"type\": \"indented_code_block\",\n    \"named\": true,\n    \"fields\": {},\n    \"children\": {\n      \"multiple\": true,\n      \"required\": false,\n      \"types\": [\n        {\n          \"type\": \"block_continuation\",\n          \"named\": true\n        }\n      ]\n    }\n  },\n  {\n    \"type\": \"info_string\",\n    \"named\": true,\n    \"fields\": {},\n    \"children\": {\n      \"multiple\": true,\n      \"required\": false,\n      \"types\": [\n        {\n          \"type\": \"backslash_escape\",\n          \"named\": true\n        },\n        {\n          \"type\": \"entity_reference\",\n          \"named\": true\n        },\n        {\n          \"type\": \"language\",\n          \"named\": true\n        },\n        {\n          \"type\": \"numeric_character_reference\",\n          \"named\": true\n        }\n      ]\n    }\n  },\n  {\n    \"type\": \"inline\",\n    \"named\": true,\n    \"fields\": {},\n    \"children\": {\n      \"multiple\": true,\n      \"required\": false,\n      \"types\": [\n        {\n          \"type\": \"block_continuation\",\n          \"named\": true\n        }\n      ]\n    }\n  },\n  {\n    \"type\": \"language\",\n    \"named\": true,\n    \"fields\": {},\n    \"children\": {\n      \"multiple\": true,\n      \"required\": false,\n      \"types\": [\n        {\n          \"type\": \"backslash_escape\",\n          \"named\": true\n        },\n        {\n          \"type\": \"entity_reference\",\n          \"named\": true\n        },\n        {\n          \"type\": \"numeric_character_reference\",\n          \"named\": true\n        }\n      ]\n    }\n  },\n  {\n    \"type\": \"link_destination\",\n    \"named\": true,\n    \"fields\": {},\n    \"children\": {\n      \"multiple\": true,\n      \"required\": false,\n      \"types\": [\n        {\n          \"type\": \"backslash_escape\",\n          \"named\": true\n        },\n        {\n          \"type\": \"entity_reference\",\n          \"named\": true\n        },\n        {\n          \"type\": \"numeric_character_reference\",\n          \"named\": true\n        }\n      ]\n    }\n  },\n  {\n    \"type\": \"link_label\",\n    \"named\": true,\n    \"fields\": {},\n    \"children\": {\n      \"multiple\": true,\n      \"required\": false,\n      \"types\": [\n        {\n          \"type\": \"backslash_escape\",\n          \"named\": true\n        },\n        {\n          \"type\": \"block_continuation\",\n          \"named\": true\n        },\n        {\n          \"type\": \"entity_reference\",\n          \"named\": true\n        },\n        {\n          \"type\": \"numeric_character_reference\",\n          \"named\": true\n        }\n      ]\n    }\n  },\n  {\n    \"type\": \"link_reference_definition\",\n    \"named\": true,\n    \"fields\": {},\n    \"children\": {\n      \"multiple\": true,\n      \"required\": true,\n      \"types\": [\n        {\n          \"type\": \"block_continuation\",\n          \"named\": true\n        },\n        {\n          \"type\": \"link_destination\",\n          \"named\": true\n        },\n        {\n          \"type\": \"link_label\",\n          \"named\": true\n        },\n        {\n          \"type\": \"link_title\",\n          \"named\": true\n        }\n      ]\n    }\n  },\n  {\n    \"type\": \"link_title\",\n    \"named\": true,\n    \"fields\": {},\n    \"children\": {\n      \"multiple\": true,\n      \"required\": false,\n      \"types\": [\n        {\n          \"type\": \"backslash_escape\",\n          \"named\": true\n        },\n        {\n          \"type\": \"block_continuation\",\n          \"named\": true\n        },\n        {\n          \"type\": \"entity_reference\",\n          \"named\": true\n        },\n        {\n          \"type\": \"numeric_character_reference\",\n          \"named\": true\n        }\n      ]\n    }\n  },\n  {\n    \"type\": \"list\",\n    \"named\": true,\n    \"fields\": {},\n    \"children\": {\n      \"multiple\": true,\n      \"required\": false,\n      \"types\": [\n        {\n          \"type\": \"list_item\",\n          \"named\": true\n        }\n      ]\n    }\n  },\n  {\n    \"type\": \"list_item\",\n    \"named\": true,\n    \"fields\": {},\n    \"children\": {\n      \"multiple\": true,\n      \"required\": true,\n      \"types\": [\n        {\n          \"type\": \"block_continuation\",\n          \"named\": true\n        },\n        {\n          \"type\": \"block_quote\",\n          \"named\": true\n        },\n        {\n          \"type\": \"fenced_code_block\",\n          \"named\": true\n        },\n        {\n          \"type\": \"html_block\",\n          \"named\": true\n        },\n        {\n          \"type\": \"indented_code_block\",\n          \"named\": true\n        },\n        {\n          \"type\": \"link_reference_definition\",\n          \"named\": true\n        },\n        {\n          \"type\": \"list\",\n          \"named\": true\n        },\n        {\n          \"type\": \"list_marker_dot\",\n          \"named\": true\n        },\n        {\n          \"type\": \"list_marker_minus\",\n          \"named\": true\n        },\n        {\n          \"type\": \"list_marker_parenthesis\",\n          \"named\": true\n        },\n        {\n          \"type\": \"list_marker_plus\",\n          \"named\": true\n        },\n        {\n          \"type\": \"list_marker_star\",\n          \"named\": true\n        },\n        {\n          \"type\": \"paragraph\",\n          \"named\": true\n        },\n        {\n          \"type\": \"pipe_table\",\n          \"named\": true\n        },\n        {\n          \"type\": \"section\",\n          \"named\": true\n        },\n        {\n          \"type\": \"setext_heading\",\n          \"named\": true\n        },\n        {\n          \"type\": \"task_list_marker_checked\",\n          \"named\": true\n        },\n        {\n          \"type\": \"task_list_marker_unchecked\",\n          \"named\": true\n        },\n        {\n          \"type\": \"thematic_break\",\n          \"named\": true\n        }\n      ]\n    }\n  },\n  {\n    \"type\": \"list_marker_dot\",\n    \"named\": true,\n    \"fields\": {}\n  },\n  {\n    \"type\": \"list_marker_minus\",\n    \"named\": true,\n    \"fields\": {}\n  },\n  {\n    \"type\": \"list_marker_parenthesis\",\n    \"named\": true,\n    \"fields\": {}\n  },\n  {\n    \"type\": \"list_marker_plus\",\n    \"named\": true,\n    \"fields\": {}\n  },\n  {\n    \"type\": \"list_marker_star\",\n    \"named\": true,\n    \"fields\": {}\n  },\n  {\n    \"type\": \"paragraph\",\n    \"named\": true,\n    \"fields\": {},\n    \"children\": {\n      \"multiple\": true,\n      \"required\": true,\n      \"types\": [\n        {\n          \"type\": \"block_continuation\",\n          \"named\": true\n        },\n        {\n          \"type\": \"inline\",\n          \"named\": true\n        }\n      ]\n    }\n  },\n  {\n    \"type\": \"pipe_table\",\n    \"named\": true,\n    \"fields\": {},\n    \"children\": {\n      \"multiple\": true,\n      \"required\": true,\n      \"types\": [\n        {\n          \"type\": \"block_continuation\",\n          \"named\": true\n        },\n        {\n          \"type\": \"pipe_table_delimiter_row\",\n          \"named\": true\n        },\n        {\n          \"type\": \"pipe_table_header\",\n          \"named\": true\n        },\n        {\n          \"type\": \"pipe_table_row\",\n          \"named\": true\n        }\n      ]\n    }\n  },\n  {\n    \"type\": \"pipe_table_cell\",\n    \"named\": true,\n    \"fields\": {}\n  },\n  {\n    \"type\": \"pipe_table_delimiter_cell\",\n    \"named\": true,\n    \"fields\": {},\n    \"children\": {\n      \"multiple\": true,\n      \"required\": false,\n      \"types\": [\n        {\n          \"type\": \"pipe_table_align_left\",\n          \"named\": true\n        },\n        {\n          \"type\": \"pipe_table_align_right\",\n          \"named\": true\n        }\n      ]\n    }\n  },\n  {\n    \"type\": \"pipe_table_delimiter_row\",\n    \"named\": true,\n    \"fields\": {},\n    \"children\": {\n      \"multiple\": true,\n      \"required\": true,\n      \"types\": [\n        {\n          \"type\": \"pipe_table_delimiter_cell\",\n          \"named\": true\n        }\n      ]\n    }\n  },\n  {\n    \"type\": \"pipe_table_header\",\n    \"named\": true,\n    \"fields\": {},\n    \"children\": {\n      \"multiple\": true,\n      \"required\": true,\n      \"types\": [\n        {\n          \"type\": \"pipe_table_cell\",\n          \"named\": true\n        }\n      ]\n    }\n  },\n  {\n    \"type\": \"pipe_table_row\",\n    \"named\": true,\n    \"fields\": {},\n    \"children\": {\n      \"multiple\": true,\n      \"required\": true,\n      \"types\": [\n        {\n          \"type\": \"pipe_table_cell\",\n          \"named\": true\n        }\n      ]\n    }\n  },\n  {\n    \"type\": \"section\",\n    \"named\": true,\n    \"fields\": {},\n    \"children\": {\n      \"multiple\": true,\n      \"required\": false,\n      \"types\": [\n        {\n          \"type\": \"atx_heading\",\n          \"named\": true\n        },\n        {\n          \"type\": \"block_continuation\",\n          \"named\": true\n        },\n        {\n          \"type\": \"block_quote\",\n          \"named\": true\n        },\n        {\n          \"type\": \"fenced_code_block\",\n          \"named\": true\n        },\n        {\n          \"type\": \"html_block\",\n          \"named\": true\n        },\n        {\n          \"type\": \"indented_code_block\",\n          \"named\": true\n        },\n        {\n          \"type\": \"link_reference_definition\",\n          \"named\": true\n        },\n        {\n          \"type\": \"list\",\n          \"named\": true\n        },\n        {\n          \"type\": \"paragraph\",\n          \"named\": true\n        },\n        {\n          \"type\": \"pipe_table\",\n          \"named\": true\n        },\n        {\n          \"type\": \"section\",\n          \"named\": true\n        },\n        {\n          \"type\": \"setext_heading\",\n          \"named\": true\n        },\n        {\n          \"type\": \"thematic_break\",\n          \"named\": true\n        }\n      ]\n    }\n  },\n  {\n    \"type\": \"setext_heading\",\n    \"named\": true,\n    \"fields\": {\n      \"heading_content\": {\n        \"multiple\": false,\n        \"required\": true,\n        \"types\": [\n          {\n            \"type\": \"paragraph\",\n            \"named\": true\n          }\n        ]\n      }\n    },\n    \"children\": {\n      \"multiple\": true,\n      \"required\": true,\n      \"types\": [\n        {\n          \"type\": \"block_continuation\",\n          \"named\": true\n        },\n        {\n          \"type\": \"setext_h1_underline\",\n          \"named\": true\n        },\n        {\n          \"type\": \"setext_h2_underline\",\n          \"named\": true\n        }\n      ]\n    }\n  },\n  {\n    \"type\": \"task_list_marker_checked\",\n    \"named\": true,\n    \"fields\": {}\n  },\n  {\n    \"type\": \"task_list_marker_unchecked\",\n    \"named\": true,\n    \"fields\": {}\n  },\n  {\n    \"type\": \"thematic_break\",\n    \"named\": true,\n    \"fields\": {},\n    \"children\": {\n      \"multiple\": false,\n      \"required\": false,\n      \"types\": [\n        {\n          \"type\": \"block_continuation\",\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\": \".\",\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\": \"^\",\n    \"named\": false\n  },\n  {\n    \"type\": \"_\",\n    \"named\": false\n  },\n  {\n    \"type\": \"`\",\n    \"named\": false\n  },\n  {\n    \"type\": \"atx_h1_marker\",\n    \"named\": true\n  },\n  {\n    \"type\": \"atx_h2_marker\",\n    \"named\": true\n  },\n  {\n    \"type\": \"atx_h3_marker\",\n    \"named\": true\n  },\n  {\n    \"type\": \"atx_h4_marker\",\n    \"named\": true\n  },\n  {\n    \"type\": \"atx_h5_marker\",\n    \"named\": true\n  },\n  {\n    \"type\": \"atx_h6_marker\",\n    \"named\": true\n  },\n  {\n    \"type\": \"block_continuation\",\n    \"named\": true\n  },\n  {\n    \"type\": \"block_quote_marker\",\n    \"named\": true\n  },\n  {\n    \"type\": \"entity_reference\",\n    \"named\": true\n  },\n  {\n    \"type\": \"fenced_code_block_delimiter\",\n    \"named\": true\n  },\n  {\n    \"type\": \"minus_metadata\",\n    \"named\": true\n  },\n  {\n    \"type\": \"numeric_character_reference\",\n    \"named\": true\n  },\n  {\n    \"type\": \"pipe_table_align_left\",\n    \"named\": true\n  },\n  {\n    \"type\": \"pipe_table_align_right\",\n    \"named\": true\n  },\n  {\n    \"type\": \"plus_metadata\",\n    \"named\": true\n  },\n  {\n    \"type\": \"setext_h1_underline\",\n    \"named\": true\n  },\n  {\n    \"type\": \"setext_h2_underline\",\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  {\n    \"type\": \"~\",\n    \"named\": false\n  }\n]";
Expand description

The content of the node-types.json file for the block grammar.