types

package
v0.0.0-...-392fa8f Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Uint8 = &types.Type{
		Name: types.Name{Name: "uint8"},
		Kind: types.Builtin,
	}
	Int8 = &types.Type{
		Name: types.Name{Name: "int8"},
		Kind: types.Builtin,
	}

	Builtins = &types.Package{
		Types: map[string]*types.Type{
			"int8":  Int8,
			"uint8": Uint8,
		},
		Imports: map[string]*types.Package{},
		Path:    "",
		Name:    "",
	}
)

Functions

func ModifyType

func ModifyType(u types.Universe, typeName string, t *types.Type) *types.Type

func ReplaceUniverse

func ReplaceUniverse(u1, u2 types.Universe)

ReplaceUniverse replace u2 to u1 Universe

Types

This section is empty.

Jump to

Keyboard shortcuts

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