Functions and utilities for source implementations.
Functions and utilities for source implementations.
Signals to downstream sources which additional information about completion candidates they should attach . Should be a set of keywords.
Signals to downstream sources which additional information about completion candidates they should attach . Should be a set of keywords.
Signifies if the application is running on Android.
Signifies if the application is running on Android.
(cache-last-result name key value)
If cache for name
is absent, or key
doesn't match the key in the cache,
calculate v
and return it. Else return value from cache.
If cache for `name` is absent, or `key` doesn't match the key in the cache, calculate `v` and return it. Else return value from cache.
(classes-on-classpath)
Returns a map of all classes that can be located on the classpath. Key represent the root package of the class, and value is a list of all classes for that package.
Returns a map of all classes that can be located on the classpath. Key represent the root package of the class, and value is a list of all classes for that package.
(defmemoized name & fdecl)
Defines a memoized function.
Defines a memoized function.
(flush-caches)
Removes all cached values, forcing functions that depend on
cache-last-result
to recalculate.
Removes all cached values, forcing functions that depend on `cache-last-result` to recalculate.
(fuzzy-matches-no-skip? prefix symbol separator?)
Tests if symbol matches the prefix where separator? checks whether character
is a separator. Unlike fuzzy-matches?
requires separator characters to be
present in prefix.
Tests if symbol matches the prefix where separator? checks whether character is a separator. Unlike `fuzzy-matches?` requires separator characters to be present in prefix.
(fuzzy-matches? prefix symbol separator)
Tests if symbol matches the prefix when symbol is split into parts on separator.
Tests if symbol matches the prefix when symbol is split into parts on separator.
Signifies if the application is running on JDK 9 or higher.
Signifies if the application is running on JDK 9 or higher.
(namespaces-on-classpath)
Returns the list of all Clojure namespaces obtained by classpath scanning.
Returns the list of all Clojure namespaces obtained by classpath scanning.
(project-resources)
Returns a list of all non-code files in the current project.
Returns a list of all non-code files in the current project.
(resolve-class ns sym)
Tries to resolve a classname from the given symbol, or returns nil if classname can't be resolved.
Tries to resolve a classname from the given symbol, or returns nil if classname can't be resolved.
(resolve-namespace sym ns)
Tries to resolve a namespace from the given symbol, either from a fully qualified name or an alias in the given namespace.
Tries to resolve a namespace from the given symbol, either from a fully qualified name or an alias in the given namespace.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close