Expand description
Parser: converts Rust AST (syn) into typewriter IR (TypeDef).
Functionsยง
- has_
typewriter_ derive - Detect if item attributes include
#[derive(... TypeWriter ...)]. - parse_
sync_ to_ attr - Parse the
#[sync_to(typescript, python, ...)]attribute. - parse_
tw_ zod_ attr - Parse optional type-level Zod override from tw(zod) or tw(zod = false).
- parse_
type_ def - Parse a
syn::DeriveInputinto aTypeDef.