Skip to main content

Module ast

Module ast 

Source
Expand description

Abstract Syntax Tree definitions for magic rules

This module contains the core data structures that represent parsed magic rules and their components, including offset specifications, type kinds, operators, and values.

Structs§

MagicRule
Magic rule representation in the AST

Enums§

Endianness
Endianness specification for multi-byte values
OffsetSpec
Offset specification for locating data in files
Operator
Comparison and bitwise operators
StrengthModifier
Strength modifier for magic rules
TypeKind
Data type specifications for interpreting bytes
Value
Value types for rule matching