asthelpergen

package
v0.15.1 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateASTHelpers

func GenerateASTHelpers(packagePatterns []string, rootIface, exceptCloneType string) (map[string]*jen.File, error)

GenerateASTHelpers loads the input code, constructs the necessary generators, and generates the rewriter and clone methods for the AST

func VerifyFilesOnDisk

func VerifyFilesOnDisk(result map[string]*jen.File) (errors []error)

VerifyFilesOnDisk compares the generated results from the codegen against the files that currently exist on disk and returns any mismatches

Types

This section is empty.

Directories

Path Synopsis
nolint
nolint

Jump to

Keyboard shortcuts

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