zittish

package
v0.0.0-...-381c4e2 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	OpOr           = ','
	OpAnd          = ' '
	OpGroupOpen    = '['
	OpGroupClose   = ']'
	OpNegation     = '^'
	OpExact        = '='
	OpNewline      = '\n'
	OpSigilSchwanz = ':'
	OpSigilHistory = '+'
	OpSigilCwd     = '.'
	OpSigilHidden  = '?'
)

Variables

This section is empty.

Functions

func GetTokensFromReader

func GetTokensFromReader(r io.Reader) (out []string, err error)

func GetTokensFromStrings

func GetTokensFromStrings(vs ...string) (out []string, err error)

func IsMatcherOperator

func IsMatcherOperator(r rune) (ok bool)

func NextToken

func NextToken(
	rr io.RuneScanner,
	token *catgut.String,
) (err error)

func SplitMatcher

func SplitMatcher(
	data []byte,
	atEOF bool,
) (advance int, token []byte, err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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