1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
//! Core parsing types and utilities for koruma derive macros.
//!
//! This crate provides a public API for parsing `#[koruma(...)]` attributes,
//! allowing consumers to analyze koruma validation metadata without depending
//! on the proc-macro crate directly.
//!
//! # Example
//!
//! ```ignore
//! use koruma_derive_core::{parse_field, ParseFieldResult, FieldInfo};
//! use syn::Field;
//!
//! fn analyze_field(field: &Field) {
//! match parse_field(field, 0) {
//! ParseFieldResult::Valid(info) => {
//! println!("Field {} has {} validators", info.name, info.field_validators.len());
//! for v in &info.field_validators {
//! println!(" - {}", v.name());
//! }
//! }
//! ParseFieldResult::Skip => println!("Field skipped"),
//! ParseFieldResult::Error(e) => println!("Parse error: {}", e),
//! }
//! }
//! ```
// Re-export parsing types
pub use ;
pub use ;
// Re-export utility functions
pub use ;