SB-INTROSPECT
SB-INTROSPECT
properties
ID: SB-INTROSPECT
- shadowed symbols
- VALID-FUNCTION-NAME-P
- dependencies
- dependents
FUNCTION-TYPE  compiled function
properties
ID: SB-INTROSPECT:FUNCTION-TYPE
ALLOC: HEAP DYNAMIC
FUNCTION-TYPE names a compiled function:
Lambda-list: (FUNCTION-DESIGNATOR)
Derived type: (FUNCTION (T) *)
Documentation:
Returns the ftype of FUNCTION-DESIGNATOR or NIL.
Source file: SYS:CONTRIB;SB-INTROSPECT;INTROSPECT.LISP.NEWEST
- Called by
- SB-INTROSPECT:FUNCTION-TYPE
definitions
- SYS:CONTRIB;SB-INTROSPECT;INTROSPECT.LISP.NEWEST
DEFINITION-SOURCE-PLIST  compiled function
properties
ID: SB-INTROSPECT:DEFINITION-SOURCE-PLIST
ALLOC: HEAP DYNAMIC
DEFINITION-SOURCE-PLIST names a compiled function:
An accessor for SB-INTROSPECT:DEFINITION-SOURCE
Lambda-list: (INSTANCE)
Derived type: (FUNCTION (SB-INTROSPECT:DEFINITION-SOURCE)
(VALUES T &OPTIONAL))
Documentation:
The SOURCE-PLIST from WITH-COMPILATION-UNIT in effect
when the file was compiled.
Source file: SYS:CONTRIB;SB-INTROSPECT;INTROSPECT.LISP.NEWEST
(SETF DEFINITION-SOURCE-PLIST) names a compiled function:
An accessor for SB-INTROSPECT:DEFINITION-SOURCE
Lambda-list: (VALUE INSTANCE)
Derived type: (FUNCTION (T SB-INTROSPECT:DEFINITION-SOURCE)
(VALUES T &OPTIONAL))
Source file: SYS:CONTRIB;SB-INTROSPECT;INTROSPECT.LISP.NEWEST
- Called by
- SWANK/SBCL::DEFINITION-SOURCE-BUFFER-LOCATION
- SWANK/SBCL::CATEGORIZE-DEFINITION-SOURCE
definitions
- SYS:CONTRIB;SB-INTROSPECT;INTROSPECT.LISP.NEWEST
WHO-MACROEXPANDS  compiled function
properties
ID: SB-INTROSPECT:WHO-MACROEXPANDS
ALLOC: HEAP DYNAMIC
WHO-MACROEXPANDS names a compiled function:
Lambda-list: (MACRO-NAME)
Derived type: (FUNCTION (T) *)
Documentation:
Find the source locations where the macro MACRO-NAME is expanded, and
return them as an alist of function or macro name, DEFINITION-SOURCE
pairs.
Source file: SYS:CONTRIB;SB-INTROSPECT;INTROSPECT.LISP.NEWEST
- Called by
- (PUBLISH (SYMBOL-DOCUMENTATION))
- (WHO-MACROEXPANDS IN /home/ellis/src/core/lib/swank/sbcl.lisp)
definitions
- SYS:CONTRIB;SB-INTROSPECT;INTROSPECT.LISP.NEWEST
FUNCTION-LAMBDA-LIST  compiled function
properties
ID: SB-INTROSPECT:FUNCTION-LAMBDA-LIST
ALLOC: HEAP DYNAMIC
FUNCTION-LAMBDA-LIST names a compiled function:
Lambda-list: (FUNCTION)
Derived type: (FUNCTION (T) *)
Documentation:
Return the lambda list of FUNCTION.
FUNCTION must be a function object or a function name in the sense of
VALID-FUNCTION-NAME-P. Works for special operators, macros, simple
functions, interpreted functions, and generic functions.
The second return value indicates whether the lambda list could not be
determined (e.g. because the function was compiled with DEBUG 0).
Source file: SYS:CONTRIB;SB-INTROSPECT;INTROSPECT.LISP.NEWEST
- Called by
- FUNCTION-LAMBDA-LIST
- SB-INTROSPECT:FUNCTION-ARGLIST
- (PRINT-USAGE (COMMAND))
- OBJ/CMD::COMMAND-ARG-LIST
- (COMPUTE-ENRICHED-DECODED-ARGLIST ((EQL INST) T))
- SWANK::SYMBOL-INDENTATION
- SWANK::INSPECT-FUNCTION
- SWANK::INSPECT-TYPE-SPECIFIER
- (ARGLIST-DISPATCH ((EQL DEFINE-COMPILER-MACRO) T))
- (COMPUTE-ENRICHED-DECODED-ARGLIST (T T))
- SWANK:DOCUMENTATION-SYMBOL
- SWANK:OPERATOR-ARGLIST
definitions
- SYS:CONTRIB;SB-INTROSPECT;INTROSPECT.LISP.NEWEST
WHO-SPECIALIZES-DIRECTLY  compiled function
properties
ID: SB-INTROSPECT:WHO-SPECIALIZES-DIRECTLY
ALLOC: HEAP DYNAMIC
WHO-SPECIALIZES-DIRECTLY names a compiled function:
Lambda-list: (CLASS-DESIGNATOR)
Derived type: (FUNCTION (T) (VALUES SEQUENCE &OPTIONAL))
Documentation:
Find the source locations of methods directly specializing on
CLASS-DESIGNATOR, and return them as an alist of generic function
name, DEFINITION-SOURCE pairs.
A method matches the criterion either if it specializes on the same
class as CLASS-DESIGNATOR designates, or if it eql-specializes on an
instance of the designated class.
Experimental.
Source file: SYS:CONTRIB;SB-INTROSPECT;INTROSPECT.LISP.NEWEST
- Called by
- (WHO-SPECIALIZES IN /home/ellis/src/core/lib/swank/sbcl.lisp)
definitions
- SYS:CONTRIB;SB-INTROSPECT;INTROSPECT.LISP.NEWEST
DEFINITION-SOURCE-CHARACTER-OFFSET  compiled function
properties
ID: SB-INTROSPECT:DEFINITION-SOURCE-CHARACTER-OFFSET
ALLOC: HEAP DYNAMIC
DEFINITION-SOURCE-CHARACTER-OFFSET names a compiled function:
An accessor for SB-INTROSPECT:DEFINITION-SOURCE
Lambda-list: (INSTANCE)
Derived type: (FUNCTION (SB-INTROSPECT:DEFINITION-SOURCE)
(VALUES (OR UNSIGNED-BYTE NULL) &OPTIONAL))
Documentation:
Character offset of the top-level form containing
the sexp.
Source file: SYS:CONTRIB;SB-INTROSPECT;INTROSPECT.LISP.NEWEST
(SETF DEFINITION-SOURCE-CHARACTER-OFFSET) names a compiled function:
An accessor for SB-INTROSPECT:DEFINITION-SOURCE
Lambda-list: (VALUE INSTANCE)
Derived type: (FUNCTION
((OR UNSIGNED-BYTE NULL) SB-INTROSPECT:DEFINITION-SOURCE)
(VALUES (OR UNSIGNED-BYTE NULL) &OPTIONAL))
Source file: SYS:CONTRIB;SB-INTROSPECT;INTROSPECT.LISP.NEWEST
- Called by
- DEFINITION-SOURCE-LINE-NUMBER
- SWANK/SBCL::DEFINITION-SOURCE-FILE-LOCATION
- SWANK/SBCL::DEFINITION-SOURCE-BUFFER-LOCATION
- SWANK/SBCL::CATEGORIZE-DEFINITION-SOURCE
definitions
- SYS:CONTRIB;SB-INTROSPECT;INTROSPECT.LISP.NEWEST
DEFINITION-SOURCE-FORM-NUMBER  compiled function
properties
ID: SB-INTROSPECT:DEFINITION-SOURCE-FORM-NUMBER
ALLOC: HEAP DYNAMIC
DEFINITION-SOURCE-FORM-NUMBER names a compiled function:
An accessor for SB-INTROSPECT:DEFINITION-SOURCE
Lambda-list: (INSTANCE)
Derived type: (FUNCTION (SB-INTROSPECT:DEFINITION-SOURCE)
(VALUES (OR UNSIGNED-BYTE NULL) &OPTIONAL))
Documentation:
Depth-first index of the sexp within the top-level
form identified by the first element of DEFINITION-SOURCE-FORM-PATH.
That is, this is the index of the sexp in the list of subexpressions
of the top-level form ordered according to depth-first traversal. 0
corresponds to the top-level form itself.
When combined with the index of the top-level form (given by the first
element of DEFINITION-SOURCE-FORM-PATH), the form number allows
reconstruction of the rest of the form path, which may be missing.
This requires parsing the source file. Currently, this job is
delegated to e.g. SLIME.
Source file: SYS:CONTRIB;SB-INTROSPECT;INTROSPECT.LISP.NEWEST
(SETF DEFINITION-SOURCE-FORM-NUMBER) names a compiled function:
An accessor for SB-INTROSPECT:DEFINITION-SOURCE
Lambda-list: (VALUE INSTANCE)
Derived type: (FUNCTION
((OR UNSIGNED-BYTE NULL) SB-INTROSPECT:DEFINITION-SOURCE)
(VALUES (OR UNSIGNED-BYTE NULL) &OPTIONAL))
Source file: SYS:CONTRIB;SB-INTROSPECT;INTROSPECT.LISP.NEWEST
- Called by
- SWANK/SBCL::DEFINITION-SOURCE-FILE-LOCATION
- SWANK/SBCL::DEFINITION-SOURCE-BUFFER-LOCATION
- SWANK/SBCL::FORM-NUMBER-POSITION
definitions
- SYS:CONTRIB;SB-INTROSPECT;INTROSPECT.LISP.NEWEST
WHO-SETS  compiled function
properties
ID: SB-INTROSPECT:WHO-SETS
ALLOC: HEAP DYNAMIC
WHO-SETS names a compiled function:
Lambda-list: (SYMBOL)
Derived type: (FUNCTION (T) *)
Documentation:
Find the source locations where the special variable SYMBOL is set,
and return them as an alist of function or macro name,
DEFINITION-SOURCE pairs.
Source file: SYS:CONTRIB;SB-INTROSPECT;INTROSPECT.LISP.NEWEST
- Called by
- (PUBLISH (SYMBOL-DOCUMENTATION))
- (WHO-SETS IN /home/ellis/src/core/lib/swank/sbcl.lisp)
definitions
- SYS:CONTRIB;SB-INTROSPECT;INTROSPECT.LISP.NEWEST
WHO-CALLS  compiled function
properties
ID: SB-INTROSPECT:WHO-CALLS
ALLOC: HEAP DYNAMIC
WHO-CALLS names a compiled function:
Lambda-list: (FUNCTION-NAME)
Derived type: (FUNCTION (T) *)
Documentation:
Find the source locations where the global function FUNCTION-NAME is
called, and return them as an alist of function or macro name,
DEFINITION-SOURCE pairs.
Source file: SYS:CONTRIB;SB-INTROSPECT;INTROSPECT.LISP.NEWEST
- Called by
- (PUBLISH (SYMBOL-DOCUMENTATION))
- (WHO-CALLS IN /home/ellis/src/core/lib/swank/sbcl.lisp)
definitions
- SYS:CONTRIB;SB-INTROSPECT;INTROSPECT.LISP.NEWEST
FIND-DEFINITION-SOURCES-BY-NAME  compiled function
properties
ID: SB-INTROSPECT:FIND-DEFINITION-SOURCES-BY-NAME
ALLOC: HEAP DYNAMIC
FIND-DEFINITION-SOURCES-BY-NAME names a compiled function:
Lambda-list: (NAME TYPE)
Derived type: (FUNCTION (T T) (VALUES LIST &OPTIONAL))
Documentation:
Returns a list of DEFINITION-SOURCEs for definitions of NAME with
the given definition TYPE. A DEFINITION-SOURCE object is always
returned for definitions that exist, but the source location (e.g.
DEFINITION-SOURCE-PATHNAME) may be missing. TYPE can currently be one
of the following.
- Public definition types:
:CLASS
:COMPILER-MACRO
:CONDITION
:CONSTANT
:FUNCTION
:GENERIC-FUNCTION
:MACRO
:METHOD
:METHOD-COMBINATION
:PACKAGE
:SETF-EXPANDER
:STRUCTURE
:SYMBOL-MACRO
:TYPE
:ALIEN-TYPE
:ALIEN-CALLBACK
:VARIABLE
:DECLARATION
- Internal definition types:
:OPTIMIZER
:SOURCE-TRANSFORM
:TRANSFORM
:VOP
:IR1-CONVERT
Definition types are disjoint. For example, :TYPE refers to DEFTYPEs
but not CLASSes or SB-ALIEN:DEFINE-ALIEN-TYPE, as those are of
definition type :CLASS and :ALIEN-TYPE, respectively. :FUNCTION does
not include :GENERIC-FUNCTION, :CLASS does not include :STRUCTURE,
etc. :VARIABLE refers to non-constant dynamic variables (e.g. those
defined with DEFVAR, DEFPARAMETER, SB-EXT:DEFGLOBAL or
SB-ALIEN:DEFINE-ALIEN-VARIABLE but not with DEFCONSTANT).
Valid NAMEs are generally SYMBOLs with the following exceptions:
- For :COMPILER-MACRO, :FUNCTION, :GENERIC-FUNCTION and :METHOD,
anything that's VALID-FUNCTION-NAME-P is valid.
- For :PACKAGE, string designators are valid.
If an unsupported TYPE is requested or NAME is invalid, this function
returns NIL.
Source file: SYS:CONTRIB;SB-INTROSPECT;INTROSPECT.LISP.NEWEST
- Called by
- SB-INTROSPECT:FIND-DEFINITION-SOURCE
- SB-INTROSPECT:FIND-DEFINITION-SOURCES-BY-NAME
- DOC::FIND-DEFINITION-SPECS
- FIND-DEFINITIONS
- (FIND-DEFINITIONS IN /home/ellis/src/core/lib/swank/sbcl.lisp)
definitions
- SYS:CONTRIB;SB-INTROSPECT;INTROSPECT.LISP.NEWEST
ALLOCATION-INFORMATION  compiled function
properties
ID: SB-INTROSPECT:ALLOCATION-INFORMATION
ALLOC: HEAP DYNAMIC
ALLOCATION-INFORMATION names a compiled function:
Lambda-list: (OBJECT)
Derived type: (FUNCTION (T)
(VALUES (MEMBER :HEAP :STACK :FOREIGN :IMMEDIATE) &OPTIONAL
(OR LIST SB-THREAD:THREAD)))
Documentation:
Returns information about the allocation of OBJECT. The primary return
value indicates the general type of allocation: :IMMEDIATE, :HEAP,
:STACK, or :FOREIGN.
Non-NIL secondary return values provide additional information about
the allocation.
For :HEAP objects the secondary value is a plist:
:SPACE
Indicates the heap segment the object is allocated in.
:GENERATION
The current generation of the object: 0 for nursery, 6 for pseudo-static
generation loaded from core. (GENCGC and :SPACE :DYNAMIC only.)
:LARGE
Indicates a "large" object subject to non-copying
promotion. (GENCGC and :SPACE :DYNAMIC only.)
:BOXED
Indicates that the object is allocated in a boxed region. Unboxed
allocation is used for e.g. specialized arrays after they have survivedone
collection. (GENCGC and :SPACE :DYNAMIC only.)
:PINNED
Indicates that the page(s) on which the object resides are kept livedue
to conservative references. Note that object may reside on a pinnedpage
even if :PINNED is NIL if the GC has not had the need to mark the page
as pinned. (GENCGC and :SPACE :DYNAMIC only.)
:WRITE-PROTECTED
Indicates that the page on which the object starts is write-protected,
which indicates for :BOXED objects that it hasn't been written to since
the last GC of its generation. (GENCGC and :SPACE :DYNAMIC only.)
:PAGE
The index of the page the object resides on. (GENCGCand :SPACE :DYNAMIC
only.)
For :STACK objects, the secondary value is the thread on whose stack
the object is allocated.
Expected use-cases include introspection to gain insight into allocationand
GC behaviour and restricting memoization to heap-allocated arguments.
Experimental: interface subject to change.
Source file: SYS:CONTRIB;SB-INTROSPECT;INTROSPECT.LISP.NEWEST
- Called by
definitions
- SYS:CONTRIB;SB-INTROSPECT;INTROSPECT.LISP.NEWEST
DEFINITION-SOURCE-FILE-WRITE-DATE  compiled function
properties
ID: SB-INTROSPECT:DEFINITION-SOURCE-FILE-WRITE-DATE
ALLOC: HEAP DYNAMIC
DEFINITION-SOURCE-FILE-WRITE-DATE names a compiled function:
An accessor for SB-INTROSPECT:DEFINITION-SOURCE
Lambda-list: (INSTANCE)
Derived type: (FUNCTION (SB-INTROSPECT:DEFINITION-SOURCE)
(VALUES (OR UNSIGNED-BYTE NULL) &OPTIONAL))
Documentation:
FILE-WRITE-DATE of DEFINITION-SOURCE-PATHNAME at
the time of compilation. NIL if not compiled from a file.
Source file: SYS:CONTRIB;SB-INTROSPECT;INTROSPECT.LISP.NEWEST
(SETF DEFINITION-SOURCE-FILE-WRITE-DATE) names a compiled function:
An accessor for SB-INTROSPECT:DEFINITION-SOURCE
Lambda-list: (VALUE INSTANCE)
Derived type: (FUNCTION
((OR UNSIGNED-BYTE NULL) SB-INTROSPECT:DEFINITION-SOURCE)
(VALUES (OR UNSIGNED-BYTE NULL) &OPTIONAL))
Source file: SYS:CONTRIB;SB-INTROSPECT;INTROSPECT.LISP.NEWEST
- Called by
- SWANK/SBCL::DEFINITION-SOURCE-FILE-LOCATION
- SWANK/SBCL::FILE-FORM-NUMBER-POSITION
definitions
- SYS:CONTRIB;SB-INTROSPECT;INTROSPECT.LISP.NEWEST
FIND-DEFINITION-SOURCE  compiled function
properties
ID: SB-INTROSPECT:FIND-DEFINITION-SOURCE
ALLOC: HEAP DYNAMIC
FIND-DEFINITION-SOURCE names a compiled function:
Lambda-list: (OBJECT)
Derived type: (FUNCTION (T) *)
Documentation:
Return the DEFINITION-SOURCE corresponding to the definition of OBJECT
or NIL if there is no corresponding definition. OBJECT must be a
PACKAGE, FUNCTION, METHOD, METHOD-COMBINATION, SB-MOP:SLOT-DEFINITION,
STANDARD-OBJECT, STRUCTURE-OBJECT, CONDITION, CLASS, STRUCTURE-CLASS,
or a subclass of CONDITION. An error is signalled for other types.
A DEFINITION-SOURCE object is always returned for definitions that
exist, but the source location (e.g. DEFINITION-SOURCE-PATHNAME) may
be missing.
For definitions that do not define an object (e.g. DEFVAR), use
FIND-DEFINITION-SOURCES-BY-NAME.
Source file: SYS:CONTRIB;SB-INTROSPECT;INTROSPECT.LISP.NEWEST
- Called by
- SB-INTROSPECT:WHO-SPECIALIZES-GENERALLY
- SB-INTROSPECT:WHO-SPECIALIZES-DIRECTLY
- SB-INTROSPECT:FIND-DEFINITION-SOURCE
- SB-INTROSPECT:FIND-DEFINITION-SOURCES-BY-NAME
- SWANK/SBCL::FUNCTION-SOURCE-LOCATION
- (FIND-SOURCE-LOCATION IN /home/ellis/src/core/lib/swank/sbcl.lisp)
definitions
- SYS:CONTRIB;SB-INTROSPECT;INTROSPECT.LISP.NEWEST
WHO-REFERENCES  compiled function
properties
ID: SB-INTROSPECT:WHO-REFERENCES
ALLOC: HEAP DYNAMIC
WHO-REFERENCES names a compiled function:
Lambda-list: (SYMBOL)
Derived type: (FUNCTION (T) *)
Documentation:
Find the source locations where the special variable SYMBOL is read,
and return them as an alist of function or macro name,
DEFINITION-SOURCE pairs.
Source file: SYS:CONTRIB;SB-INTROSPECT;INTROSPECT.LISP.NEWEST
- Called by
- (PUBLISH (SYMBOL-DOCUMENTATION))
- (WHO-REFERENCES IN /home/ellis/src/core/lib/swank/sbcl.lisp)
definitions
- SYS:CONTRIB;SB-INTROSPECT;INTROSPECT.LISP.NEWEST
FIND-FUNCTION-CALLERS  compiled function
properties
ID: SB-INTROSPECT:FIND-FUNCTION-CALLERS
ALLOC: HEAP DYNAMIC
FIND-FUNCTION-CALLERS names a compiled function:
Lambda-list: (FUNCTION &OPTIONAL (SPACES (QUOTE (ALL))))
Derived type: (FUNCTION (T &OPTIONAL T) (VALUES LIST &OPTIONAL))
Documentation:
List functions that call FUNCTION by searching SPACES for code objects.
This can make previously garbage objects live.
SPACES should be a list of the symbols :DYNAMIC, :STATIC, :READ-ONLY,
or :IMMOBILE on #+IMMOBILE-SPACE. The shorthand (:ALL) is also
accepted.
Source file: SYS:CONTRIB;SB-INTROSPECT;INTROSPECT.LISP.NEWEST
- Called by
- (LIST-CALLERS IN /home/ellis/src/core/lib/swank/sbcl.lisp)
definitions
- SYS:CONTRIB;SB-INTROSPECT;INTROSPECT.LISP.NEWEST
WHO-SPECIALIZES-GENERALLY  compiled function
properties
ID: SB-INTROSPECT:WHO-SPECIALIZES-GENERALLY
ALLOC: HEAP DYNAMIC
WHO-SPECIALIZES-GENERALLY names a compiled function:
Lambda-list: (CLASS-DESIGNATOR)
Derived type: (FUNCTION (T) (VALUES SEQUENCE &OPTIONAL))
Documentation:
Find the source locations of methods specializing on
CLASS-DESIGNATOR or a subclass of it, and return them as an alist of
generic function name, DEFINITION-SOURCE pairs.
DEFINITION-SOURCE-DESCRIPTION identifies the method.
A method matches the criterion either if it specializes on the
designated class itself or a subclass of it (this includes CLASS-EQ
specializers), or if it eql-specializes on an instance of the
designated class or a subclass of it.
Experimental.
Source file: SYS:CONTRIB;SB-INTROSPECT;INTROSPECT.LISP.NEWEST
definitions
- SYS:CONTRIB;SB-INTROSPECT;INTROSPECT.LISP.NEWEST
WHO-BINDS  compiled function
properties
ID: SB-INTROSPECT:WHO-BINDS
ALLOC: HEAP DYNAMIC
WHO-BINDS names a compiled function:
Lambda-list: (SYMBOL)
Derived type: (FUNCTION (T) *)
Documentation:
Find the source locations where the special variable SYMBOL is bound,
and return them as an alist of function or macro name,
DEFINITION-SOURCE pairs.
Source file: SYS:CONTRIB;SB-INTROSPECT;INTROSPECT.LISP.NEWEST
- Called by
- (PUBLISH (SYMBOL-DOCUMENTATION))
- (WHO-BINDS IN /home/ellis/src/core/lib/swank/sbcl.lisp)
definitions
- SYS:CONTRIB;SB-INTROSPECT;INTROSPECT.LISP.NEWEST
DEFINITION-SOURCE-FORM-PATH  compiled function
properties
ID: SB-INTROSPECT:DEFINITION-SOURCE-FORM-PATH
ALLOC: HEAP DYNAMIC
DEFINITION-SOURCE-FORM-PATH names a compiled function:
An accessor for SB-INTROSPECT:DEFINITION-SOURCE
Lambda-list: (INSTANCE)
Derived type: (FUNCTION (SB-INTROSPECT:DEFINITION-SOURCE)
(VALUES LIST &OPTIONAL))
Documentation:
List of indices that identify the sexp in the
file given by DEFINITION-SOURCE-PATHNAME. The first element in the
list is the index of the top-level form that contains the sexp. If the
file was compiled at a high enough debug level, then the rest of the
elements recursively index into the list structure of the top-level
form.
Thus, the form path is somewhat stable regarding edits in the file,
but it gets invalidated by, for example, inserting a new top-level
form before the sexp in question.
Source file: SYS:CONTRIB;SB-INTROSPECT;INTROSPECT.LISP.NEWEST
(SETF DEFINITION-SOURCE-FORM-PATH) names a compiled function:
An accessor for SB-INTROSPECT:DEFINITION-SOURCE
Lambda-list: (VALUE INSTANCE)
Derived type: (FUNCTION (LIST SB-INTROSPECT:DEFINITION-SOURCE)
(VALUES LIST &OPTIONAL))
Source file: SYS:CONTRIB;SB-INTROSPECT;INTROSPECT.LISP.NEWEST
- Called by
- SWANK/SBCL::DEFINITION-SOURCE-FILE-LOCATION
- SWANK/SBCL::DEFINITION-SOURCE-BUFFER-LOCATION
- SWANK/SBCL::FORM-NUMBER-POSITION
- SWANK/SBCL::CATEGORIZE-DEFINITION-SOURCE
definitions
- SYS:CONTRIB;SB-INTROSPECT;INTROSPECT.LISP.NEWEST
DEFINITION-SOURCE  class
properties
ID: SB-INTROSPECT:DEFINITION-SOURCE
ALLOC: HEAP DYNAMIC
DEFINITION-SOURCE names the structure-class #<STRUCTURE-CLASS SB-INTROSPECT:DEFINITION-SOURCE>:
Documentation:
This structure identifies a sexp in a compiled file.
Despite the name, the source location may not correspond to a
definition but to e.g. a function call (see WHO-CALLS).
Class precedence-list: SB-INTROSPECT:DEFINITION-SOURCE, STRUCTURE-OBJECT,
SB-PCL::SLOT-OBJECT, T
Direct superclasses: STRUCTURE-OBJECT
No subclasses.
Slots:
PATHNAME
Type: (OR NULL PATHNAME)
Initform: NIL
SB-INTROSPECT::FORM-PATH
Type: LIST
Initform: 'NIL
SB-INTROSPECT::FORM-NUMBER
Type: (OR NULL UNSIGNED-BYTE)
Initform: NIL
SB-INTROSPECT::CHARACTER-OFFSET
Type: (OR NULL UNSIGNED-BYTE)
Initform: NIL
FILE-WRITE-DATE
Type: (OR NULL UNSIGNED-BYTE)
Initform: NIL
SB-INTROSPECT::PLIST
Type: T
Initform: NIL
SB-INTROSPECT::DESCRIPTION
Type: LIST
Initform: NIL
definitions
- SYS:CONTRIB;SB-INTROSPECT;INTROSPECT.LISP.NEWEST
DEFTYPE-LAMBDA-LIST  compiled function
properties
ID: SB-INTROSPECT:DEFTYPE-LAMBDA-LIST
ALLOC: HEAP DYNAMIC
DEFTYPE-LAMBDA-LIST names a compiled function:
Lambda-list: (TYPE-SPECIFIER-NAME)
Derived type: (FUNCTION (T) (VALUES T BOOLEAN &OPTIONAL))
Documentation:
Returns the lambda list of TYPE-SPECIFIER-NAME as the first return
value, and a flag whether the arglist could be found as the second
value.
TYPE-SPECIFIER-NAME must be a symbol. This function can find the
lambda list of derived type specifiers (e.g. those defined with
DEFTYPE) and classes with compound type specifier syntaxes (e.g. the
class FLOAT). It returns NIL, NIL for other type specifiers (e.g. AND,
OR, NOT) and types (e.g. LIST).
Source file: SYS:CONTRIB;SB-INTROSPECT;INTROSPECT.LISP.NEWEST
- Called by
- (TYPE-SPECIFIER-ARGLIST AROUND (T))
definitions
- SYS:CONTRIB;SB-INTROSPECT;INTROSPECT.LISP.NEWEST
VALID-FUNCTION-NAME-P  compiled function
properties
ID: SB-INTROSPECT:VALID-FUNCTION-NAME-P
ALLOC: HEAP DYNAMIC
VALID-FUNCTION-NAME-P names a compiled function:
Lambda-list: (NAME)
Derived type: (FUNCTION (T) (VALUES BOOLEAN &OPTIONAL))
Documentation:
See if NAME is a valid function name. In addition to the ANSI
definition of function name, which is symbols plus lists like (SETF
SYMBOL), SBCL allows (SB-EXT:CAS SYMBOL) and various internal
constructs.
Source file: SYS:CONTRIB;SB-INTROSPECT;INTROSPECT.LISP.NEWEST
- Called by
- FUNCTION-LAMBDA-LIST
- SB-INTROSPECT:FIND-DEFINITION-SOURCES-BY-NAME
definitions
- SYS:CONTRIB;SB-INTROSPECT;INTROSPECT.LISP.NEWEST
METHOD-COMBINATION-LAMBDA-LIST  compiled function
properties
ID: SB-INTROSPECT:METHOD-COMBINATION-LAMBDA-LIST
ALLOC: HEAP DYNAMIC
METHOD-COMBINATION-LAMBDA-LIST names a compiled function:
Lambda-list: (METHOD-COMBINATION)
Derived type: (FUNCTION (T) (VALUES LIST &OPTIONAL))
Documentation:
Return the lambda list of the METHOD-COMBINATION designator.
METHOD-COMBINATION can be a method combination object,
or a method combination name.
Source file: SYS:CONTRIB;SB-INTROSPECT;INTROSPECT.LISP.NEWEST
definitions
- SYS:CONTRIB;SB-INTROSPECT;INTROSPECT.LISP.NEWEST
FIND-FUNCTION-CALLEES  compiled function
properties
ID: SB-INTROSPECT:FIND-FUNCTION-CALLEES
ALLOC: HEAP DYNAMIC
FIND-FUNCTION-CALLEES names a compiled function:
Lambda-list: (FUNCTION)
Derived type: (FUNCTION (T) (VALUES LIST &OPTIONAL))
Documentation:
Return functions called by FUNCTION.
Source file: SYS:CONTRIB;SB-INTROSPECT;INTROSPECT.LISP.NEWEST
- Called by
- SB-INTROSPECT:FIND-FUNCTION-CALLEES
- (LIST-CALLEES IN /home/ellis/src/core/lib/swank/sbcl.lisp)
definitions
- SYS:CONTRIB;SB-INTROSPECT;INTROSPECT.LISP.NEWEST
MAP-ROOT  compiled function
properties
ID: SB-INTROSPECT:MAP-ROOT
ALLOC: HEAP DYNAMIC
MAP-ROOT names a compiled function:
Lambda-list: (FUNCTION OBJECT &KEY SIMPLE (EXT T))
Derived type: (FUNCTION (T T &KEY (:SIMPLE T) (:EXT T)) (VALUES T &OPTIONAL))
Documentation:
Call FUNCTION with all non-immediate objects pointed to by OBJECT.
Returns OBJECT.
If SIMPLE is true (default is NIL), elides those pointers that are not
notionally part of certain built-in objects but backpointers to a
conceptual parent: e.g. elides the pointer from a SYMBOL to the
corresponding PACKAGE.
If EXT is true (default is T), includes some pointers that are not
actually contained in the object but found in certain well-known
indirect containers: FDEFINITIONs, EQL specializers, classes, and
thread-local symbol values in other threads fall into this category.
> _Note_: calling MAP-ROOT with a THREAD does not currently map over
> conservative roots from the thread registers and interrupt contexts.
Experimental: interface subject to change.
Source file: SYS:CONTRIB;SB-INTROSPECT;INTROSPECT.LISP.NEWEST
definitions
- SYS:CONTRIB;SB-INTROSPECT;INTROSPECT.LISP.NEWEST
FUNCTION-ARGLIST  compiled function
properties
ID: SB-INTROSPECT:FUNCTION-ARGLIST
ALLOC: HEAP DYNAMIC
FUNCTION-ARGLIST names a compiled function:
In LATE deprecation since SBCL version 1.0.24.5. Use SB-INTROSPECT:FUNCTION-LAMBDA-LIST instead.
Lambda-list: (FUNCTION)
Derived type: (FUNCTION (T) *)
Documentation:
The function SB-INTROSPECT:FUNCTION-ARGLIST has been deprecated as of SBCLversion 1.0.24.5.
Use SB-INTROSPECT:FUNCTION-LAMBDA-LIST instead.
Source file: SYS:CONTRIB;SB-INTROSPECT;INTROSPECT.LISP.NEWEST
definitions
- SYS:CONTRIB;SB-INTROSPECT;INTROSPECT.LISP.NEWEST
- SYS:CONTRIB;SB-INTROSPECT;INTROSPECT.LISP.NEWEST
- (DEPRECATED FUNCTION)
DEFINITION-SOURCE-PATHNAME  compiled function
properties
ID: SB-INTROSPECT:DEFINITION-SOURCE-PATHNAME
ALLOC: HEAP DYNAMIC
DEFINITION-SOURCE-PATHNAME names a compiled function:
An accessor for SB-INTROSPECT:DEFINITION-SOURCE
Lambda-list: (INSTANCE)
Derived type: (FUNCTION (SB-INTROSPECT:DEFINITION-SOURCE)
(VALUES (OR PATHNAME NULL) &OPTIONAL))
Documentation:
Pathname of the source file.
This is NIL if the source location is not in a compiled file.
Source file: SYS:CONTRIB;SB-INTROSPECT;INTROSPECT.LISP.NEWEST
(SETF DEFINITION-SOURCE-PATHNAME) names a compiled function:
An accessor for SB-INTROSPECT:DEFINITION-SOURCE
Lambda-list: (VALUE INSTANCE)
Derived type: (FUNCTION ((OR PATHNAME NULL) SB-INTROSPECT:DEFINITION-SOURCE)
(VALUES (OR PATHNAME NULL) &OPTIONAL))
Source file: SYS:CONTRIB;SB-INTROSPECT;INTROSPECT.LISP.NEWEST
- Called by
- (PUBLISH (SYMBOL-DOCUMENTATION))
- (DOC-FILES (SYMBOL-DOCUMENTATION))
- (PUBLISH (DEFINITION-SOURCE))
- DEFINITION-SOURCE-LINE-NUMBER
- SWANK/SBCL::DEFINITION-SOURCE-FOR-EMACS
- SWANK/SBCL::DEFINITION-SOURCE-BUFFER-AND-FILE-LOCATION
- SWANK/SBCL::DEFINITION-SOURCE-FILE-LOCATION
- SWANK/SBCL::FILE-FORM-NUMBER-POSITION
- SWANK/SBCL::CATEGORIZE-DEFINITION-SOURCE
definitions
- SYS:CONTRIB;SB-INTROSPECT;INTROSPECT.LISP.NEWEST