astutil

package
v1.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 20, 2020 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var UFFN = combine(
	ufmt(walk, fmtio.FSPT),
	filter(walk),
	note(
		walk,
		&typepkg.ParserXToolPackagesAst{
			ModeAst: parser.ParseComments | parser.AllErrors,
		},
		fmtio.Gofmt{},
	),
)

UFFN implements apply and combines: - ufmt with fmtio FSPT helper - filter helper - note helper

Functions

This section is empty.

Types

type Package

type Package struct{} // struct size: 0 bytes; struct align: 1 bytes; struct aligned size: 0 bytes; - 🌺 gopium @1pkg

Package ast asyn pesists package implementation which persists one ast file by one ast file to fmtio writer by using printer

func (Package) Persist

func (Package) Persist(
	ctx context.Context,
	p gopium.Printer,
	w gopium.Writer,
	loc gopium.Locator,
	node ast.Node,
) error

Persist package implementation

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL