Documentation
¶
Index ¶
- func Make(vs ...string) (t interfaces.TridexMutable)
- type Tridex
- func (tridex *Tridex) Abbreviate(v string) string
- func (tridex *Tridex) Add(v string)
- func (tridex *Tridex) All() interfaces.Seq[string]
- func (tridex *Tridex) Any() string
- func (tridex *Tridex) Contains(v string) bool
- func (tridex *Tridex) ContainsAbbreviation(v string) bool
- func (tridex *Tridex) ContainsExactly(v string) bool
- func (tridex *Tridex) ContainsExpansion(v string) bool
- func (tridex *Tridex) Expand(v string) string
- func (tridex *Tridex) Len() int
- func (tridex *Tridex) MutableClone() (b interfaces.TridexMutable)
- func (tridex *Tridex) Remove(v string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Make ¶
func Make(vs ...string) (t interfaces.TridexMutable)
Types ¶
type Tridex ¶
type Tridex struct {
Root node
// contains filtered or unexported fields
}
TODO-P4 make generic TODO-P4 recycle nodes TODO-P4 confirm JSON structure is correct TODO switch to runes and rune readers as input
func (*Tridex) All ¶
func (tridex *Tridex) All() interfaces.Seq[string]
func (*Tridex) MutableClone ¶
func (tridex *Tridex) MutableClone() (b interfaces.TridexMutable)
Source Files
¶
- main.go
- node.go
Click to show internal directories.
Click to hide internal directories.