types

package
v0.0.0-...-21e7071 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Array

type Array struct {
	TokenKind     token.Kind
	Indices       []Ordinal
	ComponentType Type
	Packed        bool
}

Array ...

func (*Array) Name

func (a *Array) Name() string

Name ...

func (*Array) String

func (a *Array) String() string

func (*Array) Underlying

func (a *Array) Underlying() Type

type Ordinal

type Ordinal interface {
	Type
	Ord()
}

Ordinal is the generic parent of ordinal types

type Set

type Set struct {
	TokenKind token.Kind
	BaseType  Ordinal
}

Set models a set data type

func (*Set) Name

func (s *Set) Name() string

Name ...

func (*Set) String

func (s *Set) String() string

func (*Set) Underlying

func (s *Set) Underlying() Type

type Type

type Type interface {
	fmt.Stringer
	Name() string
	Underlying() Type
}

Type represents some data type

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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