Expand description
Abstract Syntax Tree for Sigil.
Represents the polysynthetic structure with evidentiality markers.
Structs§
- Actor
Def - Actor definition (concurrency).
- Affect
- Affective markers for sentiment and emotion tracking.
- AsmOperand
- An assembly operand (input or output).
- AsmOptions
- Assembly options/modifiers.
- Attribute
- An attribute applied to an item or crate.
Outer:
#[name]or#[name(args)]Inner:#![name]or#![name(args)] - Block
- Code block.
- Closure
Param - Const
Def - Const definition.
- Crate
Config - Crate-level configuration derived from inner attributes.
- EnumDef
- Enum definition.
- Enum
Variant - Extern
Block - Foreign function interface block.
extern "C" { fn foo(x: c_int) -> c_int; } - Extern
Function - Foreign function declaration (no body).
- Extern
Static - Foreign static variable.
- Field
Def - Field
Init - Field
Pattern - Function
- Function definition.
- Function
Attrs - Function attributes for low-level control.
- Generics
- Generic parameters.
- Ident
- Identifier with optional evidentiality and affect markers.
- Impl
Block - Impl block.
- Incorporation
Segment - Incorporation segment.
- Inline
Asm - Inline assembly expression.
- Linker
Config - Linker configuration for bare-metal/OS development.
- Match
Arm - Memory
Attributes - Memory region attributes.
- Memory
Region - Memory region for linker scripts.
- Message
Handler - Module
- Module.
- Param
- Function parameter.
- Path
Segment - Section
Config - Output section configuration.
- Simd
Type - SIMD vector type.
- Source
File - A complete Sigil source file.
- Static
Def - Static definition.
- Struct
Attrs - Struct attributes including derive.
- Struct
Def - Struct definition.
- Target
Config - Target-specific configuration.
- Trait
Def - Trait definition.
- Type
Alias - Type alias.
- Type
Path - Type path with optional generics.
- UseDecl
- Use declaration.
- Where
Clause - Where clause for bounds.
- Where
Predicate
Enums§
- AsmOperand
Kind - Assembly operand kind.
- Aspect
- Verb aspect for function semantics.
- Atomic
Op - Atomic operations.
- AttrArg
- A single argument in an attribute.
- Attr
Args - Arguments to an attribute.
- BinOp
- Binary operators.
- Builtin
Trait - Built-in trait definitions for game engines.
- Confidence
- Confidence level markers.
- Derive
Trait - Built-in derivable traits.
- Emotion
- Emotion categories (Plutchik’s wheel).
- Evidentiality
- Evidentiality markers from the type system.
- Expr
- Expressions.
- Extern
Item - Items that can appear in an extern block.
- Formality
- Formality register.
- Generic
Param - GraphQL
OpKind - GraphQL operation kinds for graphql· incorporation.
- Http
Method - HTTP methods for http· incorporation.
- Impl
Item - Inline
Hint - Inline hints for functions.
- Intensity
- Intensity modifiers.
- Interpolation
Part - Part of an interpolated string
- Item
- Top-level items.
- Kafka
OpKind - Kafka operation kinds for kafka· incorporation.
- Literal
- Literal values.
- Memory
Ordering - Atomic memory ordering.
- Morpheme
Kind - Morpheme kinds.
- NumBase
- Number bases.
- Pattern
- Patterns.
- PipeOp
- Pipe operation in a chain.
- Protocol
Kind - Protocol kinds for stream expressions.
- Sentiment
- Sentiment polarity markers.
- SimdOp
- SIMD intrinsic operations.
- Stmt
- Statements.
- Struct
Fields - Struct
Repr - Memory representation for structs.
- Trait
Item - Type
Expr - Type expressions.
- UnaryOp
- Unary operators.
- UseTree
- Visibility
- Visibility modifier.
- WebSocket
Message Kind - WebSocket message kinds for ws· incorporation.