Liking cljdoc? Tell your friends :D

hara.object.query


+all-class-elementsclj

(+all-class-elements ??)
?? invalid arglists:
()

cache for hara.object.query/all-class-elements

cache for hara.object.query/all-class-elements
raw docstring

+all-instance-elementsclj

(+all-instance-elements ??)
?? invalid arglists:
()

cache for hara.object.query/all-instance-elements

cache for hara.object.query/all-instance-elements
raw docstring

+query-functions+clj


+select-class-elementsclj

(+select-class-elements ??)
?? invalid arglists:
()

cache for hara.object.query/select-class-elements

cache for hara.object.query/select-class-elements
raw docstring

+select-instance-elementsclj

(+select-instance-elements ??)
?? invalid arglists:
()

cache for hara.object.query/select-instance-elements

cache for hara.object.query/select-instance-elements
raw docstring

+select-supers-elementsclj

(+select-supers-elements ??)
?? invalid arglists:
()

cache for hara.object.query/select-supers-elements

cache for hara.object.query/select-supers-elements
raw docstring

all-class-elementsclj

(all-class-elements class)

returns elements

(all-class-elements String)

returns elements 

(all-class-elements String)
raw docstring

all-class-elements-rawclj

(all-class-elements-raw class)

helper function for hara.object.query/all-class-elements

helper function for hara.object.query/all-class-elements
raw docstring

all-class-membersclj

(all-class-members class)

returns the raw reflected methods, fields and constructors

(all-class-members String)

returns the raw reflected methods, fields and constructors

(all-class-members String)
raw docstring

all-instance-elementsclj

(all-instance-elements tcls icls)

returns the hierarchy of elements corresponding to a class

(all-instance-elements String nil)

returns the hierarchy of elements corresponding to a class

(all-instance-elements String nil)
raw docstring

all-instance-elements-rawclj

(all-instance-elements-raw tcls icls)

helper function for hara.object.query/all-instance-elements

helper function for hara.object.query/all-instance-elements
raw docstring

apply-elementclj

(apply-element obj method args)

apply the class element to arguments

(->> (apply-element "123" "value" []) (map char)) => [ ]

apply the class element to arguments

(->> (apply-element "123" "value" [])
     (map char))
=> [  ]
raw docstring

delegateclj

(delegate obj)

Allow transparent field access and manipulation to the underlying object.

(def -a- "hello") (def -*a- (delegate -a-)) (def -world-array- (.getBytes "world"))

(mapv char (-*a- :value)) => [\h \e \l \l \o]

(-*a- :value -world-array-) (String. (-*a- :value)) => "world" -a- => "world"

Allow transparent field access and manipulation to the underlying object.

(def -a- "hello")
(def -*a-  (delegate -a-))
(def -world-array- (.getBytes "world"))

(mapv char (-*a- :value)) => [\h \e \l \l \o]

(-*a- :value -world-array-)
(String. (-*a- :value)) => "world"
-a- => "world"
raw docstring

invoke-intern-elementclj

(invoke-intern-element _ name {:keys [type class selector] :as config} _)

creates the form for element for definvoke

(invoke-intern-element :element '-foo- {:class String :selector ["charAt"]} nil)

creates the form for `element` for definvoke

(invoke-intern-element :element '-foo- {:class String
                                        :selector ["charAt"]} nil)
raw docstring

query-classclj

(query-class obj selectors)

queries the java view of the class declaration

(query-class String [#"^c" :name]) ;;=> ["charAt" "checkBounds" "codePointAt" "codePointBefore" ;; "codePointCount" "compareTo" "compareToIgnoreCase" ;; "concat" "contains" "contentEquals" "copyValueOf"]

queries the java view of the class declaration

(query-class String [#"^c" :name])
;;=> ["charAt" "checkBounds" "codePointAt" "codePointBefore"
;;    "codePointCount" "compareTo" "compareToIgnoreCase"
;;    "concat" "contains" "contentEquals" "copyValueOf"]
raw docstring

query-hierarchyclj

(query-hierarchy obj selectors)

lists what methods could be applied to a particular instance

(query-hierarchy String [:name #"^to"]) => ["toCharArray" "toLowerCase" "toString" "toUpperCase"]

lists what methods could be applied to a particular instance

(query-hierarchy String [:name #"^to"])
=> ["toCharArray" "toLowerCase" "toString" "toUpperCase"]
raw docstring

query-instanceclj

(query-instance obj selectors)

lists what class methods could be applied to a particular instance

(query-instance "abc" [:name #"^to"]) => ["toCharArray" "toLowerCase" "toString" "toUpperCase"]

(query-instance String [:name #"^to"]) => (contains ["toString"])

lists what class methods could be applied to a particular instance

(query-instance "abc" [:name #"^to"])
=> ["toCharArray" "toLowerCase" "toString" "toUpperCase"]

(query-instance String [:name #"^to"])
=> (contains ["toString"])
raw docstring

query-instance-hierarchyclj

(query-instance-hierarchy obj selectors)

lists what methods could be applied to a particular instance. includes all super class methods

(query-instance-hierarchy String [:name #"^to"]) => ["toCharArray" "toLowerCase" "toString" "toUpperCase"]

lists what methods could be applied to a particular instance. includes all super class methods

(query-instance-hierarchy String [:name #"^to"])
=> ["toCharArray" "toLowerCase" "toString" "toUpperCase"]
raw docstring

query-supersclj

(query-supers obj selectors)

returns all elements associated with the context class's super

(query-supers "122" [])

returns all elements associated with the context class's super

(query-supers "122" [])
raw docstring

select-class-elementsclj

(select-class-elements class selectors)

returns the processed reflected methods, fields and constructors

(select-class-elements String [#"^c" :name])

returns the processed reflected methods, fields and constructors

(select-class-elements String [#"^c" :name])
raw docstring

select-class-elements-rawclj

(select-class-elements-raw class selectors)

helper function for hara.object.query/select-class-elements

helper function for hara.object.query/select-class-elements
raw docstring

select-instance-elementsclj

(select-instance-elements tcls icls selectors)

returns the hierarchy of elements corresponding to a class

(select-instance-elements String nil [#"^c" :name])

returns the hierarchy of elements corresponding to a class

(select-instance-elements String nil [#"^c" :name])
raw docstring

select-instance-elements-rawclj

(select-instance-elements-raw tcls icls selectors)

helper function for hara.object.query/select-instance-elements

helper function for hara.object.query/select-instance-elements
raw docstring

select-supers-elementsclj

(select-supers-elements class selectors)

returns the elements related to the type's super classes

(select-supers-elements String [])

returns the elements related to the type's super classes

(select-supers-elements String [])
raw docstring

select-supers-elements-rawclj

(select-supers-elements-raw class selectors)

helper function for hara.object.query/select-supers-elements

helper function for hara.object.query/select-supers-elements
raw docstring

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

× close