gent

package module
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2025 License: MIT Imports: 12 Imported by: 0

README

Gent: Go ENhancements for Tree-sitter

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Generator

type Generator struct {
	// contains filtered or unexported fields
}

func NewGenerator

func NewGenerator(options GeneratorOptions) *Generator

func (*Generator) Generate

func (g *Generator) Generate(data []byte) (string, error)

type GeneratorOptions

type GeneratorOptions struct {
	PackageName string
	// Run the generator in debug mode, adding extra comments to the generated file
	// and printing debug logs to stderr.
	Debug bool
}

Directories

Path Synopsis
cmd
gent command

Jump to

Keyboard shortcuts

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