groovy-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Sun <realblue...@hotmail.com>
Subject The new annotation Groovydoc for Groovy 3
Date Sun, 09 Apr 2017 17:47:53 GMT
Hi all,

      The new annotation Groovydoc has been added in the parrot branch, it
can hold groovydoc even at runtime. 

      The usage is very simple, just add @Groovydoc at the beginning of the
content of groovydoc, then the Parrot parser will attach Groovydoc
annotation to the target element, the value of the annotation is the content
of groovydoc. 

       Here is an example:
https://github.com/danielsun1106/groovy-parser/blob/4345a4d1d692089db2fc04b9a92ca07b11975555/src/test/resources/core/Groovydoc_01x.groovy

       The related commit is:
https://github.com/apache/groovy/commit/0169177ceb3ecd54a27820e814990b76b6584062


Cheers,
Daniel.Sun




--
View this message in context: http://groovy.329449.n5.nabble.com/The-new-annotation-Groovydoc-for-Groovy-3-tp5739731.html
Sent from the Groovy Dev mailing list archive at Nabble.com.

Mime
View raw message