Expand description
Type keyword parsing for magic file types
This module handles parsing and classification of magic file type keywords
(byte, short, long, quad, string, etc.) into their corresponding TypeKind
representations. It extracts the type keyword recognition from the grammar
module to keep type-specific logic cohesive and manageable as new types are
added.
Functionsยง
- parse_
type_ keyword - Parse a type keyword from magic file input
- type_
keyword_ to_ kind - Convert a type keyword string to its corresponding
TypeKind