diff options
author | dkf <donal.k.fellows@manchester.ac.uk> | 2024-07-19 09:03:26 (GMT) |
---|---|---|
committer | dkf <donal.k.fellows@manchester.ac.uk> | 2024-07-19 09:03:26 (GMT) |
commit | 50b2e426aad22f02d31e592e0ae71ad73b662d8f (patch) | |
tree | 22bd6f842b8f52ac6e1748691e29a4ebe6459aa1 | |
parent | 02624d13497c5ea225dff6ed4aa62ed8a56c69f9 (diff) | |
download | tcl-50b2e426aad22f02d31e592e0ae71ad73b662d8f.zip tcl-50b2e426aad22f02d31e592e0ae71ad73b662d8f.tar.gz tcl-50b2e426aad22f02d31e592e0ae71ad73b662d8f.tar.bz2 |
Improve some documentation (for myself)
-rw-r--r-- | tools/tclOOScript.tcl | 34 |
1 files changed, 30 insertions, 4 deletions
diff --git a/tools/tclOOScript.tcl b/tools/tclOOScript.tcl index 95ffbde..22f0e91 100644 --- a/tools/tclOOScript.tcl +++ b/tools/tclOOScript.tcl @@ -483,14 +483,40 @@ # oo::configuresupport::PropertyImpl -- # # The implementation of the [property] configuration command. - # This assumes there are two stack frames above it to care about, - # first the hull [property] command (in the correct context for - # what is being confgured) and then the context scope of - # [oo::define] or [oo::objdefine]. + # This assumes there is a context scope of [oo::define] or + # [oo::objdefine] as the stack frame that is up one level. # # TODO: # Convert to C code. # + # Arguments: + # stdInstaller + # How to install a property implementation of the right type. + # Must be evaluated in the definition scope. + # readslot + # Slot of readable properties. + # Must be evaluated in the definition scope. + # writeslot + # Slot of writable properties. + # Must be evaluated in the definition scope. + # args + # Arguments supplied by user. See user documentation. + # + # Results: + # None + # + # Errors: + # TCL WRONGARGS + # if an argument is missing. + # TCL LOOKUP INDEX + # if an option or property kind can't be parsed. + # TCL OO PROPERTY_FORMAT + # if an property name is illegal. + # + # Side effects: + # Adjusts properties. Declares non-exported methods with special + # names. + # # ------------------------------------------------------------------ proc PropertyImpl {stdInstaller readslot writeslot args} { |