Expand description
Context-aware directive traversal.
This module provides DirectiveWithContext and AllDirectivesWithContextIter,
which perform depth-first traversal of the config AST while tracking the parent
block hierarchy (e.g., ["http", "server"]).
Obtained via Config::all_directives_with_context().
Structsยง
- AllDirectives
With Context Iter - Iterator over all directives with their parent context.
- Directive
With Context - A directive paired with its parent block context.