Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cleaner ¶ added in v0.0.2
type Cleaner interface {
Clean(runes IndexedRunes) IndexedRunes
}
func GroupCleaners ¶ added in v0.0.2
func NewIgnoreCaseCleaner ¶ added in v0.0.2
func NewIgnoreCaseCleaner() Cleaner
func NewSkipsCleaner ¶ added in v0.0.2
type IndexedRune ¶ added in v0.0.2
type IndexedRunes ¶ added in v0.0.2
type IndexedRunes []IndexedRune
func (IndexedRunes) Runes ¶ added in v0.0.2
func (c IndexedRunes) Runes() []rune
func (IndexedRunes) String ¶ added in v0.0.2
func (c IndexedRunes) String() string
type Processor ¶
type Processor interface { Init(str string, raw IndexedRunes) Process(runes IndexedRunes, matched string) (continu bool) }
type QueryContainsProcessor ¶ added in v0.0.3
type QueryContainsProcessor struct {
// contains filtered or unexported fields
}
func (*QueryContainsProcessor) Init ¶ added in v0.0.3
func (p *QueryContainsProcessor) Init(str string, raw IndexedRunes)
func (*QueryContainsProcessor) Process ¶ added in v0.0.3
func (p *QueryContainsProcessor) Process(IndexedRunes, string) bool
func (*QueryContainsProcessor) Result ¶ added in v0.0.3
func (p *QueryContainsProcessor) Result() bool
type QueryMatchedProcessor ¶ added in v0.0.3
type QueryMatchedProcessor struct {
// contains filtered or unexported fields
}
func (*QueryMatchedProcessor) Init ¶ added in v0.0.3
func (m *QueryMatchedProcessor) Init(str string, raw IndexedRunes)
func (*QueryMatchedProcessor) Process ¶ added in v0.0.3
func (m *QueryMatchedProcessor) Process(runes IndexedRunes, matched string) bool
func (*QueryMatchedProcessor) Result ¶ added in v0.0.3
func (m *QueryMatchedProcessor) Result() []string
type ReplaceMatchedHandler ¶ added in v0.0.3
type ReplaceMatchedHandler struct {
// contains filtered or unexported fields
}
func NewReplaceMatchedHandler ¶ added in v0.0.3
func NewReplaceMatchedHandler(replacement rune) *ReplaceMatchedHandler
func (*ReplaceMatchedHandler) Init ¶ added in v0.0.3
func (p *ReplaceMatchedHandler) Init(str string, raw IndexedRunes)
func (*ReplaceMatchedHandler) Process ¶ added in v0.0.3
func (p *ReplaceMatchedHandler) Process(runes IndexedRunes, matched string) bool
func (*ReplaceMatchedHandler) Result ¶ added in v0.0.3
func (p *ReplaceMatchedHandler) Result() string
Click to show internal directories.
Click to hide internal directories.