Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DelimDiff ¶
type DelimDiff struct {
Term TermDiff
Sep TermDiff
Assoc InterfaceDiff
CanStartWithSep InterfaceDiff
CanEndWithSep InterfaceDiff
}
type GrammarDiff ¶
type GrammarDiff struct {
OnlyInA []parser.Rule
OnlyInB []parser.Rule
Prods map[parser.Rule]TermDiff
}
func Grammars ¶ added in v0.21.0
func Grammars(a, b parser.Grammar) GrammarDiff
func (GrammarDiff) Equal ¶
func (d GrammarDiff) Equal() bool
type InterfaceDiff ¶
type InterfaceDiff struct {
A, B any
}
func (InterfaceDiff) Equal ¶
func (d InterfaceDiff) Equal() bool
type NamedDiff ¶
type NamedDiff struct {
Name InterfaceDiff
Term TermDiff
}
type NodeDiff ¶
func NewNodeDiff ¶
type QuantDiff ¶
type QuantDiff struct {
Term TermDiff
Min InterfaceDiff
Max InterfaceDiff
}
type ScopedGrammarDiff ¶ added in v0.13.0
type ScopedGrammarDiff struct {
Term TermDiff
Grammar GrammarDiff
}
func (ScopedGrammarDiff) Equal ¶ added in v0.13.0
func (d ScopedGrammarDiff) Equal() bool
type TypesDiffer ¶
type TypesDiffer struct {
InterfaceDiff
}
func (TypesDiffer) Equal ¶
func (d TypesDiffer) Equal() bool
Click to show internal directories.
Click to hide internal directories.