# Functions
Env builds an ENV Dockerfile instruction from the mapping m.
FindAll returns the indices of all children of node such that node.Children[i].Value == cmd.
From builds a FROM Dockerfile instruction referring the base image image.
InsertInstructions inserts instructions starting from the pos-th child of node, moving other children as necessary.
Label builds a LABEL Dockerfile instruction from the mapping m.
Parse parses the provided stream as a canonical Dockerfile.
Write takes a Dockerfile AST node, as generated by parser.Parse, and returns a new, equivalent, Dockerfile.