xo::api proc get_method_body (public)

 xo::api[i] get_method_body scope obj prefix method

Defined in packages/xotcl-core/tcl/01-debug-procs.tcl

Return the method body on object (when "prefix" is empty) or class (when "prefix" is "inst").

Parameters:
scope (required)
obj (required)
prefix (required)
method (required)

Testcases:
No testcase defined.
Source code:
#
# Return the method body on object (when "prefix" is empty) or
# class (when "prefix" is "inst").
#
:scope_eval $scope ::nsf::dispatch $obj  ::nsf::methods::[expr {$prefix eq "inst" ? "class" : "object"}]::info::method  body $method
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: