(* model)
Sequence model of a model being either absent or repeated an arbitrary number of times.
Sequence model of a model being either absent or repeated an arbitrary number of times.
(+ model)
Sequence model of a model being repeated an arbitrary number of times.
Sequence model of a model being repeated an arbitrary number of times.
(? model)
Sequence model of a model being either absent or present.
Sequence model of a model being either absent or present.
(alt & entries)
Model of a choice (alternative) between different possible entries.
Model of a choice (alternative) between different possible entries.
(and & conditions)
Model for validating a value against a conjunction of models.
Model for validating a value against a conjunction of models.
(cat & entries)
Sequence model of a concatenation of models. The sequence models in the entries are inlined by default.
Sequence model of a concatenation of models. The sequence models in the entries are inlined by default.
(char-cat s)
A cat sequence of chars, built from a string which contains them.
A cat sequence of chars, built from a string which contains them.
(char-set s)
A set of chars, built from a string which contains them.
A set of chars, built from a string which contains them.
(enum values-set)
Model of one value from a set.
Model of one value from a set.
(fn predicate)
Model for values verifying custom predicates.
Model for values verifying custom predicates.
(in-list sequence-model)
Specifies the :coll-type to be a list. To be used on sequence model nodes, namely :sequence-of, :sequence, :cat and :repeat.
Specifies the :coll-type to be a list. To be used on sequence model nodes, namely :sequence-of, :sequence, :cat and :repeat.
(in-string sequence-model)
Specifies the :coll-type to be a string. To be used on sequence model nodes, namely :sequence-of, :sequence, :cat and :repeat.
Specifies the :coll-type to be a string. To be used on sequence model nodes, namely :sequence-of, :sequence, :cat and :repeat.
(in-vector sequence-model)
Specifies the :coll-type to be a vector. To be used on sequence model nodes, namely :sequence-of, :sequence, :cat and :repeat.
Specifies the :coll-type to be a vector. To be used on sequence model nodes, namely :sequence-of, :sequence, :cat and :repeat.
(let bindings body)
Model with local model definitions.
Model with local model definitions.
(list & entries)
Same as tuple, but inside a list.
Same as tuple, but inside a list.
(list-of elements-model)
Same as sequence-of, but inside a list.
Same as sequence-of, but inside a list.
(map)
(map & entries)
Model of a hashmap with specified models for each of its entries.
Model of a hashmap with specified models for each of its entries.
(map-of entry-model)
Model of a hashmap made of entries (2-vector) of a specific model.
Model of a hashmap made of entries (2-vector) of a specific model.
(not-inlined sequence-model)
Specify that this sequence model should not be inlined within its parent model. Useful on nodes :alt, :cat and :repeat.
Specify that this sequence model should not be inlined within its parent model. Useful on nodes :alt, :cat and :repeat.
(or & conditions)
Model for validating a value against a disjunction of models.
Model for validating a value against a disjunction of models.
(ref key)
A reference to a model locally defined.
A reference to a model locally defined.
(repeat min max elements-model)
Sequence model of a repetition of a model. If elements-model is a sequence model, it is inlined by default.
Sequence model of a repetition of a model. If elements-model is a sequence model, it is inlined by default.
(sequence-of elements-model)
Model of a sequence of values, all matching a specific model.
Model of a sequence of values, all matching a specific model.
(set-of elements-model)
Model of a set of values matching a specific model.
Model of a set of values matching a specific model.
(string-of elements-model)
Same as sequence-of, but inside a string.
Same as sequence-of, but inside a string.
(string-tuple & entries)
Same as tuple, but inside a string.
Same as tuple, but inside a string.
(tuple & entries)
A sequence of values, each matching their specific model.
A sequence of values, each matching their specific model.
(vector & entries)
Same as tuple, but inside a vector.
Same as tuple, but inside a vector.
(vector-of elements-model)
Same as sequence-of, but inside a vector.
Same as sequence-of, but inside a vector.
(with-condition model condition-model)
Specifies a :condition-model to a model
Specifies a :condition-model to a model
(with-count collection-model count-model)
Specifies a :count-model to a collection model with varying size, namely :set-of, :map-of and :sequence-of.
Specifies a :count-model to a collection model with varying size, namely :set-of, :map-of and :sequence-of.
(with-entries map-model & entries)
Adds entries to a :map model.
Adds entries to a :map model.
(with-optional-entries map-model & entries)
Adds optional entries to a :map model.
Adds optional entries to a :map model.
(with-test-check-gen model generator)
Specifies a test-check generator to a model.
Specifies a test-check generator to a model.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close