gr

package
v0.9.1 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2025 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TransformGoStatementsInPackageWithReplacement

func TransformGoStatementsInPackageWithReplacement(transformState *astutil.TransformState, pkg *packages.Package) (int, int)

TransformGoStatementsInPackageWithReplacement iterates over all files in a package and applies go statement transformations using the replacement system

func TransformGoStatementsWithReplacement

func TransformGoStatementsWithReplacement(transformState *astutil.TransformState, modifiedFile *astutil.ModifiedFile) int

TransformGoStatementsWithReplacement finds all go statements preceded by //outrig directives and transforms them using the replacement system

Types

This section is empty.

Jump to

Keyboard shortcuts

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