Generate Documentation from Scala Macros

I am currently using Scala Macros to generate function code. However I also need the Documentation go along with it. Is that possible to use Macros generate documentation? I have figure out how to create “def Foo” part using quasiquote but the documentation above not coming as well.


/ **

  • This function is Foo
  • @param arg
  • @return Unit
    def Foo( arg : String) : Unit = {}
1 Like