package
Version:
v0.1.0
Opens a new window with list of versions in this module.
Published: Apr 5, 2024
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 Alloy 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.