MCPcopy Index your code

hub / github.com/aacebo/zyn / types & classes

Types & classes106 in github.com/aacebo/zyn

↓ 8 callersClassItem
tests/zyn/interpolation_advanced.rs:8
↓ 2 callersClassVariants
Element extractor that pulls enum variants from the input. Errors at compile time if the input is not an enum. Access the inner `Punctuated<syn::Vari
crates/zyn-core/src/extract/variants.rs:20
↓ 1 callersClassArgs
crates/zyn-core/src/meta/args.rs:17
↓ 1 callersClassPositional
tests/attribute/structs.rs:90
Class
book/theme/highlight.js:6
Class
book/theme/highlight.js:6
Class
book/theme/highlight.js:6
Class
book/theme/highlight.js:6
Class
book/theme/highlight.js:6
Class
book/theme/highlight.js:6
EnumArg
crates/zyn-core/src/meta/arg.rs:19
ClassArgMode
tests/attribute/structs.rs:44
EnumAtNode
An `@`-prefixed statement in a zyn template. See the [`at`](crate::ast::at) module for the syntax of each variant.
crates/zyn-core/src/ast/at/mod.rs:37
ClassAttr
Element extractor that resolves a `#[derive(Attribute)]` struct from the input's attributes. Use as an element parameter type to auto-extract a parse
crates/zyn-core/src/extract/attr.rs:18
InterfaceAttrExt
Extension methods for a single `syn::Attribute`. Provides name checking, argument parsing, and dot-path metadata querying. The `get`, `exists`, and `
crates/zyn-core/src/ext/attr.rs:45
ClassAttributeArgs
crates/zyn-derive/src/macros/attribute.rs:13
ClassBuilder
crates/zyn-core/src/mark/diagnostic.rs:209
ClassBuilderConfig
examples/builder/src/lib.rs:5
ClassCamel
Converts the input to camelCase. Template usage: `{{ name | camel }}`
crates/zyn-core/src/pipes.rs:105
EnumColor
tests/attribute/enums.rs:40
ClassConfig
tests/attribute/enums.rs:68
ClassConfig
examples/builder/tests/builder.rs:4
ClassDarlingArgs
benches/attr.rs:13
ClassData
Element extractor that pulls the `syn::Data` from a derive input. Defaults to `syn::Data` (accepts any kind). Parameterize with `syn::DataStruct`, `s
crates/zyn-core/src/extract/data.rs:76
InterfaceDataExt
Extension methods for `syn::Data`. Provides variant predicates (`is_struct`, `is_enum`, `is_union`) and conversions (`as_struct`, `as_enum`, `as_unio
crates/zyn-core/src/ext/data.rs:32
ClassDebugConfig
crates/zyn-derive/src/common/debug/config.rs:12
InterfaceDebugExt
Extension trait that adds `.debug()` to [`proc_macro2::TokenStream`]. # Example ```ignore use zyn::debug::DebugExt; let output: String = tokens.deb
crates/zyn-core/src/debug/mod.rs:75
EnumDebugFormat
crates/zyn-derive/src/common/debug/config.rs:5
ClassDebugTokens
Wraps a reference to a [`proc_macro2::TokenStream`] and provides formatting methods for debug output. Created by [`DebugExt::debug()`]. Use [`.raw()`
crates/zyn-core/src/debug/mod.rs:62
ClassDeriveArgs
crates/zyn-derive/src/macros/derive.rs:14
ClassDiagnostic
crates/zyn-core/src/mark/diagnostic.rs:12
ClassElementArgs
crates/zyn-derive/src/macros/element.rs:14
ClassElementNode
A `#[zyn::element]` component invocation. ```text @my_getter(name = field.ident.clone(), ty = field.ty.clone()) @wrapper(title = "hello") { nested co
crates/zyn-core/src/ast/at/element_node.rs:27
InterfaceExpand
Internal trait for AST node expansion. Not part of the public API.
crates/zyn-core/src/lib.rs:66
ClassExtract
Generic extractor wrapper — delegates to `T::from_input`. Use this in element parameters to extract any `FromInput` type without giving it a more spe
crates/zyn-core/src/extract/mod.rs:83
ClassField
tests/zyn/interpolation_advanced.rs:3
EnumFieldDefault
crates/zyn-derive/src/attribute/structs/field_meta.rs:13
InterfaceFieldExt
Extension methods for a single `syn::Field`. Provides dot-path metadata querying across the field's attributes. The first path segment matches the at
crates/zyn-core/src/ext/field.rs:38
EnumFieldKey
crates/zyn-derive/src/attribute/structs/field_meta.rs:8
EnumFieldKey
Identifies a struct field by name or position. Construct from a `syn::Ident`, `syn::Index`, `&str`, or `usize`. Implements [`ToTokens`] and [`Display
crates/zyn-core/src/ext/fields.rs:44
ClassFieldMeta
crates/zyn-derive/src/attribute/structs/field_meta.rs:19
ClassFields
Element extractor that pulls struct fields from the input. Defaults to `syn::Fields` (accepts any field kind). Parameterize with `syn::FieldsNamed` o
crates/zyn-core/src/extract/fields.rs:56
InterfaceFieldsExt
Extension methods for types that contain `syn::Fields`. Provides variant predicates (`is_named`, `is_unnamed`, `is_unit`), conversions (`as_named`, `
crates/zyn-core/src/ext/fields.rs:145
ClassFmt
Formats the input using a pattern string, producing a string literal. The `{}` placeholder in the pattern is replaced with the input value. Template
crates/zyn-core/src/pipes.rs:183
ClassForNode
A `@for` loop. Iterator form: ```text @for (item in fields.iter()) { {{ item.ident }}, } ``` Classic repeat form (repeats N times with no binding):
crates/zyn-core/src/ast/at/for_node.rs:26
InterfaceFromArg
Converts a single `Arg` into a typed value. Implement this trait to support a type as a field in `#[derive(Attribute)]` structs. Built-in impls cover
crates/zyn-core/src/extract/mod.rs:136
InterfaceFromData
Converts `syn::Data` into a specific data representation. Implementations exist for `syn::Data` (any kind), `syn::DataStruct`, `syn::DataEnum`, and `
crates/zyn-core/src/extract/data.rs:12
InterfaceFromFields
Converts `syn::Fields` into a specific fields representation. Implementations exist for `syn::Fields` (any kind), `syn::FieldsNamed` (named only), an
crates/zyn-core/src/extract/fields.rs:10
InterfaceFromInput
Extracts a value from the macro input context. Implement this trait to define how a type is resolved from an `Input` (derive or item). Built-in impls
crates/zyn-core/src/extract/mod.rs:75
ClassGroupNode
A delimited group in a zyn template: `(...)`, `[...]`, or `{...}`. The body is expanded recursively and wrapped in the appropriate delimiter.
crates/zyn-core/src/ast/group_node.rs:18
ClassIdent
Formats the input using a pattern string, producing an `Ident`. The `{}` placeholder in the pattern is replaced with the input value. Template usage
crates/zyn-core/src/pipes.rs:166
ClassIfNode
An `@if` / `@else if` / `@else` conditional block. ```text @if (condition) { // then branch } @else if (other) { // else-if branch } @else { // else
crates/zyn-core/src/ast/at/if_node.rs:27
EnumInput
crates/zyn-core/src/types/mod.rs:41
ClassInterpNode
An interpolation expression: `{{ expr }}` or `{{ expr | pipe | ... }}`. The expression is evaluated at expand time and emitted into the output token
crates/zyn-core/src/ast/interp_node.rs:21
InterfaceItemExt
Extension methods for `syn::Item`. Provides variant predicates (`is_struct`, `is_enum`, `is_fn`, etc.), conversions (`as_struct`, `as_enum`, `as_fn`,
crates/zyn-core/src/ext/item.rs:37
ClassIter
An iterator that yields unique internal identifiers for template expansion.
crates/zyn-core/src/ident.rs:19
ClassKebab
Converts the input to kebab-case as a string literal. Unlike other pipes that return `Ident`, this returns a `LitStr` because hyphens are not valid i
crates/zyn-core/src/pipes.rs:136
EnumLevel
crates/zyn-core/src/mark/level.rs:7
ClassLower
Converts the input to lowercase. Template usage: `{{ name | lower }}`
crates/zyn-core/src/pipes.rs:77
ClassMatchNode
A `@match` expression. ```text @match (expr) { Some(v) => { {{ v }} }, None => { default }, } ```
crates/zyn-core/src/ast/at/match_node.rs:25
InterfaceMetaExt
Extension methods for a single `syn::Meta`. Provides variant predicates (`is_path`, `is_list`, `is_name_value`), conversions (`as_path`, `as_list`, `
crates/zyn-core/src/ext/meta.rs:40
InterfaceMetaExtPrivate
crates/zyn-core/src/ext/meta.rs:146
ClassMetaPath
crates/zyn-core/src/path/mod.rs:53
EnumMode
tests/attribute/enums.rs:2
InterfaceMultiSpan
A type that can be converted into a list of [`Span`]s. Implemented for `Span`, `Vec<Span>`, and `&[Span]`.
crates/zyn-core/src/mark/span.rs:8
ClassMyAttr
tests/attribute/structs.rs:6
EnumNode
A single node in a parsed zyn template. See the [`ast`](crate::ast) module for the full node taxonomy.
crates/zyn-core/src/ast/mod.rs:44
ClassOpts
tests/zyn/control_flow.rs:220
ClassOuter
tests/attribute/structs.rs:75
ClassOutput
crates/zyn-core/src/types/output.rs:14
ClassOutputBuilder
crates/zyn-core/src/types/output.rs:103
EnumParseError
crates/zyn-core/src/path/error.rs:3
ClassPascal
Converts the input to PascalCase. Template usage: `{{ name | pascal }}`
crates/zyn-core/src/pipes.rs:119
InterfacePipe
Implemented by `#[zyn::pipe]` types. Transforms a value in a pipe chain.
crates/zyn-core/src/lib.rs:80
ClassPipeArgs
crates/zyn-derive/src/macros/pipe.rs:14
ClassPipeNode
A single pipe stage in a `{{ expr | pipe }}` interpolation. At expand time, the name is matched against the built-in pipe list. Unrecognised names ar
crates/zyn-core/src/ast/pipe_node.rs:27
ClassPlural
Converts the input to its plural form. Template usage: `{{ name | plural }}`
crates/zyn-core/src/pipes.rs:229
ClassRenamed
tests/attribute/structs.rs:108
InterfaceRender
Implemented by `#[zyn::element]` types. Renders the element with the given `Input` context.
crates/zyn-core/src/lib.rs:75
ClassScreaming
Converts the input to SCREAMING_SNAKE_CASE. Template usage: `{{ name | screaming }}`
crates/zyn-core/src/pipes.rs:150
EnumSegment
crates/zyn-core/src/path/segment.rs:17
ClassSingular
Converts the input to its singular form. Template usage: `{{ name | singular }}`
crates/zyn-core/src/pipes.rs:261
ClassSnake
Converts the input to snake_case. Template usage: `{{ name | snake }}`
crates/zyn-core/src/pipes.rs:91
ClassStr
Converts the input to a string literal. Template usage: `{{ name | str }}`
crates/zyn-core/src/pipes.rs:198
ClassStructMeta
crates/zyn-derive/src/attribute/structs/struct_meta.rs:7
ClassTemplate
A parsed template AST. Created by parsing template syntax via `syn::parse2::<Template>(tokens)`.
crates/zyn-core/src/template.rs:45
ClassTestAttr
tests/element/extract.rs:5
ClassTokensNode
Literal Rust tokens passed through unchanged in a zyn template. In `zyn! { fn {{ name }}() {} }`, the tokens `fn`, `(`, `)`, `{`, `}` each contribute
crates/zyn-core/src/ast/tokens_node.rs:13
ClassTraceVarFolder
examples/trace-var/src/folder.rs:17
ClassTrim
Trims characters from the start and end of the input. Template usage: `{{ name | trim:"_" }}`
crates/zyn-core/src/pipes.rs:212
InterfaceTypeExt
Extension methods for detecting and unwrapping common type wrappers. Recognizes `Option<T>` and `Result<T, E>` by their last path segment. Implemente
crates/zyn-core/src/ext/ty.rs:35
InterfaceTypeExtPrivate
crates/zyn-core/src/ext/ty.rs:117
ClassUpper
Converts the input to UPPERCASE. Template usage: `{{ name | upper }}`
crates/zyn-core/src/pipes.rs:63
InterfaceVariantExt
Extension methods for a single `syn::Variant`. Provides dot-path metadata querying across the variant's attributes. The first path segment matches th
crates/zyn-core/src/ext/variant.rs:37
EnumVariantKind
crates/zyn-derive/src/attribute/enums/variant_meta.rs:4
ClassVariantMeta
crates/zyn-derive/src/attribute/enums/variant_meta.rs:10
ClassWalk
crates/zyn-core/src/mark/diagnostic.rs:267
ClassWithDefault
tests/attribute/structs.rs:123
ClassWithSkip
tests/attribute/structs.rs:150
ClassZynArgs
benches/attr.rs:21
next →1–100 of 106, ranked by callers