Expand description
Span-aware Dockerfile parser.
The parser deliberately keeps the long-standing Instruction fields used
by the linter while attaching structured flags, heredocs, words, variables,
directives, source spans, forms, and recoverable diagnostics.
Structs§
- Dockerfile
- Heredoc
- Instruction
- Instruction
Flag - Parse
Diagnostic - Parser
Directive - Source
Position - Source
Span - Variable
Reference - Word
Enums§
Functions§
- parse
- Compatibility entry point used by existing rules.
- parse_
document - Parse a complete Dockerfile and retain both its AST and diagnostics.