types

package
v0.0.8 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	// PrimitiveErrorType  used for error handling
	PrimitiveErrorType interfaces.PrimitiveType = "error"

	PrimitiveVoidType   interfaces.PrimitiveType = "void"
	PrimitiveIntType    interfaces.PrimitiveType = "int"
	PrimitiveStringType interfaces.PrimitiveType = "str"
	PrimitiveDoubleType interfaces.PrimitiveType = "double"
)

Variables

View Source
var (
	VoidType   = PrimitiveTypeStruct{/* contains filtered or unexported fields */}
	IntType    = PrimitiveTypeStruct{/* contains filtered or unexported fields */}
	StringType = PrimitiveTypeStruct{/* contains filtered or unexported fields */}
	DoubleType = PrimitiveTypeStruct{/* contains filtered or unexported fields */}
	ErrorType  = PrimitiveTypeStruct{/* contains filtered or unexported fields */}
)

Functions

This section is empty.

Types

type ListTypeStruct

type ListTypeStruct struct {
	interfaces.ValueType

	Parent interfaces.ValueType
}

func (ListTypeStruct) Primitive

func (l ListTypeStruct) Primitive() interfaces.ValueType

func (ListTypeStruct) ToString

func (l ListTypeStruct) ToString() string

type PrimitiveTypeStruct

type PrimitiveTypeStruct struct {
	interfaces.ValueType
	// contains filtered or unexported fields
}

func (PrimitiveTypeStruct) Primitive

func (PrimitiveTypeStruct) ToString

func (p PrimitiveTypeStruct) ToString() string

type StructTypeStruct

type StructTypeStruct struct {
	interfaces.ValueType

	Name string
}

func (StructTypeStruct) Primitive

func (s StructTypeStruct) Primitive() interfaces.ValueType

func (StructTypeStruct) ToString

func (s StructTypeStruct) ToString() string

Jump to

Keyboard shortcuts

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