This is the access Reference Manual, version 1.6.0, generated automatically by Declt version 4.0 beta 2 "William Riker" on Sun Dec 15 04:11:26 2024 GMT+0.
The main system appears first, followed by any subsystem dependency.
access
A library providing functions that unify data-structure access for Common Lisp: access and (setf access)
Acceleration.net, Russ Tyndall, Nathan Bird, Ryan Davis
BSD
1.6.0
iterate
(system).
closer-mop
(system).
alexandria
(system).
cl-ppcre
(system).
access.lisp
(file).
arg-list-manipulation.lisp
(file).
Files are sorted by type and then listed depth-first from the systems components trees.
access/access.lisp
access
(system).
(setf access)
(setf expander).
access
(function).
access-copy
(function).
access-warning
(condition).
(setf accesses)
(setf expander).
accesses
(function).
call-applicable-fns
(function).
call-if-applicable
(function).
class-direct-slot-names
(function).
class-direct-slot-readers
(function).
class-direct-slot-writers
(function).
class-direct-slots
(function).
class-of-object
(function).
class-slot-by-name
(function).
class-slot-definitions
(function).
class-slot-names
(function).
class-slot-readers
(function).
class-slot-writers
(function).
class-slots
(generic function).
disable-dot-syntax
(macro).
do-access
(generic function).
do-set-access
(generic function).
enable-dot-syntax
(macro).
ensure-slot-name
(function).
equalper
(function).
get-slot-value
(function).
has-reader?
(function).
has-slot?
(function).
has-writer?
(function).
mutate-access
(function).
plist-val
(generic function).
rem-plist-val
(generic function).
rem-plist-val!
(macro).
set-access
(function).
set-accesses
(function).
set-plist-val
(generic function).
set-plist-val!
(macro).
split-dot-sym
(function).
with-access
(macro).
with-access-values
(macro).
with-all-slot-access-values
(macro).
with-all-slot-accessors
(macro).
with-dot
(macro).
%create-accessor-symbol-list
(function).
%disable-dot-syntax
(function).
%enable-dot-syntax
(function).
%initialize-null-container
(function).
%remove-quote-&-or
(function).
%slot-readers
(function).
%slot-writers
(function).
%to-hash-test
(function).
%with-all-slot-helper
(function).
*default-key*
(special variable).
*default-test*
(special variable).
*dot-previous-readtables*
(special variable).
access-condition
(condition).
access-warn
(function).
appended
(function).
default-key
(function).
default-test
(function).
dot-reader
(function).
dot-translate-walker
(function).
format-args
(reader method).
(setf format-args)
(writer method).
format-control
(reader method).
(setf format-control)
(writer method).
name-has-dot?
(function).
original-error
(reader method).
(setf original-error)
(writer method).
replace-dot-calls
(function).
setf-if-applicable
(function).
translate-dot-sym
(function).
access/arg-list-manipulation.lisp
access.lisp
(file).
access
(system).
arg-list-key-value
(generic function).
ensure-arg-list-key-value
(generic function).
ensure-arg-list-key-value!
(macro).
rem-arg-list-key-value
(generic function).
rem-arg-list-key-value!
(macro).
set-arg-list-key-value
(generic function).
set-arg-list-key-value!
(macro).
Packages are listed by definition order.
access
common-lisp
.
iterate
.
(setf access)
(setf expander).
access
(function).
access-copy
(function).
access-warning
(condition).
(setf accesses)
(setf expander).
accesses
(function).
arg-list-key-value
(generic function).
call-applicable-fns
(function).
call-if-applicable
(function).
class-direct-slot-names
(function).
class-direct-slot-readers
(function).
class-direct-slot-writers
(function).
class-direct-slots
(function).
class-of-object
(function).
class-slot-by-name
(function).
class-slot-definitions
(function).
class-slot-names
(function).
class-slot-readers
(function).
class-slot-writers
(function).
class-slots
(generic function).
disable-dot-syntax
(macro).
do-access
(generic function).
do-set-access
(generic function).
enable-dot-syntax
(macro).
ensure-arg-list-key-value
(generic function).
ensure-arg-list-key-value!
(macro).
ensure-slot-name
(function).
equalper
(function).
get-slot-value
(function).
has-reader?
(function).
has-slot?
(function).
has-writer?
(function).
mutate-access
(function).
plist-val
(generic function).
rem-arg-list-key-value
(generic function).
rem-arg-list-key-value!
(macro).
rem-plist-val
(generic function).
rem-plist-val!
(macro).
set-access
(function).
set-accesses
(function).
set-arg-list-key-value
(generic function).
set-arg-list-key-value!
(macro).
set-plist-val
(generic function).
set-plist-val!
(macro).
split-dot-sym
(function).
with-access
(macro).
with-access-values
(macro).
with-all-slot-access-values
(macro).
with-all-slot-accessors
(macro).
with-dot
(macro).
%create-accessor-symbol-list
(function).
%disable-dot-syntax
(function).
%enable-dot-syntax
(function).
%initialize-null-container
(function).
%remove-quote-&-or
(function).
%slot-readers
(function).
%slot-writers
(function).
%to-hash-test
(function).
%with-all-slot-helper
(function).
*default-key*
(special variable).
*default-test*
(special variable).
*dot-previous-readtables*
(special variable).
access-condition
(condition).
access-warn
(function).
appended
(function).
default-key
(function).
default-test
(function).
dot-reader
(function).
dot-translate-walker
(function).
format-args
(generic reader).
(setf format-args)
(generic writer).
format-control
(generic reader).
(setf format-control)
(generic writer).
name-has-dot?
(function).
original-error
(generic reader).
(setf original-error)
(generic writer).
replace-dot-calls
(function).
setf-if-applicable
(function).
translate-dot-sym
(function).
Definitions are sorted by export status, category, package, and then by lexicographic order.
Restore readtable which was active before last call to If there was no such call, the standard readtable is used.
Enable reader syntax.
Similar to with-accessors except using the access functions
A macro which binds local variables from accessed values on object
according to bindings
bindings: (local-symbol-and-access-key
or (local-symbol access-key)
...)
obj: the thing we are accessing data from
A macro which binds local variables for each slot value in class as by access
A macro which binds (like with-access) all slot names of a class to a local
symbolmacro let storing and retrieving using access
class-name: a symbol or a list of class-names (symbols)
to make this easier to call we ignore quote and or
eg: ’t1=>t1, (or ’t1 ’t2 ...)=> (t1 t2 ...)
This should allow setting places through access
access
(function).
Access plists, alists, arrays, hashtables and clos objects
all through the same interface
skip-call, skips trying to call
Copy the values on ’from’ to ’to’ for all of the keys listed
keep accessing keys on resulting objects
eg: (accesses o k1 k2) => (access (access o k1) k2)
For an object and a list of fn/fn names, call-if-applicable repeatedly
See if there is a method named fn specialized on o, or a function named fn
and call it if so
TODO: dont call macro functions/special forms, they are not applicable
ensures o is a class (or list thereof) and returns all the direct slot reader functions)
returns the class of the object/symbol (or itself if it is a class), if passed a list returns a list of these results
compares symbols by equalp symbol-name
like slot-value but without boundedness errors and works with slot definitions
For o, does a reader function exist for it
Does o have a slot named slot-name
if lax? we will ignore packages to find the slot we will always return a slot-name from the specified package if it exists, otherwise we return the slot-name we found if its in a different package
For o, does a writer function exist for it?
Mutate the value stored in key k on object o, by passing it through fn
set places in plists, alists, hashtables and clos objects all through the same interface
keep accessing till you get to the end of keys , then store the result of
setting that field back up the call tree
returns the new value and the object that was stored there
(so for a plist / alist you have a ref to the val and the full list)
Given an &rest value that contains a (partial) lambda list with keys somewhere in it, find the specified value for a given key
returns the slots for the class/obj or list of class/obj passed in
list
) k &key type test key) ¶array
) k &key type test key) ¶hash-table
) k &key type test key) ¶standard-object
) k &key type test key) ¶structure-object
) k &key type test key) ¶Ensure that a specific keyword has a value (or default) in an appliable arg list
get a value out of a plist based on its key
Remove a specific keyword and value from the
removes key & its value from plist returning (values plist (list-of-values-removed))
Set the keyword parameter id to the value new
if ensure? then only set if it doesnt exist (in which case new acts as a default)
If a key exists in the plist, set its value, otherwise add this key to the dictionary
access-condition
.
warning
.
A stack which holds the previous readtables that have been pushed here by ENABLE-DOT-SYNTAX.
Gets the slots off a class an builds binding like (local::symbol orig::symbol) where local is the current *package* and orig is the original package of the symbol
used in with-all-slot-accessors
Internal function used to restore previous readtable.
Internal function used to enable reader syntax and store current readtable on stack.
remove any quote / ors so that list type-specifications
A macro which binds (like with-access) all slot names of a class to a local
symbolmacro let storing and retrieving using access
class-name: a symbol or a list of class-names (symbols)
to make this easier to call we ignore quote and or
eg: ’t1=>t1, (or ’t1 ’t2 ...)=> (t1 t2 ...)
Mapcan caused all sorts of trouble with its NCONCing
Reads a form and replaces dot calls
If we find a setf function named (setf fn) that can operate on o then call that with value new
access-condition
)) ¶access-condition
)) ¶access-condition
)) ¶access-condition
)) ¶access-condition
)) ¶access-condition
)) ¶simple-condition
.
(quote nil)
:format-control
(quote nil)
:format-args
(quote nil)
:original-error
Jump to: | %
(
A C D E F G H M N O P R S T W |
---|
Jump to: | %
(
A C D E F G H M N O P R S T W |
---|
Jump to: | *
F O S |
---|
Jump to: | *
F O S |
---|
Jump to: | A C F P S |
---|
Jump to: | A C F P S |
---|