goapi

package
v1.0.0-alpha.12 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2024 License: MIT Imports: 15 Imported by: 0

Documentation

Overview

Code generated by goadlc v3 - DO NOT EDIT.

Code generated by goadlc v3 - DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AST_GoApi

func AST_GoApi() adlast.ScopedDecl

func ExpandStruct

func ExpandStruct(lr *loader.LoadResult, st adlast.Struct) adlast.Struct

func ExpandTypeAliases

func ExpandTypeAliases(lr *loader.LoadResult, te adlast.TypeExpr) adlast.TypeExpr

func Texpr_GoApi

func Texpr_GoApi() adlast.ATypeExpr[GoApi]

Types

type GoApi

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

func MakeAll_GoApi

func MakeAll_GoApi(
	root *root.Root,
	loader *loader.LoadResult,
	gomod *gomod.GoModResult,
	apistruct adlast.ScopedName,
	outputdir string,
	goadlcommonimport string,
) GoApi

func Make_GoApi

func Make_GoApi(
	apistruct adlast.ScopedName,
	outputdir string,
	goadlcommonimport string,
) GoApi

func (*GoApi) Default_goMod

func (*GoApi) Default_goMod() *gomod.GoModResult

func (*GoApi) Default_loader

func (*GoApi) Default_loader() *loader.LoadResult

func (*GoApi) Default_root

func (*GoApi) Default_root() *root.Root

func (*GoApi) GoAdlImportPath

func (bg *GoApi) GoAdlImportPath() string

GoImport implements gogen.SubTask.

func (*GoApi) GoImport

func (in *GoApi) GoImport(pkg string, currModuleName string, imports *goimports.Imports) (string, error)

GoImport implements gogen.SubTask.

func (*GoApi) IsStdLibGen

func (bg *GoApi) IsStdLibGen() bool

GoImport implements gogen.SubTask.

func (*GoApi) ReservedImports

func (in *GoApi) ReservedImports() []goimports.ImportSpec

func (*GoApi) Run

func (in *GoApi) Run() error

Jump to

Keyboard shortcuts

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