Documentation ¶
Index ¶
Constants ¶
View Source
const (
DefaultQualifier = "v"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LeafValidator ¶
type LeafValidator struct { Name string Args []string Msg string Param Param Decls []*decl.Validator }
LeafValidator is an expression that represents a leaf validator.
func (*LeafValidator) ExprString ¶
func (v *LeafValidator) ExprString() string
type LogicValidator ¶
type LogicValidator struct { Qualifier string Name string Left Validator Right Validator // `Not` has no Right validator. }
LogicValidator is an expression that represents a logic validator (i.e. `Not`, `And/All` or `Or/Any`).
func (*LogicValidator) ExprString ¶
func (v *LogicValidator) ExprString() string
Click to show internal directories.
Click to hide internal directories.