package
Version:
v0.32.1
Opens a new window with list of versions in this module.
Published: Mar 6, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package printer contains utilities for pretty-printing River ASTs.
Fprint pretty-prints the specified node to w. The Node type must be an
*ast.File, ast.Body, or a type that implements ast.Stmt or ast.Expr.
type Config struct {
Indent int
}
Config configures behavior of the printer.
Fprint pretty-prints the specified node to w. The Node type must be an
*ast.File, ast.Body, or a type that implements ast.Stmt or ast.Expr.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.