💾 Archived View for code.pfad.fr › swift › internal › format captured on 2024-08-18 at 17:13:24. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2024-03-21)
-=-=-=-=-=-=-
import "code.pfad.fr/swift/internal/format"
package format is used internally to describe the format of an IBAN.
const ( NoMoreChar = iota + 1 UppercaseAlphaChar AlphaChar ExpectedNumericChar ExpectedAlphaNumericChar )
type Alpha int // (A-Z)
func (Alpha) Expected() ExpectedCharType
func (Alpha) IndexInvalid(s string) int
func (l Alpha) Len() int
type AlphaInsensitive int // (a-z, A-Z)
func (AlphaInsensitive) Expected() ExpectedCharType
func (AlphaInsensitive) IndexInvalid(s string) int
func (l AlphaInsensitive) Len() int
type Column interface { Len() int Expected() ExpectedCharType IndexInvalid(s string) int // returns -1 if the string is valid }
type ExpectedCharType int
func (e ExpectedCharType) String() string
type Mixed int // (a-z, A-Z, 0-9)
func (Mixed) Expected() ExpectedCharType
func (Mixed) IndexInvalid(s string) int
func (l Mixed) Len() int
type Numeric int // (0-9)
func (Numeric) Expected() ExpectedCharType
func (Numeric) IndexInvalid(s string) int
func (l Numeric) Len() int