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