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_css_module_exports, extract_mdx_statements, extract_sfc_scripts, extract_sfc_styles,
21    is_edit_distance_one, is_glimmer_file, is_sfc_file, is_typo_edit, parse_all_files,
22    parse_from_content, parse_single_file, scan_markup_class_tokens,
23    scan_tailwind_arbitrary_values, scan_theme_blocks, scoped_unused_classes,
24    sfc_virtual_stylesheet, strip_glimmer_templates,
25};
26
27pub use fallow_extract::astro;
28pub use fallow_extract::css;
29pub use fallow_extract::flags;
30pub use fallow_extract::inventory;
31pub use fallow_extract::mdx;
32pub use fallow_extract::sfc;
33pub use fallow_extract::visitor;