#[derive(Debug, PartialEq, Eq, Hash)]
pub enum NodeCategory {
Root,
Titular,
PreBibliographic,
Bibliographic,
Decorative,
Structural,
CompoundStructural,
SimpleStructural,
SubStructural,
Body,
SubBody,
SimpleSubBody,
CompoundSubBody,
SimpleBody,
CompoundBody,
Sequential,
Special,
Inline,
Referential,
Raw,
}
pub const ABBREVIATION_CATEGORIES: [NodeCategory; 1] = [NodeCategory::Inline];
pub const ABSOLUTE_URI_CATEGORIES: [NodeCategory; 1] = [NodeCategory::Inline];
pub const ACRONYM_CATEGORIES: [NodeCategory; 1] = [NodeCategory::Inline];
pub const ADDRESS_CATEGORIES: [NodeCategory; 1] = [NodeCategory::Bibliographic];
pub const ADMONITION_CATEGORIES: [NodeCategory; 2] =
[NodeCategory::Body, NodeCategory::CompoundBody];
pub const ATTRIBUTION_CATEGORIES: [NodeCategory; 2] =
[NodeCategory::SubBody, NodeCategory::SimpleSubBody];
pub const AUTHOR_CATEGORIES: [NodeCategory; 1] = [NodeCategory::Bibliographic];
pub const AUTHORS_CATEGORIES: [NodeCategory; 1] = [NodeCategory::Bibliographic];
pub const AUTO_SECTION_NUMBERING_CATEGORIES: [NodeCategory; 1] = [NodeCategory::Inline];
pub const BLOCK_QUOTE_CATEGORIES: [NodeCategory; 2] =
[NodeCategory::Body, NodeCategory::CompoundBody];
pub const BULLET_LIST_CATEGORIES: [NodeCategory; 2] =
[NodeCategory::Body, NodeCategory::CompoundBody];
pub const BULLET_LIST_ITEM_CATEGORIES: [NodeCategory; 2] =
[NodeCategory::SubBody, NodeCategory::CompoundSubBody];
pub const CAPTION_CATEGORIES: [NodeCategory; 2] =
[NodeCategory::SubBody, NodeCategory::SimpleSubBody];
pub const CITATION_CATEGORIES: [NodeCategory; 2] = [NodeCategory::Body, NodeCategory::CompoundBody];
pub const CITATION_REFERENCE_CATEGORIES: [NodeCategory; 1] = [NodeCategory::Inline];
pub const CLASS_CATEGORIES: [NodeCategory; 2] = [NodeCategory::Body, NodeCategory::CompoundBody];
pub const CLASSIFIER_CATEGORIES: [NodeCategory; 2] =
[NodeCategory::SubBody, NodeCategory::SimpleSubBody];
pub const CODE_CATEGORIES: [NodeCategory; 2] = [NodeCategory::Body, NodeCategory::SimpleBody];
pub const COLSPEC_CATEGORIES: [NodeCategory; 2] =
[NodeCategory::SubBody, NodeCategory::SimpleSubBody];
pub const COMMENT_CATEGORIES: [NodeCategory; 2] = [NodeCategory::Body, NodeCategory::SimpleBody];
pub const COMPOUND_PARAGRAPH_CATEGORIES: [NodeCategory; 2] =
[NodeCategory::Body, NodeCategory::CompoundBody];
pub const CONTACT_CATEGORIES: [NodeCategory; 1] = [NodeCategory::Bibliographic];
pub const CONTAINER_CATEGORIES: [NodeCategory; 2] =
[NodeCategory::Body, NodeCategory::CompoundBody];
pub const COPYRIGHT_CATEGORIES: [NodeCategory; 1] = [NodeCategory::Bibliographic];
pub const CSV_TABLE_CATEGORIES: [NodeCategory; 0] = [];
pub const DATE_CATEGORIES: [NodeCategory; 1] = [NodeCategory::Bibliographic];
pub const DECORATION_CATEGORIES: [NodeCategory; 1] = [NodeCategory::SubStructural];
pub const DEFINITION_CATEGORIES: [NodeCategory; 2] =
[NodeCategory::SubBody, NodeCategory::CompoundSubBody];
pub const DEFINITION_LIST_CATEGORIES: [NodeCategory; 2] =
[NodeCategory::Body, NodeCategory::CompoundBody];
pub const DEFINITION_LIST_ITEM_CATEGORIES: [NodeCategory; 2] =
[NodeCategory::SubBody, NodeCategory::CompoundSubBody];
pub const DESCRIPTION_CATEGORIES: [NodeCategory; 2] =
[NodeCategory::SubBody, NodeCategory::CompoundSubBody];
pub const DOC_INFO_CATEGORIES: [NodeCategory; 1] = [NodeCategory::SubStructural];
pub const DOCTEST_BLOCK_CATEGORIES: [NodeCategory; 2] =
[NodeCategory::Body, NodeCategory::SimpleBody];
pub const DOCUMENT_CATEGORIES: [NodeCategory; 3] = [
NodeCategory::Root,
NodeCategory::Structural,
NodeCategory::CompoundStructural,
];
pub const EMPHASIS_CATEGORIES: [NodeCategory; 1] = [NodeCategory::Inline];
pub const EMPTY_LINE_CATEGORIES: [NodeCategory; 6] = [
NodeCategory::Structural,
NodeCategory::SimpleStructural,
NodeCategory::Body,
NodeCategory::SimpleBody,
NodeCategory::SubBody,
NodeCategory::SimpleSubBody,
];
pub const ENTRY_CATEGORIES: [NodeCategory; 2] =
[NodeCategory::SubBody, NodeCategory::CompoundSubBody];
pub const ENUMERATED_LIST_CATEGORIES: [NodeCategory; 2] =
[NodeCategory::Body, NodeCategory::CompoundBody];
pub const ENUMERATED_LIST_ITEM_CATEGORIES: [NodeCategory; 2] =
[NodeCategory::SubBody, NodeCategory::CompoundSubBody];
pub const EXTERNAL_HYPERLINK_TARGET_CATEGORIES: [NodeCategory; 2] =
[NodeCategory::Body, NodeCategory::SimpleBody];
pub const FIELD_CATEGORIES: [NodeCategory; 3] = [
NodeCategory::Bibliographic,
NodeCategory::SubBody,
NodeCategory::CompoundSubBody,
];
pub const FIELD_BODY_CATEGORIES: [NodeCategory; 2] =
[NodeCategory::SubBody, NodeCategory::CompoundSubBody];
pub const FIELD_LIST_CATEGORIES: [NodeCategory; 2] =
[NodeCategory::Body, NodeCategory::CompoundBody];
pub const FIELD_LIST_ITEM_CATEGORIES: [NodeCategory; 2] =
[NodeCategory::SubBody, NodeCategory::CompoundSubBody];
pub const FIGURE_CATEGORIES: [NodeCategory; 2] = [NodeCategory::Body, NodeCategory::CompoundBody];
pub const FOOTER_CATEGORIES: [NodeCategory; 1] = [NodeCategory::Decorative];
pub const FOOTNOTE_CATEGORIES: [NodeCategory; 2] = [NodeCategory::Body, NodeCategory::CompoundBody];
pub const FOOTNOTE_REFERENCE_CATEGORIES: [NodeCategory; 1] = [NodeCategory::Inline];
pub const HEADER_CATEGORIES: [NodeCategory; 1] = [NodeCategory::Decorative];
pub const GENERATED_CATEGORIES: [NodeCategory; 1] = [NodeCategory::Inline];
pub const IMAGE_CATEGORIES: [NodeCategory; 3] = [
NodeCategory::Body,
NodeCategory::SimpleBody,
NodeCategory::Inline,
];
pub const INCLUDE_CATEGORIES: [NodeCategory; 2] = [
NodeCategory::Body,
NodeCategory::SimpleBody
];
pub const INDIRECT_HYPERLINK_TARGET_CATEGORIES: [NodeCategory; 2] =
[NodeCategory::Body, NodeCategory::SimpleBody];
pub const INLINE_CATEGORIES: [NodeCategory; 1] = [
NodeCategory::Inline, ];
pub const INLINE_TARGET_CATEGORIES: [NodeCategory; 0] = [
];
pub const INTERPRETED_TEXT_CATEGORIES: [NodeCategory; 1] = [NodeCategory::Inline];
pub const LABEL_CATEGORIES: [NodeCategory; 2] =
[NodeCategory::SubBody, NodeCategory::SimpleSubBody];
pub const LEGEND_CATEGORIES: [NodeCategory; 2] =
[NodeCategory::SubBody, NodeCategory::CompoundSubBody];
pub const LINE_CATEGORIES: [NodeCategory; 2] = [NodeCategory::SubBody, NodeCategory::SimpleSubBody];
pub const LINE_BLOCK_CATEGORIES: [NodeCategory; 2] =
[NodeCategory::Body, NodeCategory::CompoundBody];
pub const LIST_TABLE_CATEGORIES: [NodeCategory; 2] =
[NodeCategory::Body, NodeCategory::CompoundBody];
pub const LITERAL_CATEGORIES: [NodeCategory; 1] = [NodeCategory::Inline];
pub const LITERAL_BLOCK_CATEGORIES: [NodeCategory; 2] =
[NodeCategory::Body, NodeCategory::SimpleBody];
pub const MATH_CATEGORIES: [NodeCategory; 1] = [NodeCategory::Inline];
pub const MATH_BLOCK_CATEGORIES: [NodeCategory; 2] = [NodeCategory::Body, NodeCategory::SimpleBody];
pub const OPTION_LIST_CATEGORIES: [NodeCategory; 2] =
[NodeCategory::Body, NodeCategory::CompoundBody];
pub const OPTION_LIST_ITEM_CATEGORIES: [NodeCategory; 2] =
[NodeCategory::SubBody, NodeCategory::CompoundSubBody];
pub const OPTION_STRING_CATEGORIES: [NodeCategory; 2] =
[NodeCategory::SubBody, NodeCategory::SimpleSubBody];
pub const ORGANIZATION_CATEGORIES: [NodeCategory; 1] = [NodeCategory::Bibliographic];
pub const PARAGRAPH_CATEGORIES: [NodeCategory; 2] = [NodeCategory::Body, NodeCategory::SimpleBody];
pub const PARSED_LITERAL_BLOCK_CATEGORIES: [NodeCategory; 2] =
[NodeCategory::Body, NodeCategory::CompoundBody];
pub const PENDING_CATEGORIES: [NodeCategory; 2] = [NodeCategory::Body, NodeCategory::SimpleBody];
pub const PROBLEMATIC_CATEGORIES: [NodeCategory; 1] = [NodeCategory::Inline];
pub const RAW_CATEGORIES: [NodeCategory; 2] = [NodeCategory::Body, NodeCategory::SimpleBody];
pub const REFERENCE_CATEGORIES: [NodeCategory; 2] =
[NodeCategory::Inline, NodeCategory::Referential];
pub const REVISION_CATEGORIES: [NodeCategory; 1] = [NodeCategory::Bibliographic];
pub const ROW_CATEGORIES: [NodeCategory; 2] =
[NodeCategory::SubBody, NodeCategory::CompoundSubBody];
pub const RUBRIC_CATEGORIES: [NodeCategory; 2] = [NodeCategory::Body, NodeCategory::SimpleBody];
pub const SECTION_CATEGORIES: [NodeCategory; 3] = [
NodeCategory::Structural,
NodeCategory::CompoundStructural,
NodeCategory::Titular,
];
pub const SIDEBAR_CATEGORIES: [NodeCategory; 2] =
[NodeCategory::Structural, NodeCategory::CompoundStructural];
pub const STATUS_CATEGORIES: [NodeCategory; 1] = [NodeCategory::Bibliographic];
pub const STANDALONE_EMAIL_CATEGORIES: [NodeCategory; 1] = [NodeCategory::Inline];
pub const STRONG_EMPHASIS_CATEGORIES: [NodeCategory; 1] = [NodeCategory::Inline];
pub const SUBSCRIPT_CATEGORIES: [NodeCategory; 1] = [NodeCategory::Inline];
pub const SUBSTITUTION_DEF_CATEGORIES: [NodeCategory; 2] =
[NodeCategory::Body, NodeCategory::SimpleBody];
pub const SUBSTITUTION_REF_CATEGORIES: [NodeCategory; 1] = [NodeCategory::Inline];
pub const SUBTITLE_CATEGORIES: [NodeCategory; 1] = [NodeCategory::SubStructural];
pub const SUPERSCRIPT_CATEGORIES: [NodeCategory; 1] = [NodeCategory::Inline];
pub const SYSTEM_MESSAGE_CATEGORIES: [NodeCategory; 2] =
[NodeCategory::Body, NodeCategory::CompoundBody];
pub const TABLE_CATEGORIES: [NodeCategory; 2] = [NodeCategory::Body, NodeCategory::CompoundBody];
pub const TARGET_CATEGORIES: [NodeCategory; 1] = [NodeCategory::Inline];
pub const T_BODY_CATEGORIES: [NodeCategory; 2] =
[NodeCategory::SubBody, NodeCategory::CompoundSubBody];
pub const TERM_CATEGORIES: [NodeCategory; 2] = [NodeCategory::SubBody, NodeCategory::SimpleSubBody];
pub const TEXT_CATEGORIES: [NodeCategory; 1] = [NodeCategory::Inline];
pub const T_GROUP_CATEGORIES: [NodeCategory; 2] =
[NodeCategory::SubBody, NodeCategory::CompoundSubBody];
pub const T_HEAD_CATEGORIES: [NodeCategory; 2] =
[NodeCategory::SubBody, NodeCategory::CompoundSubBody];
pub const T_ROW_CATEGORIES: [NodeCategory; 2] =
[NodeCategory::SubBody, NodeCategory::CompoundSubBody];
pub const TITLE_CATEGORIES: [NodeCategory; 1] = [NodeCategory::SubStructural];
pub const TITLE_REF_CATEGORIES: [NodeCategory; 1] = [NodeCategory::Inline];
pub const TOPIC_CATEGORIES: [NodeCategory; 1] = [NodeCategory::Structural];
pub const TRANSITION_CATEGORIES: [NodeCategory; 1] = [NodeCategory::Structural];
pub const UNKNOWN_DIRECTIVE_CATEGORIES: [NodeCategory; 2] =
[NodeCategory::Body, NodeCategory::CompoundBody];
pub const VERSION_CATEGORIES: [NodeCategory; 1] = [NodeCategory::Bibliographic];
pub const WHITESPACE_CATEGORIES: [NodeCategory; 1] = [NodeCategory::Inline];
pub const SPHINX_ONLY_CATEGORIES: &[NodeCategory] =
&[NodeCategory::Body, NodeCategory::CompoundBody];
pub const SPHINX_CODE_BLOCK_CATEGORIES: &[NodeCategory] =
&[NodeCategory::Body, NodeCategory::SimpleBody];
pub const APLUS_POI_CATEGORIES: [NodeCategory; 2] =
[NodeCategory::Body, NodeCategory::CompoundBody];
pub const APLUS_COL_BREAK_CATEGORIES: &[NodeCategory] = &[];
pub const APLUS_QUESTIONNAIRE_CATEGORIES: &[NodeCategory] =
&[NodeCategory::Body, NodeCategory::CompoundBody];
pub const APLUS_PICK_ONE_CATEGORIES: &[NodeCategory] =
&[NodeCategory::SubBody, NodeCategory::CompoundSubBody];
pub const APLUS_PICK_ANY_CATEGORIES: &[NodeCategory] =
&[NodeCategory::SubBody, NodeCategory::CompoundSubBody];
pub const APLUS_FREETEXT_CATEGORIES: &[NodeCategory] =
&[NodeCategory::SubBody, NodeCategory::CompoundSubBody];
pub const APLUS_QUESTION_INSTRUCTION_CATEGORIES: &[NodeCategory] = &[];
pub const APLUS_PICK_CHOICES_CATEGORIES: &[NodeCategory] =
&[NodeCategory::SubBody, NodeCategory::CompoundSubBody];
pub const APLUS_PICK_CHOICE_CATEGORIES: &[NodeCategory] =
&[NodeCategory::SubBody, NodeCategory::SimpleSubBody];
pub const APLUS_QUESTIONNAIRE_HINTS_CATEGORIES: &[NodeCategory] =
&[NodeCategory::SubBody, NodeCategory::CompoundSubBody];
pub const APLUS_QUESTIONNAIRE_HINT_CATEGORIES: &[NodeCategory] =
&[NodeCategory::SubBody, NodeCategory::SimpleSubBody];
pub const APLUS_SUBMIT_CATEGORIES: &[NodeCategory] =
&[NodeCategory::Body, NodeCategory::CompoundBody];
pub const APLUS_ACTIVE_ELEMENT_INPUT_CATEGORIES: &[NodeCategory] =
&[NodeCategory::Body, NodeCategory::SimpleBody];
pub const APLUS_ACTIVE_ELEMENT_OUTPUT_CATEGORIES: &[NodeCategory] =
&[NodeCategory::Body, NodeCategory::SimpleBody];