aboutsummaryrefslogtreecommitdiffstats
path: root/src/event.rs
diff options
context:
space:
mode:
authorLibravatar Titus Wormer <tituswormer@gmail.com>2022-09-06 18:30:40 +0200
committerLibravatar Titus Wormer <tituswormer@gmail.com>2022-09-06 18:30:40 +0200
commit6af582ee16d9c54c9719144caabc7705a324c40b (patch)
treed80cd71964a38fb4cd1b4c1df8acfc256d4cbcba /src/event.rs
parent537bf2d6b7b3a2f7855f7628159aecaea2acdb0f (diff)
downloadmarkdown-rs-6af582ee16d9c54c9719144caabc7705a324c40b.tar.gz
markdown-rs-6af582ee16d9c54c9719144caabc7705a324c40b.tar.bz2
markdown-rs-6af582ee16d9c54c9719144caabc7705a324c40b.zip
Add initial states for MDX JSX (text)
Diffstat (limited to 'src/event.rs')
-rw-r--r--src/event.rs22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/event.rs b/src/event.rs
index fad2c64..b476d45 100644
--- a/src/event.rs
+++ b/src/event.rs
@@ -2730,6 +2730,28 @@ pub enum Name {
/// ^ ^ ^
/// ```
ThematicBreakSequence,
+
+ // To do: sort.
+ MdxJsxTextTag,
+ MdxJsxTextTagMarker, // void
+ MdxJsxTextEsWhitespace, // void
+ MdxJsxTextTagClosingMarker, // void
+ MdxJsxTextTagName,
+ MdxJsxTextTagNamePrimary, // void?
+ MdxJsxTextTagNameMemberMarker, // void
+ MdxJsxTextTagNamePrefixMarker, // void
+ MdxJsxTextTagNameMember, // void
+ MdxJsxTextTagNameLocal, // void
+ MdxJsxTextTagSelfClosingMarker, // void
+ MdxJsxTextTagAttribute,
+ MdxJsxTextTagAttributeName,
+ MdxJsxTextTagAttributePrimaryName,
+ MdxJsxTextTagAttributeNamePrefixMarker, // void
+ MdxJsxTextTagAttributeInitializerMarker, // void
+ MdxJsxTextTagAttributeNameLocal, // void
+ MdxJsxTextTagAttributeValueLiteral,
+ MdxJsxTextTagAttributeValueLiteralMarker, // void
+ MdxJsxTextTagAttributeValueLiteralValue,
}
/// List of void events, used to make sure everything is working well.