Liking cljdoc? Tell your friends :D

lice-comb.impl.expressions-info

lice-comb expressions-info map helper functionality. Note: this namespace is not part of the public API of lice-comb and may change without notice.

lice-comb expressions-info map helper functionality. Note: this namespace is
not part of the public API of lice-comb and may change without notice.
raw docstring

calculate-confidence-for-expressionclj

(calculate-confidence-for-expression expression-infos)

Calculate the confidence for an expression, as the lowest confidence in the expression-infos for the identifiers that make up the expression.

Calculate the confidence for an expression, as the lowest confidence in the
expression-infos for the identifiers that make up the expression.
sourceraw docstring

highest-confidenceclj

(highest-confidence cs)

Returns the highest confidence in a sequence of confidences.

Returns the highest confidence in a sequence of confidences.
sourceraw docstring

join-maps-with-operatorclj

(join-maps-with-operator op eim)

Joins eim, an expressions-info map with multiple entries into an expressions-info map with a single entry that is an SPDX expression joining all of the entries via SPDX operator op (either :and or :or).

Joins `eim`, an expressions-info map with multiple entries into an
expressions-info map with a single entry that is an SPDX expression joining
all of the entries via SPDX operator `op` (either :and or :or).
sourceraw docstring

lowest-confidenceclj

(lowest-confidence cs)

Returns the lowest confidence in a sequence of confidences.

Returns the lowest confidence in a sequence of confidences.
sourceraw docstring

merge-mapsclj

(merge-maps & maps)

Merges any number of expressions-info maps, by concatenating and de-duping values for the same key (expression). Returns a single map that may contain multiple map entries.

Merges any number of expressions-info maps, by concatenating and de-duping
values for the same key (expression). Returns a single map that may contain
multiple map entries.
sourceraw docstring

prepend-sourceclj

(prepend-source s m)

Prepends the given source s (a String) onto the :source sequence of all expression-info sub-maps in m (an expressions-info map).

Prepends the given source s (a String) onto the :source sequence of all
expression-info sub-maps in m (an expressions-info map).
sourceraw docstring

sort-confidencesclj

(sort-confidences cs)

Sorts a sequence of confidences from low to high.

Sorts a sequence of confidences from low to high.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close