interfaces

package
v0.0.3 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 DatapackHeader added in v0.0.3

type DatapackHeader struct {
	Namespace string `json:"namespace"`
	Meta      struct {
		Name string
	} `json:"meta"`
	Definitions struct {
		Functions []struct {
			Name string `json:"name"`
			Args []struct {
				Name string    `json:"name"`
				Type ValueType `json:"type"`
			}
			Returns struct {
				Type    ValueType `json:"type"`
				Storage string    `json:"storage"`
				Path    string    `json:"path"`
			}
		} `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
	EnableTraces bool
}

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