//
pkg.gl
Category
github.com/hyperhq/hypernetes
third_party
golang
go
printer
package
0.4.0
Repository:
https://github.com/hyperhq/hypernetes.git
Documentation:
pkg.go.dev
Overview
Versions
2
Dependencies
11
Dependents
0
Files
2.6k SLOC
#
Functions
Fprint
Fprint "pretty-prints" an AST node to output.
#
Constants
RawFormat
do not use a tabwriter; if set, UseSpaces is ignored.
SourcePos
emit //line comments to preserve original source positions.
TabIndent
use tabs for indentation independent of UseSpaces.
UseSpaces
use spaces instead of tabs for alignment.
#
Structs
CommentedNode
A CommentedNode bundles an AST node and corresponding comments.
Config
A Config node controls the output of Fprint.
#
Type aliases
Mode
A Mode value is a set of flags (or 0).