predefs

package
v0.0.0-...-fcffdc5 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2020 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PathToDataStructName

func PathToDataStructName(path path.TypePath) string

func ToTitle

func ToTitle(name string) string

Types

type FieldInfo

type FieldInfo struct {
	Name    string
	DefPath string
	Type    dtype.DType
}

type ProcedureInfo

type ProcedureInfo struct {
	Name    string
	DefPath path.TypePath
}

type TypeDefiner

type TypeDefiner interface {
	Exists(typePath path.TypePath) bool
	ParentOf(typePath path.TypePath) path.TypePath
	ResolveFieldExact(typePath path.TypePath, name string) (dtype dtype.DType, found bool)
	GlobalProcedureExists(name string) bool
	ResolveProcedureExact(typePath path.TypePath, shortName string) (ProcedureInfo, bool)
}
var PlatformDefiner TypeDefiner = &platformDefiner{}

type TypeInfo

type TypeInfo struct {
	Path    string
	Package string
	Parent  string
}

Jump to

Keyboard shortcuts

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