aboutsummaryrefslogtreecommitdiff
path: root/mingling_pathf/src/patterns
Commit message (Collapse)AuthorAgeFilesLines
* feat(pathf): add foreign item support with is_foreign flag魏曹先生24 hours10-114/+168
| | | | | | | | | | 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.
* fix(patterns): broaden pattern detection to cover both bracketed forms魏曹先生36 hours5-5/+8
|
* chore: add missing docs lint and document public API魏曹先生39 hours2-0/+14
| | | | | | | 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-17/+17
|
* docs: add module-level documentation and improve doc comments魏曹先生5 days10-0/+60
|
* chore: run cargo fmt and rearrange re-exports in mingling魏曹先生2026-07-025-34/+24
|
* fix: parse grouped derive attributes for enums and unions correctly魏曹先生2026-06-301-25/+28
| | | | | | Use `parse_args_with` with `Punctuated<Path, Comma>` to correctly identify `Groupped` and `GrouppedSerialize` derive macros, fixing a bug where enums and unions were not properly detected
* fix(dispatcher_clap): support dispatch tree pattern detection魏曹先生2026-06-301-8/+43
|
* fix(mingling_pathf): extract CMD, error, and help types from魏曹先生2026-06-301-16/+181
| | | | dispatcher_clap
* feat(pathf): add dispatch tree config and pass feature to analyzer魏曹先生2026-06-291-39/+118
| | | | | | | | 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.
* refactor: simplify match arm syntax in grouped derive pattern魏曹先生2026-06-291-9/+6
|
* fix(dispatcher): use full command name for entry generation魏曹先生2026-06-291-2/+1
|
* feat(pathf): add build-time type path resolution system魏曹先生2026-06-289-0/+740
| | | | | | | 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/+51
Add a `PatternAnalyzer` with an `AnalyzePattern` trait to detect and extract struct declarations from Rust source files, supporting nested inline modules.