Closed JayGhiya closed 6 months ago
in current design, the Content
field is for full function code which with comments, you maybe try this. Then parse it in your code.
for class level:
for function level:
hey @phodal this is great so the spec covers the comments . so i just did parsing for example class and functions with comments. looks like content at codeFunction and CodeDataStruct does not autofill content as of now. Is this already on roadmap to do the same? So as of now the best strategy would be to use https://javaparser.org/ based on spec of chapi to fetch comments regarding class and functions and fill the content. is that right?
Not sure about javaparser, the design princinple of Chapi is to support multi-languages, like: https://github.com/archguard/archguard/tree/master/analyser_sourcecode
Here is othr example to fill with content:
Is there a roadmap to modify existing code container to add that sry not a kotlin person otherwise would have contributed