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
7pub use fallow_extract::{
8    ANGULAR_TPL_SENTINEL, DynamicImportInfo, DynamicImportPattern, ExportInfo, ExportName,
9    FACTORY_CALL_SENTINEL, FLUENT_CHAIN_NEW_SENTINEL, FLUENT_CHAIN_SENTINEL,
10    INSTANCE_EXPORT_SENTINEL, ImportInfo, ImportedName, MemberAccess, MemberInfo, MemberKind,
11    ModuleInfo, PLAYWRIGHT_FIXTURE_ALIAS_SENTINEL, PLAYWRIGHT_FIXTURE_DEF_SENTINEL,
12    PLAYWRIGHT_FIXTURE_TYPE_SENTINEL, PLAYWRIGHT_FIXTURE_USE_SENTINEL, ParseResult, ReExportInfo,
13    RequireCallInfo, VisibilityTag,
14};
15pub use fallow_types::extract::{SkippedSecurityCalleeExpressionKind, SkippedSecurityCalleeReason};
16
17pub use fallow_extract::{
18    MarkupClassScan, MarkupClassToken, TailwindArbitraryUse, ThemeScan, ThemeTokenDef,
19    compute_css_analytics, extract_apply_tokens, extract_astro_frontmatter,
20    extract_astro_style_regions, extract_astro_template_regions, extract_css_module_exports,
21    extract_mdx_statements, extract_sfc_scripts, extract_sfc_styles, extract_sfc_template_regions,
22    is_edit_distance_one, is_glimmer_file, is_sfc_file, is_typo_edit, parse_all_files,
23    parse_from_content, parse_single_file, scan_markup_class_tokens,
24    scan_tailwind_arbitrary_values, scan_theme_blocks, scoped_unused_classes,
25    sfc_virtual_stylesheet, strip_glimmer_templates,
26};
27
28pub use fallow_extract::astro;
29pub use fallow_extract::css;
30pub use fallow_extract::flags;
31pub use fallow_extract::inventory;
32pub use fallow_extract::mdx;
33pub use fallow_extract::sfc;
34pub use fallow_extract::visitor;