Completion for both static and non-static class members.
Completion for both static and non-static class members.
(camel-case-matches? prefix member-name)Tests if prefix matches the member name following camel case rules.
Thus, prefix getDeF matches member getDeclaredFields.
Tests if prefix matches the member name following camel case rules. Thus, prefix `getDeF` matches member `getDeclaredFields`.
(class-member-symbol? x)Tests if x looks like a non-static class member,
e.g. ".getMonth" or "java.util.Date/.getMonth" (for Clojure v1.12+).
When true, yields [klass-name method-name].
Tests if `x` looks like a non-static class member, e.g. ".getMonth" or "java.util.Date/.getMonth" (for Clojure v1.12+). When true, yields `[klass-name method-name]`.
(create-members-doc members)Takes a list of members (presumably with the same name) and turns them into a docstring.
Takes a list of members (presumably with the same name) and turns them into a docstring.
(doc-method-parameters parameters)Takes a list of method parameters and stringifies it.
Takes a list of method parameters and stringifies it.
(get-all-members ns)Returns all non-static members for a given namespace.
Returns all non-static members for a given namespace.
Stores cache of all non-static members for every namespace.
Stores cache of all non-static members for every namespace.
(members-candidates prefix ns context)Returns a list of Java non-static fields and methods candidates.
Returns a list of Java non-static fields and methods candidates.
(members-doc member-str ns)Documentation function for non-static members.
Documentation function for non-static members.
(populate-global-members-cache ns classes)Populate members cache of class members for ns from the given set of classes.
Populate members cache of class members for `ns` from the given set of classes.
(resolve-static-members member-str ns)Given a string representation of a static member returns Member object.
Given a string representation of a static member returns Member object.
(static-member-doc member-str ns)Given a member name and class returns its docstring.
Given a member name and class returns its docstring.
(static-member-symbol? x)Tests if prefix looks like a static member symbol, returns parsed parts.
Tests if prefix looks like a static member symbol, returns parsed parts.
(static-members-candidates prefix ns _context)Returns a list of static member candidates.
Returns a list of static member candidates.
(static? member)Tests if class member is static.
Tests if class member is static.
(try-get-object-class ns context)Tries to get the type of the object from the context, which the member will be applied to. Object should be a symbol resolving to a Var or have a type tag.
Tries to get the type of the object from the context, which the member will be applied to. Object should be a symbol resolving to a Var or have a type tag.
(type-to-pretty-string t)Takes a type (either a class or a primitive) and returns it's human-readable name.
Takes a type (either a class or a primitive) and returns it's human-readable name.
(update-global-cache ns)Updates members cache for a given namespace if necessary.
Updates members cache for a given namespace if necessary.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |