codegen

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TypeScriptGenerator

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

TypeScriptGenerator generates TypeScript API client code from a GlyphLang Module.

func NewTypeScriptGenerator

func NewTypeScriptGenerator(baseURL string) *TypeScriptGenerator

NewTypeScriptGenerator creates a new TypeScript code generator.

func (*TypeScriptGenerator) Generate

func (g *TypeScriptGenerator) Generate(module *ast.Module) string

Generate produces TypeScript source code from a parsed GlyphLang module.

Jump to

Keyboard shortcuts

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