Apply macro to existing function

f(x) = x + 1

Given that function is already defined, is it possible to get the result of applying a macro to it? or is the AST not recoverable once the function is defined?

You should assume that the AST is not recoverable. What are you trying to accomplish?