Versions in this module Expand all Collapse all v0 v0.2.0-alpha.1 Dec 16, 2021 v0.1.0 Nov 13, 2021 Changes in this version + func T() tracing.Trace + type Parser struct + G *lr.Grammar + func NewParser(g *lr.Grammar, gotoTable *sparse.IntMatrix, actionTable *sparse.IntMatrix) *Parser + func (p *Parser) Parse(S *lr.CFSMState, scan Scanner) (bool, error) + type Scanner interface + MoveTo func(position uint64) + NextToken func(expected []int) (tokval int, token interface{}) + type StdScanner struct + func NewStdScanner(r io.Reader) *StdScanner + func (s *StdScanner) MoveTo(position uint64) + func (s *StdScanner) NextToken(expected []int) (int, interface{}) + type Token struct + Lexeme []byte + Value int + func (token *Token) String() string