codegen

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2026 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bind

func Bind(genPkg string, pkg *model.Package, sdkVersion string, isMainDalf bool, generateHexCodec bool) (string, error)

func CodegenDalfs

func CodegenDalfs(dalfToProcess []string, dar fs.FS, pkgFile string, dalfManifest *model2.Manifest, generateHexCodec bool, externalPackages model2.ExternalPackages, fieldHints model2.FieldHints) (map[string]string, error)

func GetAST

func GetAST(payload []byte, manifest *model2.Manifest, ifcByModule map[string]model2.InterfaceMap, externalPackages model2.ExternalPackages, fieldHints model2.FieldHints) (*model2.Package, error)

func GetInterfaces

func GetInterfaces(payload []byte, manifest *model2.Manifest) (map[string]*model2.TmplStruct, error)

func GetManifest

func GetManifest(dar fs.FS) (*model2.Manifest, error)

func GetPackageID

func GetPackageID(dalf string) string

func GetPackageName

func GetPackageName(dalf string) string

Types

This section is empty.

Directories

Path Synopsis
v3
Package damlparser provides a lightweight parser for Daml *Types.daml source files.
Package damlparser provides a lightweight parser for Daml *Types.daml source files.
Package damltemplate generates Daml codec source code from parsed type definitions.
Package damltemplate generates Daml codec source code from parsed type definitions.

Jump to

Keyboard shortcuts

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