statictypes

package
v1.0.0-preview.36 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CanSkipStaticTypeMigration

func CanSkipStaticTypeMigration(valueType interpreter.StaticType) bool

func RewriteLegacyIntersectionType

func RewriteLegacyIntersectionType(
	intersectionType *interpreter.IntersectionStaticType,
) interpreter.StaticType

Types

type StaticTypeMigration

type StaticTypeMigration struct {
	// contains filtered or unexported fields
}

func NewStaticTypeMigration

func NewStaticTypeMigration() *StaticTypeMigration

func NewStaticTypeMigrationWithCache

func NewStaticTypeMigrationWithCache(migratedTypeCache migrations.StaticTypeCache) *StaticTypeMigration

func (*StaticTypeMigration) CanSkip

func (m *StaticTypeMigration) CanSkip(valueType interpreter.StaticType) bool

func (*StaticTypeMigration) Domains

func (*StaticTypeMigration) Domains() map[string]struct{}

func (*StaticTypeMigration) Migrate

Migrate migrates static types in values.

func (*StaticTypeMigration) Name

func (*StaticTypeMigration) Name() string

func (*StaticTypeMigration) WithCompositeTypeConverter

func (m *StaticTypeMigration) WithCompositeTypeConverter(converterFunc CompositeTypeConverterFunc) *StaticTypeMigration

func (*StaticTypeMigration) WithInterfaceTypeConverter

func (m *StaticTypeMigration) WithInterfaceTypeConverter(converterFunc InterfaceTypeConverterFunc) *StaticTypeMigration

Jump to

Keyboard shortcuts

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