Skip to main content

fallow_core/
extract.rs

1//! Re-exports from `fallow-extract`.
2//!
3//! All parsing/extraction logic has been moved to the `fallow-extract` crate.
4//! This module provides backwards-compatible re-exports so that
5//! `fallow_core::extract::*` paths continue to resolve.
6
7// Re-export all types
8pub use fallow_extract::{
9    DynamicImportInfo, DynamicImportPattern, ExportInfo, ExportName, ImportInfo, ImportedName,
10    MemberAccess, MemberInfo, MemberKind, ModuleInfo, ParseResult, ReExportInfo, RequireCallInfo,
11};
12
13// Re-export extraction functions
14pub use fallow_extract::{
15    extract_astro_frontmatter, extract_css_module_exports, extract_mdx_statements,
16    extract_sfc_scripts, is_sfc_file, parse_all_files, parse_from_content, parse_single_file,
17};
18
19// Re-export sub-modules for code that imports from them directly
20pub use fallow_extract::astro;
21pub use fallow_extract::css;
22pub use fallow_extract::mdx;
23pub use fallow_extract::sfc;
24pub use fallow_extract::visitor;