(class-allocate-obj klass)
(class-find-method klass method-name)
(class-new symb superclass)
(class-set-superclass klass superclass)
(create-object-eigenclass klass)
(defclass class-name & specs)
(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] (...)))) )
(defmodule module-name & specs)
(eigenclass-create eigen-name eigen-superclass)
(extends base-class)
(defclass NewClass (extends BaseClass) (defm method ([] (...))) )
(defclass NewClass (extends BaseClass) (defm method ([] (...))) )
(get-class-state klass key)
(get-object-eigenclass obj)
(include module-obj)
(module-find-method modules method-name)
(module-new symb)
(object-new klass variables-map state-map)
(set-instance-method klass key f)
(set-instance-methods klass methods)
(set-object-method obj key f)
(set-state klass key value)
(set-states klass states)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close