Index: doc/Object.3 =================================================================== diff -u -r4b2d24131014fbce43704d880088a0c9f94a5692 -r4bfe0ad98302c32560ca1bcdf05dd26d11b30fdc --- doc/Object.3 (.../Object.3) (revision 4b2d24131014fbce43704d880088a0c9f94a5692) +++ doc/Object.3 (.../Object.3) (revision 4bfe0ad98302c32560ca1bcdf05dd26d11b30fdc) @@ -944,18 +944,31 @@ -guard \fIguardExpr\fR\&. The returned mixin classes can be limited to those whose names match \fInamePattern\fR (see \fBstring match\fR)\&. .TP +\fIobj\fR \fBinfo lookup parameters\fR \fImethodName\fR ?\fInamePattern\fR? +Returns the parameter specification of the method \fImethodName\fR callable +on \fIobj\fR as a list of parameter names and type specifications\&. The +resulting parameter specification can be limited to those +parameters whose names match \fInamePattern\fR (see \fBstring match\fR)\&. +.TP \fIobj\fR \fBinfo lookup slots\fR ?\fB-type\fR \fIclassName\fR? ?\fB-source\fR all | application | system? ?\fInamePattern\fR? Returns the command names of all slot objects responsible for managing properties, variables, and relations of \fIobj\fR\&. The returned slot objects can be limited according to any or a combination of the following criteria: First, slot objects -can be filtered based on their command names matching \fInamePattern\fR (see \fBstring -match\fR)\&. Second, \fB-type\fR allows one to select +can be filtered based on their command names matching \fInamePattern\fR (see +\fBstring match\fR)\&. Second, \fB-type\fR allows one to select slot objects which are instantiated from a subclass \fIclassName\fR of \fBnx::Slot\fR (default: \fBnx::Slot\fR) \&. Third, \fB-source\fR restricts slot objects returned according to their provenance in either the NX \fIsystem\fR classes or the \fIapplication\fR classes present in the linearisation list of \fIobj\fR (default: \fIall\fR)\&. .sp To extract details of each slot object, use the \fBinfo\fR submethods available for each slot object\&. .TP +\fIobj\fR \fBinfo lookup syntax\fR \fImethodName\fR ?\fInamePattern\fR? +Returns the method parameters of the method \fImethodName\fR callable +on \fIobj\fR as a concrete-syntax description to be used in +human-understandable messages (e\&.g\&., errors or warnings, documentation +strings)\&. The result can be limited to those parameters matching the +\fInamePattern\fR (see \fBstring match\fR)\&. +.TP \fIobj\fR \fBinfo lookup variables\fR Returns the command names of all slot objects responsible for managing properties and variables of \fIobj\fR, if provided by \fIobj\fR or the classes in the linearisation list of \fIobj\fR\&. Index: doc/Object.man =================================================================== diff -u -r4b2d24131014fbce43704d880088a0c9f94a5692 -r4bfe0ad98302c32560ca1bcdf05dd26d11b30fdc --- doc/Object.man (.../Object.man) (revision 4b2d24131014fbce43704d880088a0c9f94a5692) +++ doc/Object.man (.../Object.man) (revision 4bfe0ad98302c32560ca1bcdf05dd26d11b30fdc) @@ -513,21 +513,36 @@ -guard [arg guardExpr]. The returned [term "mixin class"]es can be limited to those whose names match [arg namePattern] (see [cmd "string match"]). +[def "[arg obj] [method "info lookup parameters"] [arg methodName] [opt [arg namePattern]]"] + +Returns the [term "parameter specification"] of the method [arg methodName] callable +on [arg obj] as a list of parameter names and type specifications. The +resulting [term "parameter specification"] can be limited to those +parameters whose names match [arg namePattern] (see [cmd "string match"]). + [def "[arg obj] [method "info lookup slots"] [opt "[option "-type"] [arg className]"] [opt "[option "-source"] all | application | system"] [opt [arg namePattern]]"] Returns the command names of all [term "slot object"]s responsible for managing properties, variables, and relations of [arg obj]. The returned [term "slot object"]s can be limited according to any or a combination of the following criteria: First, [term "slot object"]s -can be filtered based on their command names matching [arg namePattern] (see [cmd "string -match"]). Second, [option "-type"] allows one to select +can be filtered based on their command names matching [arg namePattern] (see +[cmd "string match"]). Second, [option "-type"] allows one to select [term "slot object"]s which are instantiated from a subclass [arg className] of [cmd nx::Slot] (default: [cmd nx::Slot]) . Third, [option -source] restricts [term "slot object"]s returned according to their provenance in either the NX [emph system] classes or the [emph application] classes present in the linearisation list of [arg obj] (default: [emph all]). [para] To extract details of each [term "slot object"], use the [method info] submethods available for each [term "slot object"]. +[def "[arg obj] [method "info lookup syntax"] [arg methodName] [opt [arg namePattern]]"] + +Returns the method parameters of the method [arg methodName] callable +on [arg obj] as a concrete-syntax description to be used in +human-understandable messages (e.g., errors or warnings, documentation +strings). The result can be limited to those parameters matching the +[arg namePattern] (see [cmd "string match"]). + [def "[arg obj] [method "info lookup variables"]"] Returns the command names of all [term "slot object"]s responsible for