Documentation ¶
Index ¶
- type Assignment
- func (a Assignment) AlignmentSpacing() int
- func (a *Assignment) AllEtiketten(mes kennung.EtikettMutableSet) (err error)
- func (a *Assignment) Contains(e *kennung.Etikett) bool
- func (a Assignment) GetDepth() int
- func (a Assignment) MaxDepth() (d int)
- func (a Assignment) MaxKopfUndSchwanz(o Options) (kopf, schwanz int)
- func (a Assignment) MaxLen() (m int)
- func (parent *Assignment) SortChildren()
- func (a Assignment) String() (s string)
- func (a *Assignment) SubtractFromSet(es kennung.EtikettMutableSet) (err error)
- type AssignmentTreeConstructor
- type Changes
- type ErrorRead
- type Factory
- type Flags
- type Metadatei
- func (m Metadatei) AsMetadatei() (m1 metadatei.Metadatei)
- func (m Metadatei) GetOptionComments(f optionCommentFactory) (ocs []Option, err error)
- func (m Metadatei) HasMetadateiContent() bool
- func (m *Metadatei) ReadFrom(r1 io.Reader) (n int64, err error)
- func (m Metadatei) RemoveFromTransacted(sk *sku.Transacted) (err error)
- func (m Metadatei) WriteTo(w1 io.Writer) (n int64, err error)
- type Option
- type Options
- type Refiner
- type SkuMap
- type Text
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Assignment ¶
type Assignment struct { IsRoot bool Depth int Etiketten kennung.EtikettSet Named schnittstellen.MutableSetLike[*obj] Unnamed schnittstellen.MutableSetLike[*obj] Children []*Assignment Parent *Assignment }
func (Assignment) AlignmentSpacing ¶
func (a Assignment) AlignmentSpacing() int
func (*Assignment) AllEtiketten ¶
func (a *Assignment) AllEtiketten(mes kennung.EtikettMutableSet) (err error)
func (*Assignment) Contains ¶
func (a *Assignment) Contains(e *kennung.Etikett) bool
func (Assignment) GetDepth ¶
func (a Assignment) GetDepth() int
func (Assignment) MaxDepth ¶
func (a Assignment) MaxDepth() (d int)
func (Assignment) MaxKopfUndSchwanz ¶
func (a Assignment) MaxKopfUndSchwanz( o Options, ) (kopf, schwanz int)
func (Assignment) MaxLen ¶
func (a Assignment) MaxLen() (m int)
func (*Assignment) SortChildren ¶
func (parent *Assignment) SortChildren()
func (Assignment) String ¶
func (a Assignment) String() (s string)
func (*Assignment) SubtractFromSet ¶
func (a *Assignment) SubtractFromSet(es kennung.EtikettMutableSet) (err error)
type AssignmentTreeConstructor ¶
type AssignmentTreeConstructor struct {
Options
}
func (*AssignmentTreeConstructor) Assignments ¶
func (atc *AssignmentTreeConstructor) Assignments() (roots []*Assignment, err error)
type ErrorRead ¶
type ErrorRead struct {
// contains filtered or unexported fields
}
type Flags ¶
type Flags struct { Options ExtraEtiketten collections_ptr.Flag[kennung.Etikett, *kennung.Etikett] // contains filtered or unexported fields }
func (*Flags) GetOptions ¶
func (o *Flags) GetOptions( printOptions erworben_cli_print_options.PrintOptions, q *query.Group, organize *sku_fmt.Organize, organizeNew *sku_fmt.OrganizeNew, abbr kennung.Abbr, ) Options
type Metadatei ¶
type Metadatei struct { kennung.EtikettSet Matchers schnittstellen.SetLike[sku.Query] Comments []string Typ kennung.Typ }
func (Metadatei) GetOptionComments ¶
func (Metadatei) RemoveFromTransacted ¶
func (m Metadatei) RemoveFromTransacted(sk *sku.Transacted) (err error)
type Option ¶
type Option interface { GetOption() Option schnittstellen.Stringer ApplyToText(Options, *Assignment) error ApplyToReader(Options, *assignmentLineReader) error ApplyToWriter(Options, *assignmentLineWriter) error }
type Options ¶
type Options struct { Konfig *konfig.Compiled Typ kennung.Typ GroupingEtiketten kennung.EtikettSlice ExtraEtiketten kennung.EtikettSet Transacted schnittstellen.SetLike[*sku.Transacted] Abbr kennung.Abbr UsePrefixJoints bool UseRightAlignedIndents bool UseRefiner bool UseMetadateiHeader bool PrintOptions erworben_cli_print_options.PrintOptions // contains filtered or unexported fields }
type Refiner ¶
func (*Refiner) Refine ¶
func (atc *Refiner) Refine(a *Assignment) (err error)
passed-in assignment may be nil?
type SkuMap ¶
type SkuMap map[string]*sku.Transacted
func (*SkuMap) Add ¶
func (sm *SkuMap) Add(sk *sku.Transacted) error
func (*SkuMap) Del ¶
func (sm *SkuMap) Del(sk *sku.Transacted) error
type Text ¶
type Text struct { Options Metadatei *Assignment }
func (*Text) GetSkus ¶
func (ot *Text) GetSkus( original sku.TransactedSet, ) (out map[string]*sku.Transacted, err error)
Click to show internal directories.
Click to hide internal directories.