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