validator

package
v8.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MakeUnsupportedMatcherConditionReplacement

func MakeUnsupportedMatcherConditionReplacement() []dtos.ConditionDTO

MakeUnsupportedMatcherConditionReplacement returns the default condition to be used when a matcher is not supported

Types

type Validator

type Validator struct {
	// contains filtered or unexported fields
}

func NewValidator

func NewValidator(ruleBuilder grammar.RuleBuilder) Validator

func (*Validator) ProcessMatchers

func (v *Validator) ProcessMatchers(split *dtos.SplitDTO, logger logging.LoggerInterface)

ProcessMatchers processes the matchers of a split and validates them

func (*Validator) ProcessRBMatchers

func (v *Validator) ProcessRBMatchers(ruleBased *dtos.RuleBasedSegmentDTO, logger logging.LoggerInterface)

ProcessMatchers processes the matchers of a rule-based and validates them

Jump to

Keyboard shortcuts

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