aboutsummaryrefslogtreecommitdiff
path: root/mingling_pathf/src/pattern_analyzer.rs
Commit message (Collapse)AuthorAgeFilesLines
* feat(pathf): add foreign item support with is_foreign flag魏曹先生24 hours1-0/+22
| | | | | | | | | | Add `AnalyzeItem::foreign()` and `AnalyzeItem::local()` constructors to distinguish items resolved via `use` imports from local definitions. Update `GroupPattern` to collect use imports at file and module levels, resolving `group!(TypeName)` against them. Migrate all pattern implementations to use the new constructors, and adjust `type_mapping_builder` to skip the file's own module prefix for foreign items.
* chore: add missing docs lint and document public API魏曹先生40 hours1-0/+2
| | | | | | | Add `#![deny(missing_docs)]` across multiple crates and fill in documentation for all public items, including struct fields, enum variants, trait methods, and proc macros. Also mark two shell scripts as executable.
* fix!: rename `Groupped` to `Grouped` across the codebase魏曹先生3 days1-1/+1
|
* docs: add module-level documentation and improve doc comments魏曹先生5 days1-0/+14
|
* fix(dispatcher_clap): support dispatch tree pattern detection魏曹先生2026-06-301-1/+1
|
* feat(pathf): add dispatch tree config and pass feature to analyzer魏曹先生2026-06-291-66/+33
| | | | | | | | Add `PathfinderConfig` struct to control dispatch tree extraction, and wire `use_dispatch_tree` through `DispatcherPattern`, `init_with_config`, and `analyze_and_build_type_mapping_for`. Expose config and wrapper from `mingling_core` under the `pathf` feature.
* feat(pathf): add build-time type path resolution system魏曹先生2026-06-281-2/+26
| | | | | | | Add `mingling_pathf` sub-crate and `pathf` feature for automatic resolution of Mingling type module paths at build time. Scans source files, identifies macro invocations via pattern matchers, and generates mapping files consumed by `gen_program!()`.
* feat(mingling_pathf): add pattern analyzer module for struct detection魏曹先生2026-06-281-0/+140
Add a `PatternAnalyzer` with an `AnalyzePattern` trait to detect and extract struct declarations from Rust source files, supporting nested inline modules.