Tcl language parser using state-based lexical scanning. More...
#include <tclscanner.h>
Public Member Functions | |
virtual | ~TclLanguageScanner () |
void | startTranslationUnit (const char *) |
void | finishTranslationUnit () |
void | parseInput (const char *fileName, const char *fileBuf, Entry *root, bool sameTranslationUnit, QStrList &filesInSameTranslationUnit) |
Parse text file and build up entry tree. More... | |
bool | needsPreprocessing (const QCString &extension) |
void | parseCode (CodeOutputInterface &codeOutIntf, const char *scopeName, const QCString &input, SrcLangExt lang, bool isExampleBlock, const char *exampleName=0, FileDef *fileDef=0, int startLine=-1, int endLine=-1, bool inlineFragment=FALSE, MemberDef *memberDef=0, bool showLineNumbers=TRUE, Definition *searchCtx=0, bool collectXRefs=TRUE) |
Parse file and codify. More... | |
void | resetCodeParserState () |
void | parsePrototype (const char *text) |
Public Member Functions inherited from ParserInterface | |
virtual | ~ParserInterface () |
Tcl language parser using state-based lexical scanning.
This is the Tcl language parser for doxygen.
Definition at line 28 of file tclscanner.h.
|
inlinevirtual |
Definition at line 31 of file tclscanner.h.
|
inlinevirtual |
Called after all files in a translation unit have been processed.
Implements ParserInterface.
Definition at line 33 of file tclscanner.h.
Returns TRUE if the language identified by extension needs the C preprocessor to be run before feed the result to the input parser.
Implements ParserInterface.
Definition at line 5353 of file tclscanner.cpp.
|
virtual |
Parse file and codify.
Implements ParserInterface.
Definition at line 5250 of file tclscanner.cpp.
|
virtual |
Parse text file and build up entry tree.
Implements ParserInterface.
Definition at line 5218 of file tclscanner.cpp.
|
virtual |
Callback function called by the comment block scanner. It provides a string text containing the prototype of a function or variable. The parser should parse this and store the information in the Entry node that corresponds with the node for which the comment block parser was invoked.
Implements ParserInterface.
Definition at line 5363 of file tclscanner.cpp.
|
virtual |
Resets the state of the code parser. Since multiple code fragments can together form a single example, an explicit function is used to reset the code parser state.
Implements ParserInterface.
Definition at line 5359 of file tclscanner.cpp.
|
inlinevirtual |
Starts processing a translation unit (source files + headers). After this call parseInput() is called with sameTranslationUnit set to FALSE. If parseInput() returns additional include files, these are also processed using parseInput() with sameTranslationUnit set to TRUE. After that finishTranslationUnit() is called.
Implements ParserInterface.
Definition at line 32 of file tclscanner.h.