AST enhancements

now capturing function declarations inside of
closures