typing

package
v0.0.0-...-c04ea6e Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PrimitiveType

type PrimitiveType int
const (
	INT PrimitiveType = iota
	FLOAT
	BYTE
	CHAR
	STRING
	BOOL
	VOID
	ERROR_TYPE
	NO_TYPE
)

func (PrimitiveType) Equals

func (primitiveType PrimitiveType) Equals(typing Typing) bool

func (PrimitiveType) IrType

func (primitiveType PrimitiveType) IrType() types.Type

func (PrimitiveType) MarshalJSON

func (primitiveType PrimitiveType) MarshalJSON() ([]byte, error)

func (PrimitiveType) Size

func (primitiveType PrimitiveType) Size() int

func (PrimitiveType) String

func (primitiveType PrimitiveType) String() string

type Typing

type Typing interface {
	Equals(typing Typing) bool
	String() string
	Size() int
	IrType() types.Type
}

Typing represents a type in expressive

Jump to

Keyboard shortcuts

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