Documentation ¶
Index ¶
- func VisitAllMatchers(f schnittstellen.FuncIter[sku.Query], matchers ...sku.Query) (err error)
- type Archiviert
- type Builder
- func (b *Builder) BuildQueryGroup(vs ...string) (qg *Group, err error)
- func (b *Builder) WithCheckedOut(cos sku.CheckedOutSet) *Builder
- func (mb *Builder) WithChrome(vs *VirtualStoreInitable) *Builder
- func (mb *Builder) WithCwd(cwd Cwd) *Builder
- func (mb *Builder) WithDebug() *Builder
- func (mb *Builder) WithDefaultGattungen(defaultGattungen kennung.Gattung) *Builder
- func (mb *Builder) WithDefaultSigil(defaultSigil kennung.Sigil) *Builder
- func (b *Builder) WithDoNotMatchEmpty() *Builder
- func (mb *Builder) WithExpanders(expanders kennung.Abbr) *Builder
- func (mb *Builder) WithFileExtensionGetter(feg schnittstellen.FileExtensionGetter) *Builder
- func (mb *Builder) WithHidden(hidden sku.Query) *Builder
- func (b *Builder) WithPermittedSigil(s kennung.Sigil) *Builder
- func (b *Builder) WithRequireNonEmptyQuery() *Builder
- func (b *Builder) WithTransacted(zts sku.TransactedSet) *Builder
- func (mb *Builder) WithVirtualEtiketten(vs map[string]string) *Builder
- func (mb *Builder) WithVirtualStores(vs map[string]*VirtualStoreInitable) *Builder
- type Cwd
- type EtikettLua
- type Exp
- func (e *Exp) Add(m sku.Query) (err error)
- func (a *Exp) Clone() (b *Exp)
- func (e *Exp) CollectEtiketten(mes kennung.EtikettMutableSet)
- func (e *Exp) ContainsSku(sk *sku.Transacted) bool
- func (e *Exp) Each(f schnittstellen.FuncIter[sku.Query]) (err error)
- func (matcher *Exp) Operator() rune
- func (e *Exp) Reduce(b *Builder) (err error)
- func (e *Exp) String() string
- func (e *Exp) StringDebug() string
- type Group
- func (qg *Group) Add(q *Query) (err error)
- func (qg *Group) AddExactKennung(b *Builder, k Kennung) (err error)
- func (qg *Group) ContainsSku(sk *sku.Transacted) bool
- func (q *Group) Each(_ schnittstellen.FuncIter[sku.Query]) (err error)
- func (qg *Group) Get(g gattung.Gattung) (sku.QueryWithSigilAndKennung, bool)
- func (qg *Group) GetCwdFDs() fd.Set
- func (qg *Group) GetEtiketten() kennung.EtikettSet
- func (qg *Group) GetExactlyOneKennung(g gattung.Gattung, c Cwd) (k *kennung.Kennung2, s kennung.Sigil, err error)
- func (qg *Group) GetExplicitCwdFDs() fd.Set
- func (qg *Group) GetGattungen() (g kennung.Gattung)
- func (qg *Group) GetTypen() kennung.TypSet
- func (qg *Group) IsEmpty() bool
- func (q *Group) MatcherLen() int
- func (qg *Group) Reduce(b *Builder) (err error)
- func (qg *Group) SortedUserQueries() []*QueryWithHidden
- func (qg *Group) String() string
- func (qg *Group) StringDebug() string
- func (qg *Group) StringOptimized() string
- type Kennung
- type Lua
- type Query
- func (q *Query) Add(m sku.Query) (err error)
- func (a *Query) Clone() (b *Query)
- func (a *Query) ContainsKennung(k *kennung.Kennung2) bool
- func (q *Query) ContainsSku(sk *sku.Transacted) bool
- func (q *Query) Each(_ schnittstellen.FuncIter[sku.Query]) (err error)
- func (a *Query) GetMatcherSigil() sku.QueryWithSigilAndKennung
- func (a *Query) GetSigil() kennung.Sigil
- func (a *Query) IsEmpty() bool
- func (q *Query) MatcherLen() int
- func (a *Query) Merge(b *Query) (err error)
- func (q *Query) SortedKennungen() []string
- func (q *Query) String() string
- func (q *Query) StringDebug() string
- type QueryWithHidden
- type Reducer
- type Virtual
- type VirtualStore
- type VirtualStoreInitable
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Archiviert ¶
func MakeArchiviert ¶
func MakeArchiviert() Archiviert
type Builder ¶
type Builder struct {
// contains filtered or unexported fields
}
func MakeBuilder ¶
func (*Builder) BuildQueryGroup ¶
func (*Builder) WithCheckedOut ¶
func (b *Builder) WithCheckedOut( cos sku.CheckedOutSet, ) *Builder
func (*Builder) WithChrome ¶
func (mb *Builder) WithChrome(vs *VirtualStoreInitable) *Builder
func (*Builder) WithDefaultGattungen ¶
func (*Builder) WithDefaultSigil ¶
func (*Builder) WithExpanders ¶
func (*Builder) WithFileExtensionGetter ¶
func (mb *Builder) WithFileExtensionGetter( feg schnittstellen.FileExtensionGetter, ) *Builder
func (*Builder) WithTransacted ¶
func (b *Builder) WithTransacted( zts sku.TransactedSet, ) *Builder
func (*Builder) WithVirtualEtiketten ¶
func (*Builder) WithVirtualStores ¶
func (mb *Builder) WithVirtualStores(vs map[string]*VirtualStoreInitable) *Builder
type Cwd ¶
type EtikettLua ¶
func (*EtikettLua) ContainsSku ¶
func (k *EtikettLua) ContainsSku(sk *sku.Transacted) bool
func (*EtikettLua) String ¶
func (k *EtikettLua) String() string
type Exp ¶
type Exp struct { MatchOnEmpty bool Or bool Negated bool Exact bool Hidden bool Debug bool Children []sku.Query }
func (*Exp) CollectEtiketten ¶
func (e *Exp) CollectEtiketten(mes kennung.EtikettMutableSet)
func (*Exp) ContainsSku ¶
func (e *Exp) ContainsSku(sk *sku.Transacted) bool
type Group ¶
type Group struct { Hidden sku.Query OptimizedQueries map[gattung.Gattung]*QueryWithHidden UserQueries map[kennung.Gattung]*QueryWithHidden Kennungen []*kennung.Kennung2 FDs fd.MutableSet Zettelen kennung.HinweisMutableSet Typen kennung.TypMutableSet }
func (*Group) AddExactKennung ¶
func (*Group) ContainsSku ¶
func (qg *Group) ContainsSku(sk *sku.Transacted) bool
func (*Group) GetEtiketten ¶
func (qg *Group) GetEtiketten() kennung.EtikettSet
func (*Group) GetExactlyOneKennung ¶
func (*Group) SortedUserQueries ¶
func (qg *Group) SortedUserQueries() []*QueryWithHidden
type Kennung ¶
func (Kennung) ContainsSku ¶
func (k Kennung) ContainsSku(sk *sku.Transacted) bool
TODO support exact
type Query ¶
func (*Query) ContainsSku ¶
func (q *Query) ContainsSku(sk *sku.Transacted) bool
func (*Query) GetMatcherSigil ¶
func (a *Query) GetMatcherSigil() sku.QueryWithSigilAndKennung
type QueryWithHidden ¶
func (*QueryWithHidden) Clone ¶
func (q *QueryWithHidden) Clone() *QueryWithHidden
func (*QueryWithHidden) ContainsSku ¶
func (q *QueryWithHidden) ContainsSku(sk *sku.Transacted) bool
func (*QueryWithHidden) ShouldHide ¶
func (q *QueryWithHidden) ShouldHide(sk *sku.Transacted) bool
type Virtual ¶
func (*Virtual) ContainsSku ¶
func (ve *Virtual) ContainsSku(sk *sku.Transacted) bool
type VirtualStore ¶
type VirtualStore interface { Initialize() error Flush() error CommitTransacted(kinder, mutter *sku.Transacted) error ModifySku(*sku.Transacted) error Query(*Group, schnittstellen.FuncIter[*sku.Transacted]) error sku.Queryable }
type VirtualStoreInitable ¶
type VirtualStoreInitable struct { VirtualStore // contains filtered or unexported fields }
func (*VirtualStoreInitable) Flush ¶
func (ve *VirtualStoreInitable) Flush() (err error)
func (*VirtualStoreInitable) Initialize ¶
func (ve *VirtualStoreInitable) Initialize() (err error)
func (*VirtualStoreInitable) Query ¶
func (ve *VirtualStoreInitable) Query( qg *Group, f schnittstellen.FuncIter[*sku.Transacted], ) (err error)
Click to show internal directories.
Click to hide internal directories.