tokenmatcher

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2022 License: BSD-3-Clause Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TokenizedSource

type TokenizedSource struct {
	Tokens []string
}

Does not do much, we mostly have this to make the code more readable (better than 2D string arrays)

func FindBestMatch

func FindBestMatch(reference *TokenizedSource, candidates []*TokenizedSource) *TokenizedSource

func NewTokenizedSource

func NewTokenizedSource(source string) *TokenizedSource

func (*TokenizedSource) Equals

func (this *TokenizedSource) Equals(other *TokenizedSource) bool

func (TokenizedSource) String

func (this TokenizedSource) String() string

Jump to

Keyboard shortcuts

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