Skip to main content

Module ast

Module ast 

Source

Structs§

ComputedFieldSpec
Specification for a computed/derived field
Condition
ConditionExpr
Simple condition expression (Level 1 - basic comparisons only)
EntitySection
Represents a logical section/group of fields in the entity
FieldPath
FieldTypeInfo
Language-agnostic type information for fields
IdentitySpec
IdlAccountSnapshot
IdlArrayTypeSnapshot
IdlDefinedTypeSnapshot
IdlEnumVariantSnapshot
IdlErrorSnapshot
IdlEventSnapshot
IdlFieldSnapshot
IdlHashMapTypeSnapshot
IdlInstructionAccountSnapshot
IdlInstructionSnapshot
IdlOptionTypeSnapshot
IdlSnapshot
IdlTypeDefSnapshot
IdlVecTypeSnapshot
InstructionAccountDef
Account metadata for an instruction.
InstructionArgDef
Argument definition for an instruction.
InstructionDef
Full instruction definition in the AST.
InstructionHook
Declarative instruction hook specification
LookupIndexSpec
PdaDefinition
PDA (Program-Derived Address) definition for the stack-level registry. PDAs defined here can be referenced by instructions via pdaRef.
ResolvedField
A resolved field within a complex type
ResolvedStructType
Resolved structure type with field information from IDL
ResolverCondition
ResolverExtractSpec
ResolverHook
Declarative resolver hook specification
ResolverSpec
SerializableFieldMapping
Serializable version of FieldMapping without phantom types
SerializableHandlerSpec
Serializable version of HandlerSpec without phantom types
SerializableStackSpec
A unified stack specification containing all entities. Written to .hyperstack/{StackName}.stack.json.
SerializableStreamSpec
Serializable version of StreamSpec without phantom types
TypedFieldMapping
TypedHandlerSpec
TypedStreamSpec
UrlResolverConfig
ViewDef
Definition of a view in the pipeline

Enums§

AccountResolution
How an instruction account’s address is determined.
BaseType
Language-agnostic base type classification
BinaryOp
Binary operators for computed expressions
CompareOp
Comparison operators for predicates
ComparisonOp
ComputeFunction
ComputedExpr
AST for computed field expressions Supports a subset of Rust expressions needed for computed fields:
ConditionOp
HookAction
HttpMethod
IdlArrayElementSnapshot
IdlDefinedInnerSnapshot
IdlSerializationSnapshot
IdlTypeDefKindSnapshot
IdlTypeSnapshot
KeyResolutionStrategy
LogicalOp
MappingSource
ParsedCondition
PdaSeedDef
Single seed in a PDA derivation.
PopulationStrategy
Predicate
Predicate for filtering entities
PredicateValue
Value in a predicate comparison
ResolveStrategy
ResolverStrategy
ResolverType
SortOrder
Sort order for view transforms
SourceSpec
Transformation
UnaryOp
Unary operators for computed expressions
UrlSource
UrlTemplatePart
ViewOutput
Output mode for a view
ViewSource
Source for a view definition
ViewTransform
Transform operation in a view pipeline

Traits§

FieldAccessor

Functions§

idl_type_snapshot_to_rust_string