summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2010-03-24 13:21:11 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2010-03-24 13:21:11 (GMT)
commit188c38659bf0d5e51f7263d592af87cd8c753a17 (patch)
tree18095fdb9ca794ca8c336dc02b1b74419705e5cb /doc
parent8158cea2c168d259b1161bffdc4cd276b93b386b (diff)
downloadtcl-188c38659bf0d5e51f7263d592af87cd8c753a17.zip
tcl-188c38659bf0d5e51f7263d592af87cd8c753a17.tar.gz
tcl-188c38659bf0d5e51f7263d592af87cd8c753a17.tar.bz2
* generic/tclOOInfo.c (InfoObjectMethodTypeCmd)
(InfoClassMethodTypeCmd): Added introspection of method types so that it is possible to find this info out without using errors.
Diffstat (limited to 'doc')
-rw-r--r--doc/info.n20
1 files changed, 19 insertions, 1 deletions
diff --git a/doc/info.n b/doc/info.n
index 7a14ea0..246b83f 100644
--- a/doc/info.n
+++ b/doc/info.n
@@ -8,7 +8,7 @@
'\" See the file "license.terms" for information on usage and redistribution
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
'\"
-'\" RCS: @(#) $Id: info.n,v 1.35 2009/11/16 18:00:11 dgp Exp $
+'\" RCS: @(#) $Id: info.n,v 1.36 2010/03/24 13:21:11 dkf Exp $
'\"
.so man.macros
.TH info n 8.4 Tcl "Tcl Built-In Commands"
@@ -443,6 +443,15 @@ mixins, if \fB\-all\fR is also given).
.RE
.VE 8.6
.TP
+\fBinfo class methodtype\fI class method\fR
+.VS 8.6
+This subcommand returns a description of the type of implementation used for
+the method named \fImethod\fR of class \fIclass\fR. When the result is
+\fBmethod\fR, further information can be discovered with \fBinfo class
+definition\fR, and when the result is \fBforward\fR, further information can
+be discovered with \fBinfo class forward\fR.
+.VE 8.6
+.TP
\fBinfo class mixins\fI class\fR
.VS 8.6
This subcommand returns a list of all classes that have been mixed into the
@@ -561,6 +570,15 @@ the private (i.e. non-exported) methods of the object (and classes, if
.RE
.VE 8.6
.TP
+\fBinfo object methodtype\fI object method\fR
+.VS 8.6
+This subcommand returns a description of the type of implementation used for
+the method named \fImethod\fR of object \fIobject\fR. When the result is
+\fBmethod\fR, further information can be discovered with \fBinfo object
+definition\fR, and when the result is \fBforward\fR, further information can
+be discovered with \fBinfo object forward\fR.
+.VE 8.6
+.TP
\fBinfo object mixins\fI object\fR
.VS 8.6
This subcommand returns a list of all classes that have been mixed into the