parsers

package
v0.0.0-...-17d044f Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateFileParser

func CreateFileParser() m.Parser

Create a new instance of a file parser that satisfies the parser interface.

Types

type FileParser

type FileParser struct {
	// contains filtered or unexported fields
}

A parser that reads data from the filesystem.

func (FileParser) Substitutions

func (fp FileParser) Substitutions() map[string]string

Substitutions gets all known sort code substitutions.

func (FileParser) Weights

func (fp FileParser) Weights() map[string]m.SortCodeData

Weights gets the weights, exception information and algorithm to use for all known sort codes.

type LineRecord

type LineRecord struct {
	// contains filtered or unexported fields
}

Describes the content of a file.

Jump to

Keyboard shortcuts

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