The documenting wizard takes a step in this direction. It builds a symbol table that you could parse and see User Defined functions/procedures. I think it does variables too.... Yep, just checked. It puts all that in a table called FDXREF.dbf. Pretty cool stuff. It would be a short jump to display the stuff you're looking for.
M.
Marty Smith, CSQE