Teaching Doxygen Nasal: Difference between revisions

Jump to navigation Jump to search
m
no edit summary
mNo edit summary
mNo edit summary
Line 26: Line 26:


We were recently talking about teaching the wiki (GeSHi actually) Nasal, so that syntax highlighting is working properly here.
We were recently talking about teaching the wiki (GeSHi actually) Nasal, so that syntax highlighting is working properly here.
= Modifying Doxygen =
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:
* "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 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 task of the parser is to convert the input buffer into a tree of entries (basically an abstract syntax tree). An entry is defined in src/entry.h and is a blob of loosely structured information. The most important field is section which specifies the kind of information contained in the entry."


= Related =
= Related =

Navigation menu