Liking cljdoc? Tell your friends :D

cluby.core


*class-in-built*clj


*current-class*clj


BASIC-OBJECTclj


CLASSclj


class-allocate-objclj

(class-allocate-obj klass)

class-default-stateclj


class-find-methodclj

(class-find-method klass method-name)

class-newclj

(class-new symb superclass)

class-set-superclassclj

(class-set-superclass klass superclass)

create-object-eigenclassclj

(create-object-eigenclass klass)

defclasscljmacro

(defclass class-name & specs)

defmcljmacro

(defm method fnbody)
(defm target method fnbody)

;TODO: to simplify the method definition (defm OBJECT method ([] (...))) ; '[] index is 2, keyword is 1 (defm obj method ([] (...))) (defm obj method1 (([] (...)) ([a] (...)))) (defclass NewObject (defm method ([] (...))) ; '[] index is 1, keyword is 0 (defm method1 (([] (...)) ([a] (...)))) )

;TODO: to simplify the method definition
(defm OBJECT method ([] (...)))         ; '[] index is 2, keyword is 1
(defm obj method ([] (...)))
(defm obj method1 (([] (...)) ([a] (...))))
(defclass NewObject
  (defm method ([] (...)))              ; '[] index is 1, keyword is 0
  (defm method1 (([] (...)) ([a] (...))))
)
raw docstring

defmodulecljmacro

(defmodule module-name & specs)

eigenclass-createclj

(eigenclass-create eigen-name eigen-superclass)

extendscljmacro

(extends base-class)

(defclass NewClass (extends BaseClass) (defm method ([] (...))) )

(defclass NewClass
  (extends BaseClass)
  (defm method ([] (...)))
)
raw docstring

get-class-stateclj

(get-class-state klass key)

get-object-eigenclassclj

(get-object-eigenclass obj)

includecljmacro

(include module-obj)

MODULEclj


module-find-methodclj

(module-find-method modules method-name)

module-newclj

(module-new symb)

OBJECTclj


object-default-stateclj


object-newclj

(object-new klass variables-map state-map)

selfclj


set-instance-methodclj

(set-instance-method klass key f)

set-instance-methodsclj

(set-instance-methods klass methods)

set-object-methodclj

(set-object-method obj key f)

set-stateclj

(set-state klass key value)

set-statesclj

(set-states klass states)

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

× close