kubernetes/vendor/golang.org/x/text/internal/language/match.go

type scriptRegionFlags

const isList

const scriptInFrom

const regionInFrom

func (t *Tag) setUndefinedLang(id Language) {}

func (t *Tag) setUndefinedScript(id Script) {}

func (t *Tag) setUndefinedRegion(id Region) {}

var ErrMissingLikelyTagsData

// addLikelySubtags sets subtags to their most likely value, given the locale.
// In most cases this means setting fields for unknown values, but in some
// cases it may alter a value.  It returns an ErrMissingLikelyTagsData error
// if the given locale cannot be expanded.
func (t Tag) addLikelySubtags() (Tag, error) {}

// specializeRegion attempts to specialize a group region.
func specializeRegion(t *Tag) bool {}

// Maximize returns a new tag with missing tags filled in.
func (t Tag) Maximize() (Tag, error) {}

func addTags(t Tag) (Tag, error) {}

func (t *Tag) setTagsFrom(id Tag) {}

// minimize removes the region or script subtags from t such that
// t.addLikelySubtags() == t.minimize().addLikelySubtags().
func (t Tag) minimize() (Tag, error) {}

// minimizeTags mimics the behavior of the ICU 51 C implementation.
func minimizeTags(t Tag) (Tag, error) {}