Fprint "pretty-prints" an AST node to output for a given configuration cfg.
Position information is interpreted relative to the file set fset.
The node type must be *ast.File, *CommentedNode, or assignment-compatible
to ast.Expr, ast.Decl, ast.Spec, or ast.Stmt.
A Mode value is a set of flags (or 0). They coontrol printing.
const (
RawFormat Mode = 1 << iota// do not use a tabwriter; if set, UseSpaces is ignored TabIndent // use tabs for indentation independent of UseSpaces UseSpaces // use spaces instead of tabs for alignment SourcePos // emit //line comments to preserve original source positions)