Liking cljdoc? Tell your friends :D

compliment.sources.class-members

Completion for both static and non-static class members.

Completion for both static and non-static class members.
raw docstring

camel-case-matches?clj

(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`.
sourceraw docstring

class-member-symbol?clj

(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]`.
sourceraw docstring

classname-docclj

(classname-doc class)
source

create-members-docclj

(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.
sourceraw docstring

doc-method-parametersclj

(doc-method-parameters parameters)

Takes a list of method parameters and stringifies it.

Takes a list of method parameters and stringifies it.
sourceraw docstring

get-all-membersclj

(get-all-members ns)

Returns all non-static members for a given namespace.

Returns all non-static members for a given namespace.
sourceraw docstring

global-members-cacheclj

Stores cache of all non-static members for every namespace.

Stores cache of all non-static members for every namespace.
sourceraw docstring

members-candidatesclj

(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.
sourceraw docstring

members-docclj

(members-doc member-str ns)

Documentation function for non-static members.

Documentation function for non-static members.
sourceraw docstring

populate-global-members-cacheclj

(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.
sourceraw docstring

qualified-member-symbol?clj

(qualified-member-symbol? x)
source

resolve-static-membersclj

(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.
sourceraw docstring

static-member-docclj

(static-member-doc member-str ns)

Given a member name and class returns its docstring.

Given a member name and class returns its docstring.
sourceraw docstring

static-member-symbol?clj

(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.
sourceraw docstring

static-members-candidatesclj

(static-members-candidates prefix ns _context)

Returns a list of static member candidates.

Returns a list of static member candidates.
sourceraw docstring

static?clj

(static? member)

Tests if class member is static.

Tests if class member is static.
sourceraw docstring

try-get-object-classclj

(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.
sourceraw docstring

type-to-pretty-stringclj

(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.
sourceraw docstring

update-global-cacheclj

(update-global-cache ns)

Updates members cache for a given namespace if necessary.

Updates members cache for a given namespace if necessary.
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
←Move to previous article
→Move to next article
Ctrl+/Jump to the search field
× close