Versions in this module Expand all Collapse all v0 v0.3.0 Dec 5, 2018 Changes in this version + const SpaceChars + func AddElidedTerminators(n *peg.Node) + func CollapseLists(n *peg.Node) + func Locations(text string, n *peg.Fail) map[*peg.Fail]Loc + func Parse(dialect string, text string) (*peg.Node, error) + func Register(d Dialect, makeParser func(string) Parser) + func RemoveMorphology(n *peg.Node) + func RemoveSpace(n *peg.Node) + type Dialect struct + Descr map[string]string + GrammarURL string + Name string + OfficialURL string + Version string + func Dialects() []Dialect + type Error struct + FilePath string + Want []string + func (err Error) Error() string + type Loc struct + Byte int + Column int + Line int + Rune int + func Location(text string, byte int) Loc + type Parser interface + ErrorTree func(minErrorPos int) *peg.Fail + Parse func() (int, bool) + ParseTree func() *peg.Node