Versions in this module Expand all Collapse all v0 v0.1.0 Nov 14, 2023 Changes in this version + type BSR struct + Label slot.Label + func (b BSR) Alternate() int + func (b BSR) GetAllNTChildren() [][]BSR + func (b BSR) GetNTChild(nt symbols.NT, i int) BSR + func (b BSR) GetNTChildI(i int) BSR + func (b BSR) GetNTChildren(nt symbols.NT, i int) []BSR + func (b BSR) GetNTChildrenI(i int) []BSR + func (b BSR) GetTChildI(i int) *token.Token + func (b BSR) LeftExtent() int + func (b BSR) Pivot() int + func (b BSR) RightExtent() int + func (b BSR) String() string + type BSRs []BSR + func (bs BSRs) Len() int + func (bs BSRs) Less(i, j int) bool + func (bs BSRs) Swap(i, j int) + type Set struct + func New(startSymbol symbols.NT, l *lexer.Lexer) *Set + func (pf *Set) ToSPPF() *sppf.SymbolNode + func (s *Set) Add(l slot.Label, i, k, j int) + func (s *Set) AddEmpty(l slot.Label, i int) + func (s *Set) Contain(nt symbols.NT, left, right int) bool + func (s *Set) Dump() + func (s *Set) GetAll() (bsrs []BSR) + func (s *Set) GetAllStrings(str symbols.Symbols, lext, rext int) (strs []*stringBSR) + func (s *Set) GetRightExtent() int + func (s *Set) GetRoot() BSR + func (s *Set) GetRoots() (roots []BSR) + func (s *Set) IsAmbiguous() bool + func (s *Set) ReportAmbiguous()