codegen

package
v0.0.0-...-e433cde Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2024 License: BSD-4-Clause Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CodeGen

type CodeGen interface {
	Gen() []File // Generate a list of files.
}

Each code generator implements this interface.

type File

type File interface {
	Node
	Path() string // The path of the file.
	Gen() string  // A string representation of the file.
}

Each file implements this interface.

A file, by definition, is also a node.

type Node

type Node interface {
	String() string // A string representation of the node.
}

All file nodes implement this interface.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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