Giter VIP home page Giter VIP logo

selfdoxygenh's Introduction

selfDoxygenH

This is a python script that generates a file, with doxygen headers added for the methods declarations. This serves as a tool for minimising the documentation effort.

The generated doxygen headers can then be filled with the desired comments.


USAGE:


Usage : genDoxygenC.py < cpp/h source file >

Example - If "genDoxygenC.py sample_source.h", then sample_source.h.doxygen will be created. When taken diff of the two files, you can well visualize the added headers of doxygen, with placeholders for adding comments.

[test folder] : This contains some of the sample files, used for validating the parsing concept. Both header and cpp source samples. The script "addDoxygen4.py" was used for debugging the main script code snippets.

In the main script, currently "RE_M_DECLERATION" is enabled, which parses and adds doxygen headers to the method declarations. However, there is another macro, "RE_M_DEFINITION" which will parse and add doxygen-headers to the method definitions.


NOTE:


The script developed using the regular expression, is just a proof of concept. There could be syntatic-cases, which are not handled and therefore can be skipped. Also, can cause regular expression based method extraction and processing, to have run-time errors. The Error handling needs to be improvised, to make stable and deterministic exits.

selfdoxygenh's People

Contributors

parasrish avatar

Watchers

James Cloos avatar Abhijeet Bhatikar avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.