Teaching Doxygen Nasal: Difference between revisions

Jump to navigation Jump to search
m
Line 29: Line 29:
= Modifying Doxygen =
= Modifying Doxygen =
The doxygen internals (architecture) is described here: http://www.stack.nl/~dimitri/doxygen/arch.html
The doxygen internals (architecture) is described here: http://www.stack.nl/~dimitri/doxygen/arch.html
According to the docs, the parser is based on flex:
 
According to the docs, the parser is based on [http://en.wikipedia.org/wiki/Flex_lexical_analyser flex]:


* "The preprocessed input buffer is fed to the language parser, which is implemented as a big state machine using flex. It can be found in the file [http://doxygen.svn.sourceforge.net/viewvc/doxygen/trunk/src/scanner.l?revision=795&view=markup src/scanner.l]. There is one parser for all languages (C/C++/Java/IDL). The state variables insideIDL and insideJava are uses at some places for language specific choices."
* "The preprocessed input buffer is fed to the language parser, which is implemented as a big state machine using flex. It can be found in the file [http://doxygen.svn.sourceforge.net/viewvc/doxygen/trunk/src/scanner.l?revision=795&view=markup src/scanner.l]. There is one parser for all languages (C/C++/Java/IDL). The state variables insideIDL and insideJava are uses at some places for language specific choices."

Navigation menu