Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrNotMatched = errors.New("not matched") // parser didn't match input
)
Functions ¶
This section is empty.
Types ¶
type Accumulator ¶
type Accumulator[T, R any] func(R, T) R
type Parser ¶
type Parser[R Reader, T any] ParserFunc[R, T]
type ParserConstraint ¶
type ParserConstraint[R Reader, T any] interface { ParserFunc[R, T] | ParserFuncPtr[R, T] }
type ParserFunc ¶
type ParserFuncPtr ¶
type Reader ¶
type Reader interface { io.ReadSeeker io.ByteReader io.RuneReader }
Directories ¶
Path | Synopsis |
---|---|
Package ascii provides parsers for recognizing ascii bytes
|
Package ascii provides parsers for recognizing ascii bytes |
Package bytes provides parsers for recognizing bytes
|
Package bytes provides parsers for recognizing bytes |
Package numeric provides parsers for recognizing numeric bytes
|
Package numeric provides parsers for recognizing numeric bytes |
Package runes provides parsers for recognizing runes
|
Package runes provides parsers for recognizing runes |
Click to show internal directories.
Click to hide internal directories.