statictypes

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 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