Provides extended syntax for collections; enables validation rules such as c.students.each is valid
.
Provides extended syntax for collections; enables validation rules such as c.students.each is valid
.
The element type m of the specified collection.
Evidence that the provided expression can be treated as a collection.
Additional syntax (see implementation).
Wraps expressions under validation with the Accord DSL.
This class provides the entry point into the DSL, by wrapping an expression with a specialized scope (this is later used during the macro transform). This enables syntax such as
p.firstName is notEmpty
, wherep.firstName
is the actual expression under validation.See the package documentation for a full description of the DSL.
The type of the provided expression.
com.wix.accord.dsl