Documentation ¶
Index ¶
- type BaseExtractor
- func (*BaseExtractor) ExtractImmutablesFromRules(rls []Rule) []string
- func (*BaseExtractor) ExtractReducerRules(rls []Rule) []Rule
- func (b *BaseExtractor) GetImmutables(_ string) []string
- func (b *BaseExtractor) GetReducers(_ string) []Rule
- func (*BaseExtractor) ReducerRulesByDiffs(rules []Rule, ds diff.Changelog) []Rule
- func (b *BaseExtractor) UnsafeReducerRulesByDiffs(rules []Rule, ds diff.Changelog) []Rule
- func (b *BaseExtractor) UnsupportedReducerRulesByDiffs(rules []Rule, ds diff.Changelog) []Rule
- type Extractor
- type Reducer
- type Rule
- type Safe
- type Spec
- type Unsupported
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseExtractor ¶
type BaseExtractor struct {
Spec Spec
}
func NewBaseExtractor ¶
func NewBaseExtractor(spec Spec) *BaseExtractor
func (*BaseExtractor) ExtractImmutablesFromRules ¶
func (*BaseExtractor) ExtractImmutablesFromRules(rls []Rule) []string
func (*BaseExtractor) ExtractReducerRules ¶
func (*BaseExtractor) ExtractReducerRules(rls []Rule) []Rule
func (*BaseExtractor) GetImmutables ¶
func (b *BaseExtractor) GetImmutables(_ string) []string
func (*BaseExtractor) GetReducers ¶
func (b *BaseExtractor) GetReducers(_ string) []Rule
func (*BaseExtractor) ReducerRulesByDiffs ¶
func (*BaseExtractor) ReducerRulesByDiffs(rules []Rule, ds diff.Changelog) []Rule
func (*BaseExtractor) UnsafeReducerRulesByDiffs ¶ added in v0.27.2
func (b *BaseExtractor) UnsafeReducerRulesByDiffs(rules []Rule, ds diff.Changelog) []Rule
func (*BaseExtractor) UnsupportedReducerRulesByDiffs ¶
func (b *BaseExtractor) UnsupportedReducerRulesByDiffs(rules []Rule, ds diff.Changelog) []Rule
type Unsupported ¶
Click to show internal directories.
Click to hide internal directories.