feat

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Extension

type Extension struct {
	*Feature
	// contains filtered or unexported fields
}

func ReadExtensionFromXML

func ReadExtensionFromXML(extNode *xmlquery.Node, tr def.TypeRegistry, vr def.ValueRegistry) *Extension

func (*Extension) Name

func (e *Extension) Name() string

func (*Extension) PlatformName

func (e *Extension) PlatformName() string

type Feature

type Feature struct {
	ResolvedTypes  def.TypeRegistry
	ResolvedValues map[string]def.ValueRegistry
	// contains filtered or unexported fields
}

func NewFeature

func NewFeature() *Feature

func ReadFeatureFromXML

func ReadFeatureFromXML(featureNode *xmlquery.Node, tr def.TypeRegistry, vr def.ValueRegistry) *Feature

func (*Feature) FilterByCategory

func (f *Feature) FilterByCategory() map[def.TypeCategory]*Feature

func (*Feature) MergeIncludeSet

func (f *Feature) MergeIncludeSet(is *def.IncludeSet)

func (*Feature) MergeWith

func (f *Feature) MergeWith(g *Feature)

func (*Feature) Name

func (f *Feature) Name() string

func (*Feature) Resolve

func (f *Feature) Resolve(tr def.TypeRegistry, vr def.ValueRegistry)

type Platform

type Platform struct {
	GoBuildTag string
	GoImports  []string
	// contains filtered or unexported fields
}

func NewGeneralPlatform

func NewGeneralPlatform() *Platform

func NewOrUpdatePlatformFromJSON

func NewOrUpdatePlatformFromJSON(key string, exception gjson.Result, existing *Platform) *Platform

func NewPlatformFromXML

func NewPlatformFromXML(plNode *xmlquery.Node) *Platform

func (*Platform) Extensions

func (p *Platform) Extensions() map[string]*Extension

func (*Platform) GeneratePlatformFeatures

func (p *Platform) GeneratePlatformFeatures() *Feature

func (*Platform) IncludeExtension

func (p *Platform) IncludeExtension(e *Extension)

func (*Platform) Name

func (p *Platform) Name() string

type PlatformRegistry

type PlatformRegistry map[string]*Platform

Jump to

Keyboard shortcuts

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