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