aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Titus Wormer <tituswormer@gmail.com>2022-09-29 12:08:40 +0200
committerLibravatar Titus Wormer <tituswormer@gmail.com>2022-09-29 12:08:40 +0200
commit8c9071c950ed7750ab263921171287c52396378a (patch)
tree63dbd401a131c083fd3f4931d8db656bffbe4a8c
parentb33a81e40620b8b3eaeeec9d0e0b34ca5958dead (diff)
downloadmarkdown-rs-8c9071c950ed7750ab263921171287c52396378a.tar.gz
markdown-rs-8c9071c950ed7750ab263921171287c52396378a.tar.bz2
markdown-rs-8c9071c950ed7750ab263921171287c52396378a.zip
Add note on future idea
-rw-r--r--tests/test_utils/swc.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/test_utils/swc.rs b/tests/test_utils/swc.rs
index f455674..f08fe38 100644
--- a/tests/test_utils/swc.rs
+++ b/tests/test_utils/swc.rs
@@ -9,6 +9,10 @@ use swc_ecma_parser::{
error::Error as SwcError, parse_file_as_expr, parse_file_as_module, EsConfig, Syntax,
};
+// To do:
+// Use lexer in the future:
+// <https://docs.rs/swc_ecma_parser/0.99.1/swc_ecma_parser/lexer/index.html>
+
/// Parse ESM in MDX with SWC.
#[allow(dead_code)]
pub fn parse_esm(value: &str) -> MdxSignal {