expansion

package
v0.2.13 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 9, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ExpanderRight = MakeExpanderRight(`-`)
	ExpanderAll   = MakeExpanderAll(`-`)
)

Functions

func ExpandIntoSlice

func ExpandIntoSlice[
	ID interfaces.Value,
	ID_PTR interfaces.ValuePtr[ID],
](
	token string,
	expander Expander,
) collections_slice.Slice[ID]

func ExpandMany

func ExpandMany[
	ID interfaces.Value,
	ID_PTR interfaces.ValuePtr[ID],
](
	seq interfaces.Seq[ID],
	expander Expander,
) interfaces.Seq[ID]

func ExpandOneIntoIds

func ExpandOneIntoIds[
	ID interfaces.Value,
	ID_PTR interfaces.ValuePtr[ID],
](
	identifierString string,
	expander Expander,
) interfaces.SeqError[ID]

func MakeExpanderAll

func MakeExpanderAll(
	delimiter string,
) expanderAll

func MakeExpanderRight

func MakeExpanderRight(
	delimiter string,
) expanderRight

Types

type Expander

type Expander interface {
	Expand(string) interfaces.Seq[string]
}

Source Files

  • expander_all.go
  • expander_right.go
  • main.go

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL