codegen

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Overview

Package codegen produces shadow file content from parsed Go source files and their @inco:/@if: directives.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateShadow

func GenerateShadow(path string, f *ast.File, fset *token.FileSet, root string, importMap map[string]string) []byte

GenerateShadow produces the shadow file content for a source file. It is safe to call from multiple goroutines — it only reads the provided parameters.

Types

This section is empty.

Jump to

Keyboard shortcuts

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