Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MatchString ¶
func MatchString(s string) gigaparsec.Parser[byte, string]
func Token ¶
func Token[Out, WSOut any](whitespace gigaparsec.Parser[byte, WSOut]) func(p gigaparsec.Parser[byte, Out]) gigaparsec.Parser[byte, Out]
Types ¶
type RuneReader ¶
type RuneReader struct {
// contains filtered or unexported fields
}
RuneReader is an io.RuneReader backed by a Cursor, for compatibility with the regexp package.
func NewRuneReader ¶
func NewRuneReader(state gigaparsec.State[byte]) *RuneReader
func (*RuneReader) Count ¶
func (rr *RuneReader) Count() uint64
func (*RuneReader) Error ¶
func (rr *RuneReader) Error() error
func (*RuneReader) State ¶
func (rr *RuneReader) State() gigaparsec.State[byte]
Click to show internal directories.
Click to hide internal directories.