interfaces

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2025 License: GPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Author added in v0.0.5

type Author struct {
	Name  string
	Email string
}

func (Author) String added in v0.0.5

func (a Author) String() string

type DatapackHeader added in v0.0.3

type DatapackHeader struct {
	Namespace   string `json:"namespace"`
	Definitions struct {
		Functions []struct {
			Name string `json:"name"`
			Args []struct {
				Name string    `json:"name"`
				Type ValueType `json:"type"`
			} `json:"args"`
			ReturnType ValueType `json:"returnType"`
		} `json:"functions"`
	} `json:"definitions"`
}

type FuncArg added in v0.0.3

type FuncArg struct {
	Name string
	Type ValueType
}

type FuncDef added in v0.0.3

type FuncDef struct {
	Name       string
	Args       []FuncArg
	ReturnType ValueType
}

type ProjectConfig

type ProjectConfig struct {
	Project struct {
		Name        string
		Namespace   string
		Authors     []string
		Entrypoint  string
		Version     string
		Description string
	}
	Dependencies struct {
		Headers []string
	}
	OutputDir string
}

type SourceLocation

type SourceLocation struct {
	Row int
	Col int
}

type ValueType added in v0.0.3

type ValueType string

Jump to

Keyboard shortcuts

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