This is the mgl-pax Reference Manual, version 0.3.0, generated automatically by Declt version 4.0 beta 2 "William Riker" on Sun Dec 15 07:03:34 2024 GMT+0.
mgl-pax/mgl-pax.asd
mgl-pax.asdf/mgl-pax.asdf.asd
mgl-pax-bootstrap/mgl-pax-bootstrap.asd
dref/dref.asd
mgl-pax/src/base//autoload.lisp
mgl-pax/src/base//pax.lisp
mgl-pax/src/base//extension-api.lisp
mgl-pax/src/base//navigate-early.lisp
mgl-pax/src/base//document-early.lisp
mgl-pax/src/base//web-early.lisp
mgl-pax/src/base//transcribe-early.lisp
mgl-pax/src/base//locatives-early.lisp
mgl-pax.asdf/asdf.lisp
mgl-pax-bootstrap/src/bootstrap//package.lisp
mgl-pax-bootstrap/src/bootstrap//basics.lisp
mgl-pax-bootstrap/src/bootstrap//pax-world.lisp
dref/src/base//package.lisp
dref/src/base//autoload.lisp
dref/src/base//util.lisp
dref/src/base//dref.lisp
dref/src/base//extension-api.lisp
dref/src/base//early.lisp
The main system appears first, followed by any subsystem dependency.
mgl-pax
Documentation system, browser, generator.
Gábor Melis
(GIT https://github.com/melisgl/mgl-pax.git)
MIT, see COPYING.
The set of dependencies of the MGL-PAX system is
kept light, and its heavier dependencies are autoloaded via ASDF
when the relevant functionality is accessed. See the
MGL-PAX/NAVIGATE, MGL-PAX/DOCUMENT, MGL-PAX/TRANSCRIBE and
MGL-PAX/FULL systems. To keep deployed code small, client systems
should declare an ASDF dependency on this system, never on the
others, which are intended for autoloading and interactive use.
0.3.0
mgl-pax.asdf
(system).
mgl-pax-bootstrap
(system).
dref
(system).
named-readtables
(system).
pythonic-string-reader
(system).
src/base/
(module).
mgl-pax-bootstrap
Not for public use. This is solely for systems on which PAX depends but which also use PAX.
Gábor Melis
MIT, see COPYING.
mgl-pax.asdf
(system).
src/bootstrap/
(module).
dref
Reify definitions, provide portable access to
docstrings and source locations in an extensible framework.
Gábor Melis
(GIT https://github.com/melisgl/mgl-pax.git)
MIT, see COPYING.
DEFUN defines a first-class object: a FUNCTION.
DEFVAR does not. This library provides a way to refer to all
definitions and smooths over the differences between
implementations. This system has minimal dependencies. It autoloads
the ‘DREF/FULL‘ ASDF:SYSTEM, which depends Alexandria and Swank.
0.0.1
mgl-pax.asdf
(system).
mgl-pax-bootstrap
(system).
named-readtables
(system).
pythonic-string-reader
(system).
src/base/
(module).
Modules are listed depth-first from the system components tree.
mgl-pax/src/base/
mgl-pax
(system).
autoload.lisp
(file).
pax.lisp
(file).
extension-api.lisp
(file).
navigate-early.lisp
(file).
document-early.lisp
(file).
web-early.lisp
(file).
transcribe-early.lisp
(file).
locatives-early.lisp
(file).
mgl-pax-bootstrap/src/bootstrap/
mgl-pax-bootstrap
(system).
package.lisp
(file).
basics.lisp
(file).
pax-world.lisp
(file).
dref/src/base/
dref
(system).
package.lisp
(file).
autoload.lisp
(file).
util.lisp
(file).
dref.lisp
(file).
extension-api.lisp
(file).
early.lisp
(file).
Files are sorted by type and then listed depth-first from the systems components trees.
mgl-pax/mgl-pax.asd
mgl-pax.asdf/mgl-pax.asdf.asd
mgl-pax-bootstrap/mgl-pax-bootstrap.asd
dref/dref.asd
mgl-pax/src/base//autoload.lisp
mgl-pax/src/base//pax.lisp
mgl-pax/src/base//extension-api.lisp
mgl-pax/src/base//navigate-early.lisp
mgl-pax/src/base//document-early.lisp
mgl-pax/src/base//web-early.lisp
mgl-pax/src/base//transcribe-early.lisp
mgl-pax/src/base//locatives-early.lisp
mgl-pax.asdf/asdf.lisp
mgl-pax-bootstrap/src/bootstrap//package.lisp
mgl-pax-bootstrap/src/bootstrap//basics.lisp
mgl-pax-bootstrap/src/bootstrap//pax-world.lisp
dref/src/base//package.lisp
dref/src/base//autoload.lisp
dref/src/base//util.lisp
dref/src/base//dref.lisp
dref/src/base//extension-api.lisp
dref/src/base//early.lisp
mgl-pax-bootstrap/mgl-pax-bootstrap.asd
mgl-pax-bootstrap
(system).
mgl-pax/src/base//autoload.lisp
src/base/
(module).
autoload
(macro).
defun/autoloaded
(macro).
without-redefinition-warnings
(macro).
mgl-pax/src/base//pax.lisp
autoload.lisp
(file).
src/base/
(module).
install-pax-elisp
(function).
section-entries
(function).
section-link-title-to
(function).
@background
(special variable).
@basics
(special variable).
@emacs-setup
(special variable).
@introduction
(special variable).
@links
(special variable).
@m-.
(special variable).
@markdown
(special variable).
@oaoo
(special variable).
@pax-manual
(special variable).
@slime
(special variable).
check-pax-elisp-version
(function).
section-entry-to-xref
(function).
version<=
(function).
mgl-pax/src/base//extension-api.lisp
pax.lisp
(file).
src/base/
(module).
document-object*
(generic function).
ensure-navigate-loaded
(function).
@adding-new-locatives
(special variable).
@extension-api
(special variable).
@glossary-terms
(special variable).
@locative-aliases
(special variable).
@sections
(special variable).
mgl-pax/src/base//document-early.lisp
navigate-early.lisp
(file).
src/base/
(module).
*browse-html-style*
(special variable).
*document-base-url*
(special variable).
*document-downcase-uppercase-code*
(special variable).
*document-fancy-html-navigation*
(special variable).
*document-html-bottom-blocks-of-links*
(special variable).
*document-html-default-style*
(special variable).
*document-html-head*
(special variable).
*document-html-max-navigation-table-of-contents-level*
(special variable).
*document-html-sidebar*
(special variable).
*document-html-top-blocks-of-links*
(special variable).
*document-hyperspec-root*
(special variable).
*document-link-code*
(special variable).
*document-link-sections*
(special variable).
*document-link-to-hyperspec*
(special variable).
*document-mark-up-signatures*
(special variable).
*document-max-numbering-level*
(special variable).
*document-max-table-of-contents-level*
(special variable).
*document-min-link-hash-length*
(special variable).
*document-normalize-packages*
(special variable).
*document-text-navigation*
(special variable).
*document-uppercase-is-code*
(special variable).
*document-url-versions*
(special variable).
*format*
(special variable).
document
(function).
document-docstring
(function).
documenting-reference
(macro).
escape-markdown
(function).
make-git-source-uri-fn
(function).
make-github-source-uri-fn
(function).
prin1-to-markdown
(function).
unresolvable-reflink
(condition).
update-asdf-system-html-docs
(function).
update-asdf-system-readmes
(function).
update-pax-world
(function).
with-dislocated-names
(macro).
with-heading
(macro).
*documenting-reference*
(special variable).
@extending-document
(special variable).
@github-workflow
(special variable).
asdf-system-git-root-and-version
(function).
call-with-heading
(function).
convert-source-location
(function).
current-definition-pax-url-for-emacs
(function).
document-for-emacs
(function).
downcasingp
(function).
end-of-register-doc-example
(special variable).
ensure-list
(function).
file-position-to-line-number
(function).
find-hyperspec-definition-url
(function).
find-hyperspec-glossary-entry-id
(function).
find-hyperspec-glossary-entry-url
(function).
find-hyperspec-issue-id
(function).
find-hyperspec-issue-url
(function).
find-hyperspec-section-id
(function).
find-hyperspec-section-url
(function).
git-root
(function).
git-version
(function).
in-git-p
(function).
line-file-positions
(function).
locate-pax-url-for-emacs
(function).
locatives-for-name-for-emacs
(function).
pathname-as-directory
(function).
pax-pages
(function).
pax-sections
(function).
print-reference-bullet
(function).
redocument-for-emacs
(function).
with-local-references
(macro).
mgl-pax/src/base//web-early.lisp
document-early.lisp
(file).
src/base/
(module).
ensure-web-server
(function).
mgl-pax/src/base//transcribe-early.lisp
web-early.lisp
(file).
src/base/
(module).
*transcribe-check-consistency*
(special variable).
*transcribe-syntaxes*
(special variable).
delete-comments
(function).
delete-trailing-whitespace
(function).
squeeze-whitespace
(function).
transcribe
(function).
transcription-consistency-error
(condition).
transcription-error
(condition).
@transcripts
(special variable).
ensure-transcribe-loaded
(function).
transcribe-for-emacs
(function).
mgl-pax/src/base//locatives-early.lisp
transcribe-early.lisp
(file).
src/base/
(module).
@pax-locatives
(special variable).
mgl-pax.asdf/asdf.lisp
mgl-pax.asdf
(system).
call-with-wrappers
(function).
compile-pax
(function).
compile-per-file
(function).
compile-with-source-info
(function).
compose-wrappers
(function).
compile-without-some-warnings
(function).
mgl-pax-bootstrap/src/bootstrap//package.lisp
src/bootstrap/
(module).
mgl-pax-bootstrap/src/bootstrap//basics.lisp
package.lisp
(file).
src/bootstrap/
(module).
*discard-documentation-p*
(special variable).
define-glossary-term
(macro).
define-package
(macro).
defsection
(macro).
exportable-locative-type-p
(generic function).
exportable-reference-p
(generic function).
glossary-term
(class).
glossary-term-name
(reader method).
glossary-term-title
(reader method).
glossary-term-url
(reader method).
print-object
(method).
section
(class).
section-name
(reader method).
section-package
(reader method).
section-readtable
(reader method).
section-title
(reader method).
check-link-title-to
(function).
check-section-entries
(function).
export-some-symbols
(function).
exportablep
(function).
glossary-term-docstring
(reader method).
malformed-ref-list-in-section-error
(function).
prin1-to-string/fully-qualified
(function).
ref-list-p
(function).
symbol-accessible-in-package-p
(function).
mgl-pax-bootstrap/src/bootstrap//pax-world.lisp
basics.lisp
(file).
src/bootstrap/
(module).
register-doc-in-pax-world
(function).
*registered-pax-world-docs*
(special variable).
@pax-world
(special variable).
list-designator
(function).
dref/src/base//package.lisp
src/base/
(module).
@condition-system-locatives
(special variable).
@dref-locatives
(special variable).
@dref-subclasses
(special variable).
@extending-dref
(special variable).
@functionlike-locatives
(special variable).
@locative-types
(special variable).
@macrolike-locatives
(special variable).
@packagelike-locatives
(special variable).
@references
(special variable).
@source-locations
(special variable).
@symbol-locatives
(special variable).
@typelike-locatives
(special variable).
@variablelike-locatives
(special variable).
dref-std-env
(function).
dref/src/base//autoload.lisp
package.lisp
(file).
src/base/
(module).
autoload
(macro).
defun/autoloaded
(macro).
without-redefinition-warnings
(macro).
dref/src/base//util.lisp
autoload.lisp
(file).
src/base/
(module).
hash-table-keys
(function).
macro-arg-names
(function).
dref/src/base//dref.lisp
util.lisp
(file).
src/base/
(module).
arglist
(function).
docstring
(function).
dref
(function).
dref
(class).
dref-locative
(reader method).
dref-locative-args
(function).
dref-locative-type
(function).
dref-name
(reader method).
dref-origin
(reader method).
initialize-instance
(method).
lisp-locative-types
(function).
locate
(function).
locate-error
(condition).
locative-aliases
(function).
locative-args
(function).
locative-type
(function).
locative-types
(function).
print-object
(method).
pseudo-locative-types
(function).
resolve
(function).
resolve-error
(condition).
source-location
(function).
xref
(function).
xref
(class).
xref-locative
(reader method).
xref-locative-args
(function).
xref-locative-type
(function).
xref-name
(reader method).
xref=
(function).
*lisp-locative-types*
(special variable).
*locative-aliases*
(special variable).
*locative-types*
(special variable).
*pseudo-locative-types*
(special variable).
@dref-manual
(special variable).
@glossary
(special variable).
@introduction
(special variable).
@listing-definitions
(special variable).
@locative
(special variable).
@locative-type
(special variable).
@locatives-and-references
(special variable).
@name
(special variable).
@operations
(special variable).
@presentation
(special variable).
@reference
(special variable).
declare-locative-alias
(function).
declare-locative-type
(function).
declare-pseudo-locative-type
(function).
ensure-dref-loaded
(function).
format-format-and-args
(function).
locate-error-message
(reader method).
locate-error-object
(reader method).
normalize-locative
(function).
resolve-error-dref
(reader method).
resolve-error-message
(reader method).
xref-name=
(function).
dref/src/base//extension-api.lisp
dref.lisp
(file).
src/base/
(module).
add-dref-actualizer
(function).
arglist*
(generic function).
check-locative-args
(macro).
define-definer-for-symbol-locative-type
(macro).
define-definition-class
(macro).
define-locative-alias
(macro).
define-locative-type
(macro).
define-pseudo-locative-type
(macro).
define-symbol-locative-type
(macro).
docstring*
(generic function).
dref*
(generic function).
locate*
(generic function).
locate-error
(function).
remove-dref-actualizer
(function).
resolve*
(generic function).
resolve-error
(function).
source-location*
(generic function).
symbol-locative-dref
(class).
%make-dref
(macro).
*dref-actualizers*
(special variable).
*locating-object*
(special variable).
*resolving-dref*
(special variable).
@adding-new-locatives
(special variable).
@symbol-locatives
(special variable).
actualize-dref
(function).
check-body-docstring
(function).
check-docstring-only-body
(function).
expand-define-definer-for-symbol-as-locative-definer-body
(function).
locative-type-lambda-list
(generic function).
map-definitions
(generic function).
map-names
(generic function).
symbol-lambda-list
(generic function).
symbol-lambda-list-method
(macro).
the-dref
(macro).
dref/src/base//early.lisp
extension-api.lisp
(file).
src/base/
(module).
define-restart
(macro).
definitions
(function).
dref*
(method).
dref-apropos
(function).
make-source-location
(function).
restart-dref
(class).
source-location-adjusted-file-position
(function).
source-location-buffer
(function).
source-location-buffer-position
(function).
source-location-file
(function).
source-location-file-position
(function).
source-location-p
(function).
source-location-snippet
(function).
locative-type-lambda-list
(method).
Packages are listed by definition order.
mgl-pax
See MGL-PAX::@PAX-MANUAL.
pax
*browse-html-style*
(special variable).
*discard-documentation-p*
(special variable).
*document-base-url*
(special variable).
*document-downcase-uppercase-code*
(special variable).
*document-fancy-html-navigation*
(special variable).
*document-html-bottom-blocks-of-links*
(special variable).
*document-html-default-style*
(special variable).
*document-html-head*
(special variable).
*document-html-max-navigation-table-of-contents-level*
(special variable).
*document-html-sidebar*
(special variable).
*document-html-top-blocks-of-links*
(special variable).
*document-hyperspec-root*
(special variable).
*document-link-code*
(special variable).
*document-link-sections*
(special variable).
*document-link-to-hyperspec*
(special variable).
*document-mark-up-signatures*
(special variable).
*document-max-numbering-level*
(special variable).
*document-max-table-of-contents-level*
(special variable).
*document-min-link-hash-length*
(special variable).
*document-normalize-packages*
(special variable).
*document-text-navigation*
(special variable).
*document-uppercase-is-code*
(special variable).
*document-url-versions*
(special variable).
*format*
(special variable).
*transcribe-check-consistency*
(special variable).
*transcribe-syntaxes*
(special variable).
define-glossary-term
(macro).
define-package
(macro).
defsection
(macro).
delete-comments
(function).
delete-trailing-whitespace
(function).
docstring
(function).
document
(function).
document-docstring
(function).
document-object*
(generic function).
documenting-reference
(macro).
ensure-navigate-loaded
(function).
escape-markdown
(function).
exportable-locative-type-p
(generic function).
exportable-reference-p
(generic function).
glossary-term
(class).
glossary-term-name
(generic reader).
glossary-term-title
(generic reader).
glossary-term-url
(generic reader).
install-pax-elisp
(function).
locative
(slot).
locative
(slot).
make-git-source-uri-fn
(function).
make-github-source-uri-fn
(function).
prin1-to-markdown
(function).
register-doc-in-pax-world
(function).
section
(class).
section-entries
(function).
section-link-title-to
(function).
section-name
(generic reader).
section-package
(generic reader).
section-readtable
(generic reader).
section-title
(generic reader).
squeeze-whitespace
(function).
transcribe
(function).
transcription-consistency-error
(condition).
transcription-error
(condition).
unresolvable-reflink
(condition).
update-asdf-system-html-docs
(function).
update-asdf-system-readmes
(function).
update-pax-world
(function).
with-dislocated-names
(macro).
with-heading
(macro).
*document-do-not-follow-references*
(special variable).
*document-open-linking*
(special variable).
*documenting-reference*
(special variable).
*first-pass*
(special variable).
*html-subformat*
(special variable).
*local-references*
(special variable).
*registered-pax-world-docs*
(special variable).
@adding-new-locatives
(special variable).
@background
(special variable).
@basics
(special variable).
@emacs-setup
(special variable).
@extending-document
(special variable).
@extension-api
(special variable).
@github-workflow
(special variable).
@glossary-terms
(special variable).
@introduction
(special variable).
@links
(special variable).
@locative-aliases
(special variable).
@m-.
(special variable).
@markdown
(special variable).
@oaoo
(special variable).
@pax-locatives
(special variable).
@pax-manual
(special variable).
@pax-world
(special variable).
@sections
(special variable).
@slime
(special variable).
@transcripts
(special variable).
asdf-system-git-root-and-version
(function).
autoload
(macro).
call-with-heading
(function).
check-link-title-to
(function).
check-pax-elisp-version
(function).
check-section-entries
(function).
convert-source-location
(function).
current-definition-pax-url-for-emacs
(function).
defun/autoloaded
(macro).
document-for-emacs
(function).
downcasingp
(function).
end-of-register-doc-example
(special variable).
ensure-list
(function).
ensure-transcribe-loaded
(function).
ensure-web-server
(function).
export-some-symbols
(function).
exportablep
(function).
file-position-to-line-number
(function).
find-hyperspec-definition-url
(function).
find-hyperspec-glossary-entry-id
(function).
find-hyperspec-glossary-entry-url
(function).
find-hyperspec-issue-id
(function).
find-hyperspec-issue-url
(function).
find-hyperspec-section-id
(function).
find-hyperspec-section-url
(function).
find-parent-section-for-emacs
(function).
git-root
(function).
git-version
(function).
glossary-term-docstring
(generic reader).
in-git-p
(function).
line-file-positions
(function).
list-designator
(function).
locate-definitions-for-emacs
(function).
locate-pax-url-for-emacs
(function).
locatives-for-name-for-emacs
(function).
malformed-ref-list-in-section-error
(function).
pathname-as-directory
(function).
pax-pages
(function).
pax-sections
(function).
prin1-to-string/fully-qualified
(function).
print-reference-bullet
(function).
redocument-for-emacs
(function).
ref-list-p
(function).
section-entry-to-xref
(function).
symbol-accessible-in-package-p
(function).
transcribe-for-emacs
(function).
version<=
(function).
with-local-references
(macro).
without-redefinition-warnings
(macro).
dref
See DREF::@DREF-MANUAL.
arglist
(function).
define-restart
(macro).
definitions
(function).
dref
(function).
dref
(class).
dref-apropos
(function).
lisp-locative-types
(function).
locate
(function).
locative-aliases
(function).
locative-types
(function).
pseudo-locative-types
(function).
resolve
(function).
resolve-error
(function).
resolve-error
(condition).
source-location
(function).
xref
(function).
xref
(class).
xref=
(function).
%make-dref
(macro).
*dref-actualizers*
(special variable).
*lisp-locative-types*
(special variable).
*locating-object*
(special variable).
*locative-aliases*
(special variable).
*locative-types*
(special variable).
*pseudo-locative-types*
(special variable).
*resolving-dref*
(special variable).
@condition-system-locatives
(special variable).
@dref-locatives
(special variable).
@dref-manual
(special variable).
@functionlike-locatives
(special variable).
@glossary
(special variable).
@introduction
(special variable).
@listing-definitions
(special variable).
@locative
(special variable).
@locative-type
(special variable).
@locative-types
(special variable).
@locatives-and-references
(special variable).
@macrolike-locatives
(special variable).
@name
(special variable).
@operations
(special variable).
@packagelike-locatives
(special variable).
@presentation
(special variable).
@reference
(special variable).
@symbol-locatives
(special variable).
@typelike-locatives
(special variable).
@variablelike-locatives
(special variable).
actualize-dref
(function).
autoload
(macro).
check-body-docstring
(function).
check-docstring-only-body
(function).
declare-locative-alias
(function).
declare-locative-type
(function).
declare-pseudo-locative-type
(function).
defun/autoloaded
(macro).
ensure-dref-loaded
(function).
expand-define-definer-for-symbol-as-locative-definer-body
(function).
format-format-and-args
(function).
hash-table-keys
(function).
locate-error-message
(generic reader).
locate-error-object
(generic reader).
locative-type-lambda-list
(generic function).
macro-arg-names
(function).
map-definitions
(generic function).
map-names
(generic function).
message
(slot).
normalize-locative
(function).
object
(slot).
resolve-error-dref
(generic reader).
resolve-error-message
(generic reader).
symbol-lambda-list
(generic function).
symbol-lambda-list-method
(macro).
the-dref
(macro).
without-redefinition-warnings
(macro).
xref-name=
(function).
mgl-pax.asdf
common-lisp
.
call-with-wrappers
(function).
compile-pax
(function).
compile-per-file
(function).
compile-with-source-info
(function).
compose-wrappers
(function).
compile-without-some-warnings
(function).
dref-ext
See DREF-EXT::@EXTENDING-DREF.
common-lisp
.
editor-hints.named-readtables
.
mgl-pax
.
pythonic-string-reader
.
add-dref-actualizer
(function).
arglist*
(generic function).
check-locative-args
(macro).
define-definer-for-symbol-locative-type
(macro).
define-definition-class
(macro).
define-locative-alias
(macro).
define-locative-type
(macro).
define-pseudo-locative-type
(macro).
define-symbol-locative-type
(macro).
docstring*
(generic function).
dref*
(generic function).
dref-locative
(generic reader).
dref-locative-args
(function).
dref-locative-type
(function).
dref-name
(generic reader).
dref-origin
(generic reader).
locate*
(generic function).
locate-error
(function).
locate-error
(condition).
locative-args
(function).
locative-type
(function).
make-source-location
(function).
remove-dref-actualizer
(function).
resolve*
(generic function).
restart-dref
(class).
source-location*
(generic function).
source-location-adjusted-file-position
(function).
source-location-buffer
(function).
source-location-buffer-position
(function).
source-location-file
(function).
source-location-file-position
(function).
source-location-p
(function).
source-location-snippet
(function).
symbol-locative-dref
(class).
xref-locative
(generic reader).
xref-locative-args
(function).
xref-locative-type
(function).
xref-name
(generic reader).
@adding-new-locatives
(special variable).
@dref-subclasses
(special variable).
@extending-dref
(special variable).
@references
(special variable).
@source-locations
(special variable).
@symbol-locatives
(special variable).
dref-std-env
(function).
Definitions are sorted by export status, category, package, and then by lexicographic order.
The default value of DEFSECTION’s DISCARD-DOCUMENTATION-P argument. One may want to set *DISCARD-DOCUMENTATION-P* to true before building a binary application.
Bound by DOCUMENT to its FORMAT argument, this allows markdown output to depend on the output format.
Signal a LOCATE-ERROR condition if LOCATIVE-ARGS do not match the LAMBDA-LIST argument of LOCATIVE-TYPE (not evaluated).
Define a macro with NAME that can be used to attach a lambda list, documentation, and source location to a symbol in the context of LOCATIVE-TYPE. The defined macro’s arglist is ‘(SYMBOL LAMBDA-LIST &OPTIONAL DOCSTRING)‘. LOCATIVE-TYPE is assumed to have been defined with DEFINE-SYMBOL-LOCATIVE-TYPE.
Define a subclass of DREF. All definitions with LOCATIVE-TYPE
must be of this type. If non-NIL, BODY is DEFCLASS’ slot definitions
and other options.
Define a global variable with NAME, and set it to a [GLOSSARY-TERM]
[class] object. TITLE, URL and DOCSTRING are markdown strings or
NIL. Glossary terms are DOCUMENTed in the lightweight bullet +
locative + name/title style. See the glossary entry @NAME for an
example.
When a glossary term is linked to in documentation, its TITLE will
be the link text instead of the name of the symbol (as with
SECTIONs).
Glossary entries with a non-NIL URL are like external links: they
are linked to their URL in the generated documentation. These offer
a more reliable alternative to using markdown reference links and
are usually not included in SECTIONs.
When DISCARD-DOCUMENTATION-P (defaults to *DISCARD-DOCUMENTATION-P*) is true, DOCSTRING will not be recorded to save memory.
Define ALIAS as a locative equivalent to LOCATIVE-TYPE (both SYMBOLs). LOCATIVE-TYPE must exist (i.e. be among LOCATIVE-TYPES). For example, let’s define OBJECT as an alias of the CLASS locative:
“‘cl-transcript
(define-locative-alias object class)
“‘
Then, LOCATEing with OBJECT will find the CLASS:
“‘cl-transcript
(dref ’xref ’object)
==> #<DREF XREF CLASS>
“‘
The LOCATIVE-ARGS of OBJECT (none in the above) are passed on to
CLASS.
“‘cl-transcript
(arglist (dref ’object ’locative))
=> (&REST ARGS)
=> :DESTRUCTURING
“‘
Also, see PAX::@LOCATIVE-ALIASES in PAX.
Declare LOCATIVE-TYPE as a [LOCATIVE][locative], which is the
first step in DREF-EXT::@EXTENDING-DREF.
LAMBDA-LIST is a [destructuring lambda list][clhs]. The
LOCATIVE-ARGS of [DREF][class]s with @LOCATIVE-TYPE
LOCATIVE-TYPE (the argument given to this macro) always conform to
this lambda list. See CHECK-LOCATIVE-ARGS.
For example, if have:
“‘
(define-locative-type dummy (x &key y)
"Dummy docstring.")
“‘
then ‘(LOCATE ’DUMMY ’LOCATIVE)‘ refers to this definition. That is, ARGLIST, [DOCSTRING][function] and SOURCE-LOCATION all work on it.
Locative types defined with DEFINE-LOCATIVE-TYPE can be listed with LISP-LOCATIVE-TYPES.
This is like CL:DEFPACKAGE but silences warnings and errors
signalled when the redefined package is at variance with the current
state of the package. Typically this situation occurs when symbols
are exported by calling EXPORT (as is the case with DEFSECTION) as
opposed to adding :EXPORT forms to the DEFPACKAGE form and the
package definition is subsequently reevaluated. See the section on
[package variance](http://www.sbcl.org/manual/#Package-Variance) in
the SBCL manual.
The bottom line is that if you rely on DEFSECTION to do the exporting, then you’d better use DEFINE-PACKAGE.
Like DEFINE-LOCATIVE-TYPE, but declare that LOCATIVE-TYPE does
not correspond to definitions in the Lisp system. Definitions with
pseduo locatives are not listed by default by DEFINITIONS.
Locative types defined with DEFINE-PSEUDO-LOCATIVE-TYPE can be listed with PSEUDO-LOCATIVE-TYPES.
Associate a definition with the name of a restart, which must be a symbol.
LAMBDA-LIST should be what calls like ‘(INVOKE-RESTART ’<SYMBOL>
...)‘ must conform to, but this not enforced.
PAX "defines" standard CL restarts such as USE-VALUE with
DEFINE-RESTART:
“‘cl-transcript (:dynenv dref-std-env)
(first-line (source-location-snippet
(source-location (dref ’use-value ’restart))))
=> "(define-restart use-value (value)"
“‘
Note that while there is a CL:RESTART class, its instances have no docstring or source location.
dref
.
Similar to DEFINE-LOCATIVE-TYPE, but it assumes that all things
LOCATEable with LOCATIVE-TYPE are going to be symbols defined with a
definer defined with DEFINE-DEFINER-FOR-SYMBOL-LOCATIVE-TYPE. Symbol
locatives are for attaching a definition (along with arglist,
documentation and source location) to a symbol in a particular
context. An example will make everything clear:
“‘
(define-symbol-locative-type direction ()
"A direction is a symbol.")
(define-definer-for-symbol-locative-type define-direction direction
"With DEFINE-DIRECTION, one can document what a symbol means when
interpreted as a DIRECTION.")
(define-direction up ()
"UP is equivalent to a coordinate delta of (0, -1).")
“‘
After all this, ‘(DREF ’UP ’DIRECTION)‘ refers to the ‘DEFINE-DIRECTION‘ form above.
Define a documentation section and maybe export referenced symbols.
A bit behind the scenes, a global variable with NAME is defined and
is bound to a [SECTION][class] object. By convention, section names
start with the character ‘@‘. See @INTRODUCTION for an example.
**Entries**
ENTRIES consists of docstrings and references in any order.
Docstrings are arbitrary strings in markdown format.
References are [XREF][class]s given in the form ‘(NAME LOCATIVE)‘.
For example, ‘(FOO FUNCTION)‘ refers to the function ‘FOO‘, ‘(@BAR
SECTION)‘ says that ‘@BAR‘ is a subsection of this
one. ‘(BAZ (METHOD () (T T T)))‘ refers to the default method of the
three argument generic function ‘BAZ‘. ‘(FOO FUNCTION)‘ is
equivalent to ‘(FOO (FUNCTION))‘. See the DRef DREF::@INTRODUCTION
for more.
The same name may occur in multiple references, typically with
different locatives, but this is not required.
The references are not LOCATEd until documentation is generated, so
they may refer to things yet to be defined.
**Exporting**
If EXPORT is true (the default), NAME and the @NAMEs of references
among ENTRIES which are SYMBOLs are candidates for exporting. A
candidate symbol is exported if
- it is [accessible][find-symbol] in PACKAGE, and
- there is a reference to it in the section being defined which is
approved by EXPORTABLE-REFERENCE-P.
See DEFINE-PACKAGE if you use the export feature. The idea with
confounding documentation and exporting is to force documentation of
all exported symbols.
**Misc**
TITLE is a string containing markdown or NIL. If non-NIL, it
determines the text of the heading in the generated output.
LINK-TITLE-TO is a reference given as an ‘(NAME LOCATIVE)‘ pair or
NIL, to which the heading will link when generating HTML. If not
specified, the heading will link to its own anchor.
When DISCARD-DOCUMENTATION-P (defaults to *DISCARD-DOCUMENTATION-P*) is true, ENTRIES will not be recorded to save memory.
Write REFERENCE to STREAM as described in
*DOCUMENT-MARK-UP-SIGNATURES*, and establish REFERENCE as a [local
reference][@LOCAL-REFERENCES] for the processing of BODY.
- REFERENCE defaults to the reference being DOCUMENTed.
- NAME defaults to ‘(XREF-NAME REFERENCE)‘ and is printed after the
LOCATIVE-TYPE.
- *PACKAGE* and *READTABLE* are bound to PACKAGE and READTABLE for
the duration of printing the ARGLIST and the processing of BODY.
If either is NIL, then a default value is computed as described in
@PACKAGE-AND-READTABLE.
- If ARGLIST is NIL, then it is not printed.
- If ARGLIST is a list, then it is must be a [lambda list][clhs] and
is printed without the outermost parens and with the package names
removed from the argument names.
- If ARGLIST is a string, then it must be valid markdown.
- It is not allowed to have WITH-HEADING within the [dynamic extent][clhs] of BODY.
For each name in NAMES, establish a [local reference][@local-references] with the DISLOCATED locative, which [prevents autolinking][@preventing-autolinking].
Write a markdown heading with TITLE to STREAM. Nested WITH-HEADINGs produce nested headings. If *DOCUMENT-LINK-SECTIONS*, generate anchors based on the [definition of][locate] OBJECT. LINK-TITLE-TO behaves like the LINK-TITLE-TO argument of DEFSECTION.
Add the global function denoted by the symbol NAME to the list
of actualizers. Actualizers are functions of a single [DREF][class]
argument. They are called within LOCATE when LOCATE* returns a DREF.
Their job is to make the DREF more specific.
Return the arglist of the definition of OBJECT or NIL if the
arglist cannot be determined.
The second return value indicates whether the arglist has been
found. Furthermore, :ORDINARY indicates an [ordinary lambda
list][clhs], :MACRO a [macro lambda list][clhs], :DEFTYPE a [deftype
lambda list][clhs], and :DESTRUCTURING a [destructuring lambda
list][clhs]. Other non-NIL values are also allowed.
“‘cl-transcript (:dynenv dref-std-env)
(arglist #’arglist)
=> (OBJECT)
=> :ORDINARY
“‘
“‘cl-transcript (:dynenv dref-std-env)
(arglist (dref ’define-locative-type ’macro))
=> (LOCATIVE-TYPE LAMBDA-LIST &BODY DOCSTRING)
=> :MACRO
“‘
“‘cl-transcript (:dynenv dref-std-env)
(arglist (dref ’method ’locative))
=> (METHOD-QUALIFIERS METHOD-SPECIALIZERS)
=> :DESTRUCTURING
“‘
This function supports MACROs, COMPILER-MACROs, SETF functions,
FUNCTIONs, GENERIC-FUNCTIONs, METHODs, TYPES, LOCATIVEs. Note that
ARGLIST depends on the quality of SWANK-BACKEND:ARGLIST. With the
exception of SBCL, which has perfect support, all Lisp
implementations have minor omissions:
- DEFTYPE lambda lists on ABCL, AllegroCL, CLISP, CCL, CMUCL, ECL;
- default values in MACRO lambda lists on AllegroCL; various edge
- cases involving traced functions.
Can be extended via ARGLIST*
Return the docstring from the definition of OBJECT.
As the second value, return the *PACKAGE* that was in effect when
the docstring was installed or NIL if it cannot be determined (this
is used by PAX:DOCUMENT when PAX::@PARSING the docstring). This
function is similar in purpose to CL:DOCUMENTATION.
Note that some locative types such as ASDF:SYSTEMS and DECLARATIONs
have no docstrings, and some Lisp implementations do not record all
docstrings. The following are known to be missing:
- COMPILER-MACRO docstrings on ABCL, AllegroCL, CCL, ECL;
- METHOD-COMBINATION docstrings on ABCL, AllegroCL.
Can be extended via DOCSTRING*.
Shorthand for ‘(LOCATE (XREF NAME LOCATIVE) ERRORP)‘.
Copy ‘mgl-pax.el‘ distributed with this package to TARGET-DIR.
Return the locative types that correspond to Lisp definitions except UNKNOWN. These are the ones defined with DEFINE-LOCATIVE-TYPE.
Return a [DREF][class] representing the definition given by the arguments.
In the same [dynamic environment][clhs], two DREFs denote the same
thing if and only if they are XREF=.
OBJECT must be a supported first-class object, a DREF, or an
[XREF][class]:
“‘cl-transcript (:dynenv dref-std-env)
(locate #’print)
==> #<DREF PRINT FUNCTION>
“‘
“‘cl-transcript (:dynenv dref-std-env)
(locate (locate #’print))
==> #<DREF PRINT FUNCTION>
“‘
“‘cl-transcript (:dynenv dref-std-env)
(locate (xref ’print ’function))
==> #<DREF PRINT FUNCTION>
“‘
LOCATE-ERROR is signalled if OBJECT is an XREF with malformed
LOCATIVE-ARGS, or if no corresponding definition is found. If ERRORP
is NIL, then NIL and the LOCATE-ERROR condition are returned
instead.
“‘cl-transcript (:dynenv dref-std-env)
(locate (xref ’no-such-function ’function))
.. debugger invoked on LOCATE-ERROR:
.. Could not locate NO-SUCH-FUNCTION FUNCTION.
.. NO-SUCH-FUNCTION is not a symbol naming a function.
“‘
“‘cl-transcript (:dynenv dref-std-env)
(locate (xref ’print ’(function xxx)))
.. debugger invoked on LOCATE-ERROR:
.. Could not locate PRINT #’XXX.
.. Bad arguments (XXX) for locative FUNCTION with lambda list NIL.
“‘
“‘cl-transcript (:dynenv dref-std-env)
(locate "xxx")
.. debugger invoked on LOCATE-ERROR:
.. Could not locate "xxx".
“‘
Use the low-level XREF to construct an XREF without error
checking.
Can be extended via LOCATE*.
Call this function to signal a LOCATE-ERROR condition from the
[dynamic extent][clhs] of a LOCATE* method (which includes
DREF*). It is an error to call LOCATE-ERROR elsewhere.
FORMAT-AND-ARGS, if non-NIL, is a format string and arguments suitable for FORMAT.
Return the list of locatives aliases, defined with DEFINE-LOCATIVE-ALIAS.
Return the REST of LOCATIVE (which may be from XREF-LOCATIVE)
if it’s a list. If it’s a symbol, then return NIL. The locative args
should match the LAMBDA-LIST of the LOCATIVE-TYPE’s
[definition][define-locative-type], but this is guaranteed only for
locatives of [DREF][class]s and is not checked for plain
[XREF][class]s.
Return @LOCATIVE-TYPE of LOCATIVE (which may be from XREF-LOCATIVE). This is the first element of LOCATIVE if it’s a list. If it’s a symbol, it’s that symbol itself.
Return a list of non-[alias][locative-aliases] locative types. This is the UNION of LISP-LOCATIVE-TYPES and PSEUDO-LOCATIVE-TYPES.
Return a function suitable as :SOURCE-URI-FN of a page spec (see
the PAGES argument of DOCUMENT). The function looks at the source
location of the object passed to it, and if the location is found,
the path is made relative to the toplevel directory of the git
checkout containing the file of the ASDF-SYSTEM and finally an \URI
pointing to your git forge (such as github) is returned. A warning
is signalled whenever the source location lookup fails or if the
source location points to a directory not below the directory of
ASDF-SYSTEM.
If GIT-FORGE-URI is ‘"https://github.com/melisgl/mgl-pax/"‘ and GIT-VERSION is ‘"master"‘, then the returned \URI may look like this:
https://github.com/melisgl/mgl-pax/blob/master/src/pax-early.lisp#L12
If GIT-VERSION is NIL, then an attempt is made to determine to
current commit id from the ‘.git‘ in the directory holding
ASDF-SYSTEM. If no ‘.git‘ directory is found, then no links to
the git forge will be generated.
URI-FORMAT-STRING is a CL:FORMAT control string for four arguments:
- GIT-FORGE-URI,
- GIT-VERSION,
- the relative path to the file of the source location of the reference,
- and the line number.
The default value of URI-FORMAT-STRING is for github. If using a non-standard git forge, such as Sourcehut or Gitlab, simply pass a suitable URI-FORMAT-STRING matching the \URI scheme of your forge.
This function is a backward-compatibility wrapper around MAKE-GIT-SOURCE-URI-FN, which supersedes MAKE-GITHUB-SOURCE-URI-FN. All arguments are passed on to MAKE-GIT-SOURCE-URI-FN, leaving URI-FORMAT-STRING at its default, which is suitable for github.
Return the locative types that correspond to non-Lisp definitions plus UNKNOWN. These are the ones defined with DEFINE-PSEUDO-LOCATIVE-TYPE.
Register SECTIONS and PAGE-SPECS under NAME (a symbol) in PAX World. By default, UPDATE-PAX-WORLD generates documentation for all of these. SECTIONS and PAGE-SPECS must be lists of SECTIONs and PAGE-SPECs (SEE DOCUMENT) or designators of function of no arguments that return such lists.
Remove the global function denoted by the symbol NAME from the list of actualizers.
If OBJECT is an [XREF][class], then return the first-class object
associated with its definition if any. Return OBJECT if it’s not an
XREF. Thus, the value returned is never an XREF.
“‘cl-transcript (:dynenv dref-std-env)
(resolve (dref ’print ’function))
==> #<FUNCTION PRINT>
“‘
“‘cl-transcript (:dynenv dref-std-env)
(resolve #’print)
==> #<FUNCTION PRINT>
“‘
If OBJECT is an XREF, and the definition for it cannot be LOCATEd,
then signal a LOCATE-ERROR condition.
“‘cl-transcript (:dynenv dref-std-env)
(resolve (xref ’undefined ’variable))
.. debugger invoked on LOCATE-ERROR:
.. Could not locate UNDEFINED VARIABLE.
“‘
If there is a definition, but there is no first-class object
corresponding to it, then signal a RESOLVE-ERROR condition or return
NIL depending on ERRORP:
“‘cl-transcript (:dynenv dref-std-env)
(resolve (dref ’*print-length* ’variable))
.. debugger invoked on RESOLVE-ERROR:
.. Could not resolve *PRINT-LENGTH* VARIABLE.
“‘
“‘cl-transcript (:dynenv dref-std-env)
(resolve (dref ’*print-length* ’variable) nil)
=> NIL
“‘
RESOLVE is a partial inverse of LOCATE: if a [DREF][class] is
RESOLVEable, then LOCATEing the object it resolves to recovers the
DREF equivalent to the original (XREF= and of the same type but not
EQ).
Can be extended via RESOLVE*.
Call this function to signal a RESOLVE-ERROR condition from the
[dynamic extent][clhs] of a RESOLVE* method. It is an error to call
RESOLVE-ERROR elsewhere.
FORMAT-AND-ARGS, if non-NIL, is a format string and arguments suitable for FORMAT.
dref
.
A list of markdown docstrings and [XREF][class]s in the order they occurred in DEFSECTION.
Return the Swank source location for the [defining form][clhs]
of OBJECT. If no source location was found, then either an ERROR
condition is signalled if ERRORP else the [ERROR][condition] is
returned as the second value (with the first being NIL). The
returned Swank location object is to be accessed only through the
DREF-EXT::@SOURCE-LOCATIONS API or to be passed to e.g Slime’s
‘slime-goto-source-location‘.
Note that the availability of source location information varies
greatly across Lisp implementations.
Can be extended via SOURCE-LOCATION*.
A shorthand for ‘(MAKE-INSTANCE ’XREF :NAME NAME :LOCATIVE LOCATIVE)‘. It does no error checking: the LOCATIVE-TYPE of LOCATIVE-TYPE need not be defined, and the LOCATIVE-ARGS need not be valid. Use LOCATE or the DREF function to create [DREF][class] objects.
See if XREF1 and XREF2 have the same XREF-NAME and XREF-LOCATIVE under EQUAL. Comparing like this makes most sense for [DREF][class]s. However, two [XREF][class]s different under XREF= may denote the same [DREF][class]s.
To extend ARGLIST, specialize this on a subclass of
[DREF][class] if that subclass is not RESOLVEable, else on the type
of object it resolves to. This function is for extension only. Do
not call it directly.
To extend DOCSTRING, specialize this on a subclass
of [DREF][class] if that subclass is not RESOLVEable, else on the
type of object it resolves to. This function is for extension only.
Do not call it directly.
Write OBJECT in *FORMAT* to STREAM.
Specialize this on a subclass of [DREF][class] if that subclass is
not RESOLVEable, else on the type of object it resolves to. This
function is for extension only. Don’t call it directly.
LOCATE* calls this for [XREF][class]s which are not
[DREF][class]s.
An EQL-specialized method must be defined for all new locative types. This function is for extending LOCATE. Do not call it directly.
dref
)) ¶The object from which LOCATE constructed this
[DREF][class]. This is an [XREF][class] when the LOCATIVE argument
to LOCATE was non-NIL and the value NAME-OR-OBJECT argument
otherwise. DREF-ORIGIN may have @PRESENTATION arguments, which are
not included in LOCATIVE-ARGS as is the case with INITFORM
argument of the VARIABLE locative:
“‘cl-transcript (:dynenv dref-std-env)
(dref ’*standard-output* ’(variable "see-below"))
==> #<DREF *STANDARD-OUTPUT* VARIABLE>
“‘
“‘cl-transcript (:dynenv dref-std-env)
(dref-origin (dref ’*standard-output* ’(variable "see-below")))
==> #<XREF *STANDARD-OUTPUT* (VARIABLE "see-below")>
“‘
The INITFORM argument overrides the global binding of
*STANDARD-OUTPUT* when it’s PAX:DOCUMENTed:
“‘cl-transcript (:dynenv dref-std-env)
(first-line
(pax:document (dref ’*standard-output* ’(variable "see-below"))
:stream nil))
=> "- [variable] *STANDARD-OUTPUT* \"see-below\""
“‘
Return true iff symbols in references with
LOCATIVE-TYPE are to be exported by default when they occur in a
DEFSECTION. The default method returns T, while the methods for
SECTION, GLOSSARY-TERM, PACKAGE, ASDF:SYSTEM, METHOD and INCLUDE
return NIL.
This function is called by the default method of EXPORTABLE-REFERENCE-P to decide what symbols DEFSECTION shall export when its EXPORT argument is true.
(eql mgl-pax:include)
)) ¶(eql method)
)) ¶(eql package)
)) ¶(eql asdf/system:system)
)) ¶Return true iff SYMBOL is to be exported from
PACKAGE when it occurs in a DEFSECTION in a reference with
LOCATIVE-TYPE and LOCATIVE-ARGS. SYMBOL is [accessible][find-symbol]
in PACKAGE.
The default method calls EXPORTABLE-LOCATIVE-TYPE-P with
LOCATIVE-TYPE and ignores the other arguments.
By default, SECTIONs and GLOSSARY-TERMs are not exported although
they are EXPORTABLE-LOCATIVE-TYPE-P. To export symbols naming
sections from MGL-PAX, the following method could be added:
“‘
(defmethod exportable-reference-p ((package (eql (find-package ’mgl-pax)))
symbol (locative-type (eql ’section))
locative-args)
t)
“‘
(eql mgl-pax:glossary-term)
) locative-args) ¶(eql mgl-pax:section)
) locative-args) ¶glossary-term
)) ¶The name of the global variable whose value is this GLOSSARY-TERM object.
name
.
glossary-term
)) ¶A markdown string or NIL. Used in generated documentation (see @OUTPUT-DETAILS).
glossary-term
)) ¶A string or NIL.
url
.
Return a definition of OBJECT as a [DREF][class],
without [actualizing it][ADD-DREF-ACTUALIZER]. If OBJECT is a DREF
already, then this function simply returns it. If no definition is
found for OBJECT, then LOCATE-ERROR is signalled.
This function is for extending LOCATE. Do not call it directly.
Return the object defined by the definition DREF
refers to. Signal a RESOLVE-ERROR condition by calling the
RESOLVE-ERROR function if the lookup fails.
To keep RESOLVE a partial inverse of LOCATE, a specialized LOCATE*
method or an [actualizer][ add-dref-actualizer] must be defined for
RESOLVEable definitions. This function is for extending RESOLVE. Do
not call it directly.
It is an error for methods of this generic function to return an [XREF][class].
To extend SOURCE-LOCATION, specialize this on a
subclass of [DREF][class] if that subclass is not RESOLVEable, else
on the type of object it resolves to. This function is for extension
only. Do not call it directly.
xref
)) ¶The @LOCATIVE of the reference.
The locative is normalized by replacing single-element lists with
their only element:
“‘cl-transcript (:dynenv dref-std-env)
(xref ’print ’function)
==> #<XREF PRINT FUNCTION>
“‘
“‘cl-transcript (:dynenv dref-std-env)
(xref ’print ’(function))
==> #<XREF PRINT FUNCTION>
“‘
Signalled by LOCATE when the definition cannot be found, and ERRORP is true.
Signalled by RESOLVE when the object defined cannot be returned, and ERRORP is true.
error
.
warning
.
[DREF][class]s can be thought of as referring to
definitions that actually exist, although changes in the system can
invalidate them (for example, a DREF to a function definition can be
invalidated by FMAKUNBOUND).
DREFs must be created with LOCATE, and their purpose is to allow easy specialization of other generic functions (see DREF-EXT::@EXTENDING-DREF) and to confine locative validation to LOCATE.
dref
.
xref
.
The same as XREF-NAME, but only works on [DREF][class]s. Use it as a statement of intent.
This slot is read-only.
The same as XREF-LOCATIVE, but only works on [DREF][class]s. Use it as a statement of intent.
This slot is read-only.
The object from which LOCATE constructed this
[DREF][class]. This is an [XREF][class] when the LOCATIVE argument
to LOCATE was non-NIL and the value NAME-OR-OBJECT argument
otherwise. DREF-ORIGIN may have @PRESENTATION arguments, which are
not included in LOCATIVE-ARGS as is the case with INITFORM
argument of the VARIABLE locative:
“‘cl-transcript (:dynenv dref-std-env)
(dref ’*standard-output* ’(variable "see-below"))
==> #<DREF *STANDARD-OUTPUT* VARIABLE>
“‘
“‘cl-transcript (:dynenv dref-std-env)
(dref-origin (dref ’*standard-output* ’(variable "see-below")))
==> #<XREF *STANDARD-OUTPUT* (VARIABLE "see-below")>
“‘
The INITFORM argument overrides the global binding of
*STANDARD-OUTPUT* when it’s PAX:DOCUMENTed:
“‘cl-transcript (:dynenv dref-std-env)
(first-line
(pax:document (dref ’*standard-output* ’(variable "see-below"))
:stream nil))
=> "- [variable] *STANDARD-OUTPUT* \"see-below\""
“‘
This slot is read-only.
See DEFINE-GLOSSARY-TERM.
The name of the global variable whose value is this GLOSSARY-TERM object.
:name
This slot is read-only.
A markdown string or NIL. Used in generated documentation (see @OUTPUT-DETAILS).
:title
This slot is read-only.
A string or NIL.
:url
This slot is read-only.
:docstring
This slot is read-only.
DEFSECTION stores its NAME, TITLE, [PACKAGE][type], [READTABLE][type] and ENTRIES arguments in [SECTION][class] objects.
The name of the global variable whose value is this SECTION object.
:name
This slot is read-only.
*PACKAGE* will be bound to this package when generating documentation for this section.
common-lisp
.
:package
This slot is read-only.
*READTABLE* will be bound to this when generating documentation for this section.
common-lisp
.
:readtable
This slot is read-only.
A markdown string or NIL. Used in generated documentation.
:title
This slot is read-only.
:link-title-to
:entries
An XREF (cross-reference) may represent some
kind of definition of its @NAME in the context given by its
@LOCATIVE. The definition may not exist and the locative may be
[malformed] [define-locative-type]. The subclass [DREF][class]
represents definitions that exist.
dref
.
dref
.
The @NAME of the reference.
:name
This slot is read-only.
The @LOCATIVE of the reference.
The locative is normalized by replacing single-element lists with
their only element:
“‘cl-transcript (:dynenv dref-std-env)
(xref ’print ’function)
==> #<XREF PRINT FUNCTION>
“‘
“‘cl-transcript (:dynenv dref-std-env)
(xref ’print ’(function))
==> #<XREF PRINT FUNCTION>
“‘
:locative
This slot is read-only.
dref
.
glossary-term
)) ¶automatically generated reader method
dref
.
locate-error
)) ¶dref
.
locate-error
)) ¶Call FN with [DREF][class]s which have the given
NAME and LOCATIVE-TYPE. For most locative types, there is at most
one definition, but for METHOD, for example, there may be many. The
default method simply does ‘(DREF NAME LOCATIVE-TYPE NIL)‘ and calls
FN with result if [DREF][function] succeeds.
This function is for extending DEFINITIONS. Do not call it directly.
Call FN with @NAMEs that form a [DREF][class] with
some locative with LOCATIVE-TYPE. The default method tries to form
DREFs by combining each interned symbol with LOCATIVE-TYPE and no
LOCATIVE-ARGS.
This function is for extending DREF-APROPOS. Do not call it directly.
dref
.
resolve-error
)) ¶dref
.
resolve-error
)) ¶Jump to: | %
A C D E F G H I L M N P R S T U V W X |
---|
Jump to: | %
A C D E F G H I L M N P R S T U V W X |
---|
Jump to: | %
*
@
D E L M N O P R S T U |
---|
Jump to: | %
*
@
D E L M N O P R S T U |
---|
Jump to: | A B C D E F G L M N P R S T U W X |
---|
Jump to: | A B C D E F G L M N P R S T U W X |
---|