Versions in this module Expand all Collapse all v0 v0.3.1 Jul 16, 2026 Changes in this version + const EOD + func ConvertAliases(i interface{}) interface + func Stringer(i interface{}) string + type AnonymousClass func(p *Parser) (*Cursor, bool) + func CheckInteger(i int, leadingZeros bool) AnonymousClass + func CheckIntegerRange(min, max uint, leadingZeros bool) AnonymousClass + func CheckRune(expected rune) AnonymousClass + func CheckRuneCI(expected rune) AnonymousClass + func CheckRuneFunc(f func(r rune) bool) AnonymousClass + func CheckRuneRange(min, max rune) AnonymousClass + func CheckString(s string) AnonymousClass + func CheckStringCI(s string) AnonymousClass + type Class interface + Check func(p *Parser) (*Cursor, bool) + type Cursor struct + Rune rune + func (c *Cursor) Position() (int, int) + func (c *Cursor) String() string + type ExpectError struct + Message string + func (e *ExpectError) Error() string + type ExpectedParseError struct + Conflict Cursor + Expected interface{} + String string + func (e *ExpectedParseError) Error() string + type InitError struct + Message string + func (e *InitError) Error() string + type Parser struct + func New(input []byte) (*Parser, error) + func (p *Parser) Check(i interface{}) (*Cursor, bool) + func (p *Parser) Current() rune + func (p *Parser) DecodeRune(d func(p []byte) (rune, int)) + func (p *Parser) Done() bool + func (p *Parser) Expect(i interface{}) (*Cursor, error) + func (p *Parser) ExpectedParseError(expected interface{}, start, end *Cursor) *ExpectedParseError + func (p *Parser) Jump(mark *Cursor) *Parser + func (p *Parser) LookBack() *Cursor + func (p *Parser) Mark() *Cursor + func (p *Parser) Next() *Parser + func (p *Parser) Peek() *Cursor + func (p *Parser) SetConverter(c func(i interface{}) interface{}) + func (p *Parser) SetOperator(o func(i interface{}) (*Cursor, error)) + func (p *Parser) Slice(start *Cursor, end *Cursor) string + type UnsupportedType struct + Value interface{} + func (e *UnsupportedType) Error() string