Versions in this module Expand all Collapse all v0 v0.2.1 Aug 29, 2018 Changes in this version + func ParseExpr(s string) (*ast.Expr, error) + func ParseGrammar(s string) (*ast.Grammar, error) + type Attrib interface + type Parser struct + func NewParser() *Parser + func (p *Parser) Error(err error, scanner Scanner) (recovered bool, errorAttrib *parseError.Error) + func (p *Parser) Parse(scanner Scanner) (res interface{}, err error) + func (p *Parser) Reset() + func (this *Parser) ParseExpr(s string) (res *ast.Expr, err error) + func (this *Parser) ParseGrammar(s string) (*ast.Grammar, error) + type ProdTab [numProductions]ProdTabEntry + type ProdTabEntry struct + Id string + Index int + NTType int + NumSymbols int + ReduceFunc func([]Attrib) (Attrib, error) + String string + type Scanner interface + Scan func() (tok *token.Token)