xo::dot_append_method (private)

 xo::dot_append_method [ -documented_methods documented_methods ] e \
    methods_ref kind

Defined in packages/xotcl-core/tcl/doc-procs.tcl

Switches:
-documented_methods (optional, defaults to "1")
Parameters:
e (required)
methods_ref (required)
kind (required)

Partial Call Graph (max 5 caller/called nodes):
%3 xo::dotclass xo::dotclass (private) xo::dot_append_method xo::dot_append_method xo::dotclass->xo::dot_append_method apidoc::get_object_property apidoc::get_object_property (public) xo::dot_append_method->apidoc::get_object_property

Testcases:
No testcase defined.
Source code:
        upvar $methods_ref methods
        set infokind $kind
        if {$kind eq "instproc"} {append infokind s}
        ::xo::api scope_from_object_reference scope e
        if {$kind eq "proc"} {set prefix "→ "} {set prefix ""}
        foreach methodName [apidoc::get_object_property $e $kind] {
            if {$documented_methods} {
                set proc_index [::xo::api proc_index $scope $e $kind $methodName]
                #:msg "check $methodName => [nsv_exists api_proc_doc $proc_index]"
                if {[nsv_exists api_proc_doc $proc_index]} {
                    lappend methods $prefix$methodName
                }
            } else {
                lappend methods $prefix$methodName
            }
        }
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: