acs::tcllib::register_documentation (private)

 acs::tcllib::register_documentation [ proc_name ]

Defined in packages/acs-tcl/tcl/tcllib-doc-procs.tcl

Refresh documentation for existing Tcl core and extension commands, optionally when metadata is requested for a single command. This procedure never requires a package or evaluates its loader.

Parameters:
proc_name (optional)
Procedure name, or empty to refresh all declarations.

Partial Call Graph (max 5 caller/called nodes):
api_add_calling_info_to_procdoc api_add_calling_info_to_procdoc (private) acs::tcllib::register_documentation acs::tcllib::register_documentation api_add_calling_info_to_procdoc->acs::tcllib::register_documentation api_add_to_proc_doc api_add_to_proc_doc (public) api_add_to_proc_doc->acs::tcllib::register_documentation acs_package_root_dir acs_package_root_dir (public) acs::tcllib::register_documentation->acs_package_root_dir auto_execok auto_execok (public) acs::tcllib::register_documentation->auto_execok dom dom (public) acs::tcllib::register_documentation->dom nstrace::namespaces nstrace::namespaces (private) acs::tcllib::register_documentation->nstrace::namespaces nstrace::statescript nstrace::statescript (private) acs::tcllib::register_documentation->nstrace::statescript

Testcases:
No testcase defined.
Source code:
        if {$proc_name ne ""} {
            set name [string trimleft $proc_name :]
            set package [string trimleft [namespace qualifiers ::$name] :]
            switch -- $name {
                dom {set package tdom}
                transform {
                    set package Trf
                    if {[package provide Trf] eq ""} {
                        set package smtp
                    }
                }
                auto_execok -
                tcl::mathfunc::max -
                tcl::mathfunc::double {set package Tcl}
                nstrace::statescript -
                nstrace::namespaces {set package ""}
            }
            if {$package ni {{} uri base64 mime md5 tdom Trf Tcl smtp}
                || ($package ne "" && [package provide $package] eq "")
                || [namespace which -command ::$name] eq ""
                || ([nsv_exists api_proc_doc $name]
                    && [dict exists [nsv_get api_proc_doc $name] main])} {
                return
            }
        }
        # Sourcing keeps ad_proc's source attribution on this file, even
        # when registration was requested by a test or the calling-info scan.
        source [file join [acs_package_root_dir acs-tcl] tcl tcllib-doc-procs.tcl]
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: