Expand description
Re-exports from fallow-extract.
All parsing/extraction logic has been moved to the fallow-extract crate.
This module provides backwards-compatible re-exports so that
fallow_core::extract::* paths continue to resolve.
Modules§
- astro
- Astro component frontmatter extraction.
- css
- CSS/SCSS file parsing and CSS Module class name extraction.
- mdx
- MDX import/export statement extraction.
- sfc
- Vue/Svelte Single File Component (SFC) script extraction.
- visitor
- Oxc AST visitor for extracting imports, exports, re-exports, and member accesses.
Structs§
- Dynamic
Import Info - A dynamic
import()call. - Dynamic
Import Pattern - A dynamic import with a pattern that can be partially resolved (e.g., template literals).
- Export
Info - An export declaration.
- Import
Info - An import declaration.
- Member
Access - A static member access expression (e.g.,
Status.Active,MyClass.create()). - Member
Info - A member of an enum or class.
- Module
Info - Extracted module information from a single file.
- Parse
Result - Result of parsing all files, including incremental cache statistics.
- ReExport
Info - A re-export declaration.
- Require
Call Info - A
require()call.
Enums§
- Export
Name - Export identifier.
- Imported
Name - How a symbol is imported.
- Member
Kind - The kind of member.
Functions§
- extract_
astro_ frontmatter - Extract frontmatter from an Astro component.
- extract_
css_ module_ exports - Extract class names from a CSS module file as named exports.
- extract_
mdx_ statements - Extract import/export statements from MDX content.
- extract_
sfc_ scripts - Extract all
<script>blocks from a Vue/Svelte SFC source string. - is_
sfc_ file - Check if a file path is a Vue or Svelte SFC (
.vueor.svelte). - parse_
all_ files - Parse all files in parallel, extracting imports and exports. Uses the cache to skip reparsing files whose content hasn’t changed.
- parse_
from_ content - Parse from in-memory content (for LSP).
- parse_
single_ file - Parse a single file and extract module information.