Constant tree_sitter_xml::XML_NODE_TYPES
source ยท pub const XML_NODE_TYPES: &str = "[\n {\n \"type\": \"_AttType\",\n \"named\": true,\n \"subtypes\": [\n {\n \"type\": \"PEReference\",\n \"named\": true\n },\n {\n \"type\": \"StringType\",\n \"named\": true\n },\n {\n \"type\": \"TokenizedType\",\n \"named\": true\n },\n {\n \"type\": \"_EnumeratedType\",\n \"named\": true\n }\n ]\n },\n {\n \"type\": \"_EntityDecl\",\n \"named\": true,\n \"subtypes\": [\n {\n \"type\": \"GEDecl\",\n \"named\": true\n },\n {\n \"type\": \"PEDecl\",\n \"named\": true\n }\n ]\n },\n {\n \"type\": \"_EnumeratedType\",\n \"named\": true,\n \"subtypes\": [\n {\n \"type\": \"Enumeration\",\n \"named\": true\n },\n {\n \"type\": \"NotationType\",\n \"named\": true\n }\n ]\n },\n {\n \"type\": \"_Reference\",\n \"named\": true,\n \"subtypes\": [\n {\n \"type\": \"CharRef\",\n \"named\": true\n },\n {\n \"type\": \"EntityRef\",\n \"named\": true\n }\n ]\n },\n {\n \"type\": \"_markupdecl\",\n \"named\": true,\n \"subtypes\": [\n {\n \"type\": \"AttlistDecl\",\n \"named\": true\n },\n {\n \"type\": \"Comment\",\n \"named\": true\n },\n {\n \"type\": \"NotationDecl\",\n \"named\": true\n },\n {\n \"type\": \"PI\",\n \"named\": true\n },\n {\n \"type\": \"_EntityDecl\",\n \"named\": true\n },\n {\n \"type\": \"elementdecl\",\n \"named\": true\n }\n ]\n },\n {\n \"type\": \"AttDef\",\n \"named\": true,\n \"fields\": {},\n \"children\": {\n \"multiple\": true,\n \"required\": true,\n \"types\": [\n {\n \"type\": \"DefaultDecl\",\n \"named\": true\n },\n {\n \"type\": \"Name\",\n \"named\": true\n },\n {\n \"type\": \"_AttType\",\n \"named\": true\n }\n ]\n }\n },\n {\n \"type\": \"AttValue\",\n \"named\": true,\n \"fields\": {\n \"content\": {\n \"multiple\": true,\n \"required\": false,\n \"types\": [\n {\n \"type\": \"_Reference\",\n \"named\": true\n }\n ]\n }\n }\n },\n {\n \"type\": \"AttlistDecl\",\n \"named\": true,\n \"fields\": {},\n \"children\": {\n \"multiple\": true,\n \"required\": true,\n \"types\": [\n {\n \"type\": \"AttDef\",\n \"named\": true\n },\n {\n \"type\": \"Name\",\n \"named\": true\n },\n {\n \"type\": \"PEReference\",\n \"named\": true\n }\n ]\n }\n },\n {\n \"type\": \"Attribute\",\n \"named\": true,\n \"fields\": {},\n \"children\": {\n \"multiple\": true,\n \"required\": true,\n \"types\": [\n {\n \"type\": \"AttValue\",\n \"named\": true\n },\n {\n \"type\": \"Name\",\n \"named\": true\n }\n ]\n }\n },\n {\n \"type\": \"CDSect\",\n \"named\": true,\n \"fields\": {},\n \"children\": {\n \"multiple\": true,\n \"required\": true,\n \"types\": [\n {\n \"type\": \"CDStart\",\n \"named\": true\n },\n {\n \"type\": \"CData\",\n \"named\": true\n }\n ]\n }\n },\n {\n \"type\": \"CDStart\",\n \"named\": true,\n \"fields\": {}\n },\n {\n \"type\": \"CharRef\",\n \"named\": true,\n \"fields\": {}\n },\n {\n \"type\": \"DefaultDecl\",\n \"named\": true,\n \"fields\": {},\n \"children\": {\n \"multiple\": false,\n \"required\": false,\n \"types\": [\n {\n \"type\": \"AttValue\",\n \"named\": true\n },\n {\n \"type\": \"PEReference\",\n \"named\": true\n }\n ]\n }\n },\n {\n \"type\": \"ETag\",\n \"named\": true,\n \"fields\": {},\n \"children\": {\n \"multiple\": false,\n \"required\": true,\n \"types\": [\n {\n \"type\": \"Name\",\n \"named\": true\n }\n ]\n }\n },\n {\n \"type\": \"EmptyElemTag\",\n \"named\": true,\n \"fields\": {},\n \"children\": {\n \"multiple\": true,\n \"required\": true,\n \"types\": [\n {\n \"type\": \"Attribute\",\n \"named\": true\n },\n {\n \"type\": \"Name\",\n \"named\": true\n }\n ]\n }\n },\n {\n \"type\": \"EntityRef\",\n \"named\": true,\n \"fields\": {},\n \"children\": {\n \"multiple\": false,\n \"required\": true,\n \"types\": [\n {\n \"type\": \"Name\",\n \"named\": true\n }\n ]\n }\n },\n {\n \"type\": \"EntityValue\",\n \"named\": true,\n \"fields\": {\n \"content\": {\n \"multiple\": true,\n \"required\": false,\n \"types\": [\n {\n \"type\": \"PEReference\",\n \"named\": true\n },\n {\n \"type\": \"_Reference\",\n \"named\": true\n }\n ]\n }\n }\n },\n {\n \"type\": \"Enumeration\",\n \"named\": true,\n \"fields\": {},\n \"children\": {\n \"multiple\": true,\n \"required\": true,\n \"types\": [\n {\n \"type\": \"Nmtoken\",\n \"named\": true\n }\n ]\n }\n },\n {\n \"type\": \"ExternalID\",\n \"named\": true,\n \"fields\": {},\n \"children\": {\n \"multiple\": true,\n \"required\": true,\n \"types\": [\n {\n \"type\": \"PubidLiteral\",\n \"named\": true\n },\n {\n \"type\": \"SystemLiteral\",\n \"named\": true\n }\n ]\n }\n },\n {\n \"type\": \"GEDecl\",\n \"named\": true,\n \"fields\": {},\n \"children\": {\n \"multiple\": true,\n \"required\": true,\n \"types\": [\n {\n \"type\": \"EntityValue\",\n \"named\": true\n },\n {\n \"type\": \"ExternalID\",\n \"named\": true\n },\n {\n \"type\": \"NDataDecl\",\n \"named\": true\n },\n {\n \"type\": \"Name\",\n \"named\": true\n },\n {\n \"type\": \"PEReference\",\n \"named\": true\n }\n ]\n }\n },\n {\n \"type\": \"Mixed\",\n \"named\": true,\n \"fields\": {},\n \"children\": {\n \"multiple\": true,\n \"required\": false,\n \"types\": [\n {\n \"type\": \"Name\",\n \"named\": true\n },\n {\n \"type\": \"PEReference\",\n \"named\": true\n }\n ]\n }\n },\n {\n \"type\": \"NDataDecl\",\n \"named\": true,\n \"fields\": {},\n \"children\": {\n \"multiple\": false,\n \"required\": true,\n \"types\": [\n {\n \"type\": \"Name\",\n \"named\": true\n },\n {\n \"type\": \"PEReference\",\n \"named\": true\n }\n ]\n }\n },\n {\n \"type\": \"NotationDecl\",\n \"named\": true,\n \"fields\": {},\n \"children\": {\n \"multiple\": true,\n \"required\": true,\n \"types\": [\n {\n \"type\": \"ExternalID\",\n \"named\": true\n },\n {\n \"type\": \"Name\",\n \"named\": true\n },\n {\n \"type\": \"PEReference\",\n \"named\": true\n },\n {\n \"type\": \"PublicID\",\n \"named\": true\n }\n ]\n }\n },\n {\n \"type\": \"NotationType\",\n \"named\": true,\n \"fields\": {},\n \"children\": {\n \"multiple\": true,\n \"required\": true,\n \"types\": [\n {\n \"type\": \"Name\",\n \"named\": true\n },\n {\n \"type\": \"PEReference\",\n \"named\": true\n }\n ]\n }\n },\n {\n \"type\": \"PEDecl\",\n \"named\": true,\n \"fields\": {},\n \"children\": {\n \"multiple\": true,\n \"required\": true,\n \"types\": [\n {\n \"type\": \"EntityValue\",\n \"named\": true\n },\n {\n \"type\": \"ExternalID\",\n \"named\": true\n },\n {\n \"type\": \"Name\",\n \"named\": true\n }\n ]\n }\n },\n {\n \"type\": \"PEReference\",\n \"named\": true,\n \"fields\": {},\n \"children\": {\n \"multiple\": false,\n \"required\": true,\n \"types\": [\n {\n \"type\": \"Name\",\n \"named\": true\n }\n ]\n }\n },\n {\n \"type\": \"PI\",\n \"named\": true,\n \"fields\": {},\n \"children\": {\n \"multiple\": false,\n \"required\": true,\n \"types\": [\n {\n \"type\": \"PITarget\",\n \"named\": true\n }\n ]\n }\n },\n {\n \"type\": \"PseudoAtt\",\n \"named\": true,\n \"fields\": {},\n \"children\": {\n \"multiple\": true,\n \"required\": true,\n \"types\": [\n {\n \"type\": \"Name\",\n \"named\": true\n },\n {\n \"type\": \"PseudoAttValue\",\n \"named\": true\n }\n ]\n }\n },\n {\n \"type\": \"PseudoAttValue\",\n \"named\": true,\n \"fields\": {\n \"content\": {\n \"multiple\": true,\n \"required\": false,\n \"types\": [\n {\n \"type\": \"_Reference\",\n \"named\": true\n }\n ]\n }\n }\n },\n {\n \"type\": \"PubidLiteral\",\n \"named\": true,\n \"fields\": {}\n },\n {\n \"type\": \"PublicID\",\n \"named\": true,\n \"fields\": {},\n \"children\": {\n \"multiple\": true,\n \"required\": true,\n \"types\": [\n {\n \"type\": \"PEReference\",\n \"named\": true\n },\n {\n \"type\": \"PubidLiteral\",\n \"named\": true\n }\n ]\n }\n },\n {\n \"type\": \"STag\",\n \"named\": true,\n \"fields\": {},\n \"children\": {\n \"multiple\": true,\n \"required\": true,\n \"types\": [\n {\n \"type\": \"Attribute\",\n \"named\": true\n },\n {\n \"type\": \"Name\",\n \"named\": true\n }\n ]\n }\n },\n {\n \"type\": \"StringType\",\n \"named\": true,\n \"fields\": {}\n },\n {\n \"type\": \"StyleSheetPI\",\n \"named\": true,\n \"fields\": {},\n \"children\": {\n \"multiple\": true,\n \"required\": false,\n \"types\": [\n {\n \"type\": \"PseudoAtt\",\n \"named\": true\n }\n ]\n }\n },\n {\n \"type\": \"SystemLiteral\",\n \"named\": true,\n \"fields\": {},\n \"children\": {\n \"multiple\": false,\n \"required\": true,\n \"types\": [\n {\n \"type\": \"URI\",\n \"named\": true\n }\n ]\n }\n },\n {\n \"type\": \"XMLDecl\",\n \"named\": true,\n \"fields\": {},\n \"children\": {\n \"multiple\": true,\n \"required\": true,\n \"types\": [\n {\n \"type\": \"EncName\",\n \"named\": true\n },\n {\n \"type\": \"VersionNum\",\n \"named\": true\n }\n ]\n }\n },\n {\n \"type\": \"XmlModelPI\",\n \"named\": true,\n \"fields\": {},\n \"children\": {\n \"multiple\": true,\n \"required\": false,\n \"types\": [\n {\n \"type\": \"PseudoAtt\",\n \"named\": true\n }\n ]\n }\n },\n {\n \"type\": \"children\",\n \"named\": true,\n \"fields\": {},\n \"children\": {\n \"multiple\": true,\n \"required\": true,\n \"types\": [\n {\n \"type\": \"Name\",\n \"named\": true\n },\n {\n \"type\": \"PEReference\",\n \"named\": true\n }\n ]\n }\n },\n {\n \"type\": \"content\",\n \"named\": true,\n \"fields\": {},\n \"children\": {\n \"multiple\": true,\n \"required\": true,\n \"types\": [\n {\n \"type\": \"CDSect\",\n \"named\": true\n },\n {\n \"type\": \"CharData\",\n \"named\": true\n },\n {\n \"type\": \"Comment\",\n \"named\": true\n },\n {\n \"type\": \"PI\",\n \"named\": true\n },\n {\n \"type\": \"_Reference\",\n \"named\": true\n },\n {\n \"type\": \"element\",\n \"named\": true\n }\n ]\n }\n },\n {\n \"type\": \"contentspec\",\n \"named\": true,\n \"fields\": {},\n \"children\": {\n \"multiple\": false,\n \"required\": false,\n \"types\": [\n {\n \"type\": \"Mixed\",\n \"named\": true\n },\n {\n \"type\": \"PEReference\",\n \"named\": true\n },\n {\n \"type\": \"children\",\n \"named\": true\n }\n ]\n }\n },\n {\n \"type\": \"doctypedecl\",\n \"named\": true,\n \"fields\": {},\n \"children\": {\n \"multiple\": true,\n \"required\": true,\n \"types\": [\n {\n \"type\": \"ExternalID\",\n \"named\": true\n },\n {\n \"type\": \"Name\",\n \"named\": true\n },\n {\n \"type\": \"PEReference\",\n \"named\": true\n },\n {\n \"type\": \"_markupdecl\",\n \"named\": true\n }\n ]\n }\n },\n {\n \"type\": \"document\",\n \"named\": true,\n \"fields\": {\n \"root\": {\n \"multiple\": false,\n \"required\": true,\n \"types\": [\n {\n \"type\": \"element\",\n \"named\": true\n }\n ]\n }\n },\n \"children\": {\n \"multiple\": true,\n \"required\": false,\n \"types\": [\n {\n \"type\": \"Comment\",\n \"named\": true\n },\n {\n \"type\": \"PI\",\n \"named\": true\n },\n {\n \"type\": \"StyleSheetPI\",\n \"named\": true\n },\n {\n \"type\": \"XmlModelPI\",\n \"named\": true\n },\n {\n \"type\": \"prolog\",\n \"named\": true\n }\n ]\n }\n },\n {\n \"type\": \"element\",\n \"named\": true,\n \"fields\": {},\n \"children\": {\n \"multiple\": true,\n \"required\": true,\n \"types\": [\n {\n \"type\": \"ETag\",\n \"named\": true\n },\n {\n \"type\": \"EmptyElemTag\",\n \"named\": true\n },\n {\n \"type\": \"STag\",\n \"named\": true\n },\n {\n \"type\": \"content\",\n \"named\": true\n }\n ]\n }\n },\n {\n \"type\": \"elementdecl\",\n \"named\": true,\n \"fields\": {},\n \"children\": {\n \"multiple\": true,\n \"required\": true,\n \"types\": [\n {\n \"type\": \"Name\",\n \"named\": true\n },\n {\n \"type\": \"PEReference\",\n \"named\": true\n },\n {\n \"type\": \"contentspec\",\n \"named\": true\n }\n ]\n }\n },\n {\n \"type\": \"prolog\",\n \"named\": true,\n \"fields\": {},\n \"children\": {\n \"multiple\": true,\n \"required\": false,\n \"types\": [\n {\n \"type\": \"Comment\",\n \"named\": true\n },\n {\n \"type\": \"PI\",\n \"named\": true\n },\n {\n \"type\": \"StyleSheetPI\",\n \"named\": true\n },\n {\n \"type\": \"XMLDecl\",\n \"named\": true\n },\n {\n \"type\": \"XmlModelPI\",\n \"named\": true\n },\n {\n \"type\": \"doctypedecl\",\n \"named\": true\n }\n ]\n }\n },\n {\n \"type\": \"\\\"\",\n \"named\": false\n },\n {\n \"type\": \"#FIXED\",\n \"named\": false\n },\n {\n \"type\": \"#IMPLIED\",\n \"named\": false\n },\n {\n \"type\": \"#PCDATA\",\n \"named\": false\n },\n {\n \"type\": \"#REQUIRED\",\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\": \"&#x\",\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\": \"ANY\",\n \"named\": false\n },\n {\n \"type\": \"ATTLIST\",\n \"named\": false\n },\n {\n \"type\": \"CDATA\",\n \"named\": false\n },\n {\n \"type\": \"CData\",\n \"named\": true\n },\n {\n \"type\": \"CharData\",\n \"named\": true\n },\n {\n \"type\": \"Comment\",\n \"named\": true\n },\n {\n \"type\": \"DOCTYPE\",\n \"named\": false\n },\n {\n \"type\": \"ELEMENT\",\n \"named\": false\n },\n {\n \"type\": \"EMPTY\",\n \"named\": false\n },\n {\n \"type\": \"ENTITY\",\n \"named\": false\n },\n {\n \"type\": \"ERROR\",\n \"named\": true\n },\n {\n \"type\": \"EncName\",\n \"named\": true\n },\n {\n \"type\": \"IGNORE\",\n \"named\": false\n },\n {\n \"type\": \"INCLUDE\",\n \"named\": false\n },\n {\n \"type\": \"NDATA\",\n \"named\": false\n },\n {\n \"type\": \"NOTATION\",\n \"named\": false\n },\n {\n \"type\": \"Name\",\n \"named\": true\n },\n {\n \"type\": \"Nmtoken\",\n \"named\": true\n },\n {\n \"type\": \"PITarget\",\n \"named\": true\n },\n {\n \"type\": \"PUBLIC\",\n \"named\": false\n },\n {\n \"type\": \"SYSTEM\",\n \"named\": false\n },\n {\n \"type\": \"TokenizedType\",\n \"named\": true\n },\n {\n \"type\": \"URI\",\n \"named\": true\n },\n {\n \"type\": \"VersionNum\",\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\": \"encoding\",\n \"named\": false\n },\n {\n \"type\": \"no\",\n \"named\": false\n },\n {\n \"type\": \"standalone\",\n \"named\": false\n },\n {\n \"type\": \"version\",\n \"named\": false\n },\n {\n \"type\": \"xml\",\n \"named\": false\n },\n {\n \"type\": \"xml-model\",\n \"named\": false\n },\n {\n \"type\": \"xml-stylesheet\",\n \"named\": false\n },\n {\n \"type\": \"yes\",\n \"named\": false\n },\n {\n \"type\": \"|\",\n \"named\": false\n }\n]";
Expand description
The content of the node-types.json
file for XML.