Versions in this module Expand all Collapse all v1 v1.0.1 Jan 30, 2025 v1.0.0 Feb 28, 2023 Changes in this version + type Symbols struct + func NewSymbols(grammar *ast.Grammar) *Symbols + func (this *Symbols) Add(symbols ...string) + func (this *Symbols) Id(typ int) string + func (this *Symbols) IsTerminal(sym string) bool + func (this *Symbols) List() []string + func (this *Symbols) ListStringLitSymbols() []string + func (this *Symbols) ListTerminals() []string + func (this *Symbols) NTId(idx int) string + func (this *Symbols) NTList() []string + func (this *Symbols) NTType(symbol string) int + func (this *Symbols) NumNTSymbols() int + func (this *Symbols) NumSymbols() int + func (this *Symbols) String() string + func (this *Symbols) StringLitType(id string) int + func (this *Symbols) Type(id string) int