# Functions
ChompHeredocContent chomps leading tabs from the heredoc.
DetectSyntax returns the syntax of provided input.
MustParseHeredoc is a variant of ParseHeredoc that discards the error, if there was one present.
Parse consumes lines from a provided Reader, parses each line into an AST and returns the results of doing so.
ParseHeredoc parses a heredoc word from a target string, returning the components from the doc.
WithLocation extends an error with a source code location.
# Constants
DefaultEscapeToken is the default escape token.
# Structs
DirectiveParser is a parser for Dockerfile directives that enforces the quirks of the directive parser.
ErrorLocation gives a location in source code that caused the error.
Node is a structure used to represent a parse tree.
Position is a point in source code.
Range is a code section between two positions.
Result contains the bundled outputs from parsing a Dockerfile.
Warning contains information to identify and locate a warning generated during parsing.