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    ANGULAR_TPL_SENTINEL, DynamicImportInfo, DynamicImportPattern, ExportInfo, ExportName,
10    ImportInfo, ImportedName, MemberAccess, MemberInfo, MemberKind, ModuleInfo, ParseResult,
11    ReExportInfo, RequireCallInfo,
12};
13
14// Re-export extraction functions
15pub use fallow_extract::{
16    extract_astro_frontmatter, extract_css_module_exports, extract_mdx_statements,
17    extract_sfc_scripts, is_sfc_file, parse_all_files, parse_from_content, parse_single_file,
18};
19
20// Re-export sub-modules for code that imports from them directly
21pub use fallow_extract::astro;
22pub use fallow_extract::css;
23pub use fallow_extract::flags;
24pub use fallow_extract::mdx;
25pub use fallow_extract::sfc;
26pub use fallow_extract::visitor;