Expand description
Process-free parsing, validation, and rendering for recovered headers.
The crate owns only the non-serialized syntax model. Stable report
identifiers and JSON projections belong to macho-analysis.
Structs§
- Base
- A record base.
- Field
- A record field.
- Function
Qualifiers - C++ function qualifiers.
- Header
Validation Diagnostic - One semantic validation diagnostic.
- Header
Validation Report - Complete syntax and semantic validation result.
- Identifier
- A validated source-language identifier.
- Identifier
Path - A non-empty qualified identifier path.
- ObjectiveC
Ivar - Objective-C instance-variable declaration.
- ObjectiveC
Method - Objective-C method declaration.
- ObjectiveC
Property - Objective-C property declaration.
- Parameter
- A named function parameter.
- Source
Span - A source span reported by the parser.
- Translation
Unit - A parsed header translation unit.
- Tree
Sitter Header Parser - Tree-sitter implementation of
HeaderParser. - Type
Qualifiers - C/C++ type qualifiers.
- Validation
Limits - Hard resource bounds for recursive validation.
Enums§
- Access
- Member access.
- Builtin
Type - Built-in C-family scalar types.
- Calling
Convention - Function calling convention.
- Decl
- A top-level typed declaration.
- Header
Validation Code - Stable semantic validation diagnostic code.
- Language
- The source language used to parse or render a header.
- Linkage
- Language linkage attached to a declaration.
- Method
Kind - Objective-C method kind.
- Named
Type Tag - The namespace used to resolve a named type.
- ObjectiveC
Access - Objective-C ivar visibility.
- ObjectiveC
Forward Kind - Objective-C forward-declaration kind.
- ObjectiveC
Property Attribute - Objective-C property attribute supported by the deterministic renderer.
- Parameter
State - Whether a function’s parameter list is known.
- Parse
Error - Header parsing failure.
- Record
Kind - Record declaration kind.
- Reference
Kind - C++ reference kind.
- Render
Error - Rendering failure for a semantically incompatible AST.
- Severity
- Diagnostic severity.
- Storage
Class - Storage-class specifier.
- Template
Argument - A template argument.
- Type
- A fully typed header type.
- Validation
Error - Typed validation limit failure.
Traits§
- Header
Parser - Process-free parser for C-family headers.