generate

package
v0.0.0-...-5af948b Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package generate provides a function to generate Go source code for LSP types.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Source

func Source(types []*metamodel.Type, metaModel *metamodel.MetaModel, pkg string) string

Source returns an unformatted Go source file containing declarations of the given types. Types are resolved using the given meta model. The file will belong to the given package.

Types

This section is empty.

Jump to

Keyboard shortcuts

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