summary of predefined names, routines, macros?

I'm familiar with grep, but it has some limitations. For example, doing a recursive directory search isn't trivial. Also looking up something like digitalWrite is going to lead to all the places is it used rather than where it is defined.