aboutsummaryrefslogtreecommitdiff
path: root/mingling_pathf/src/patterns.rs
Commit message (Collapse)AuthorAgeFilesLines
* feat(mingling_macros, mingling_pathf): add `#[command]` attribute macro魏曹先生26 hours1-0/+2
| | | | | | | | | | | | | Add a new `#[command]` attribute macro (feature-gated behind `extra_macros`) that converts a plain function with a `Vec<String>` parameter into a fully wired Mingling command. The macro generates a `dispatcher!` call, a `#[chain]` wrapper, and a hidden module re-exporting all generated types. Also add `CommandPattern` to the pathf pattern analyzer to recognize `#[command]`-annotated functions and track their generated hidden modules.
* fix!: rename `Groupped` to `Grouped` across the codebase魏曹先生10 days1-2/+2
|
* docs: add module-level documentation and improve doc comments魏曹先生13 days1-0/+2
|
* chore: run cargo fmt and rearrange re-exports in mingling魏曹先生2026-07-021-2/+2
|
* feat(pathf): add build-time type path resolution system魏曹先生2026-06-281-1/+20
| | | | | | | 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-3/+2
| | | | | | Add a `PatternAnalyzer` with an `AnalyzePattern` trait to detect and extract struct declarations from Rust source files, supporting nested inline modules.
* feat(mingling_pathf): add module path resolution and error handling魏曹先生2026-06-281-0/+3
Introduce the core pathfinding infrastructure with `ModulePathMapping`, `MappingItem`, and `MinglingPathfinderError` types. Support recursive module traversal, `pub use` re-export hoisting, and standard Rust module resolution rules.