kubernetes/vendor/golang.org/x/text/cases/context.go

type context

func (c *context) Reset() {}

// ret returns the return values for the Transform method. It checks whether
// there were insufficient bytes in src to complete and introduces an error
// accordingly, if necessary.
func (c *context) ret() (nDst, nSrc int, err error) {}

// retSpan returns the return values for the Span method. It checks whether
// there were insufficient bytes in src to complete and introduces an error
// accordingly, if necessary.
func (c *context) retSpan() (n int, err error) {}

// checkpoint sets the return value buffer points for Transform to the current
// positions.
func (c *context) checkpoint() {}

// unreadRune causes the last rune read by next to be reread on the next
// invocation of next. Only one unreadRune may be called after a call to next.
func (c *context) unreadRune() {}

func (c *context) next() bool {}

// writeBytes adds bytes to dst.
func (c *context) writeBytes(b []byte) bool {}

// writeString writes the given string to dst.
func (c *context) writeString(s string) bool {}

// copy writes the current rune to dst.
func (c *context) copy() bool {}

// copyXOR copies the current rune to dst and modifies it by applying the XOR
// pattern of the case info. It is the responsibility of the caller to ensure
// that this is a rune with a XOR pattern defined.
func (c *context) copyXOR() bool {}

// hasPrefix returns true if src[pSrc:] starts with the given string.
func (c *context) hasPrefix(s string) bool {}

// caseType returns an info with only the case bits, normalized to either
// cLower, cUpper, cTitle or cUncased.
func (c *context) caseType() info {}

// lower writes the lowercase version of the current rune to dst.
func lower(c *context) bool {}

func isLower(c *context) bool {}

// upper writes the uppercase version of the current rune to dst.
func upper(c *context) bool {}

// isUpper writes the isUppercase version of the current rune to dst.
func isUpper(c *context) bool {}

// title writes the title case version of the current rune to dst.
func title(c *context) bool {}

// isTitle reports whether the current rune is in title case.
func isTitle(c *context) bool {}

// foldFull writes the foldFull version of the current rune to dst.
func foldFull(c *context) bool {}

// isFoldFull reports whether the current run is mapped to foldFull
func isFoldFull(c *context) bool {}