21 #include "parserintf.h" 38 bool sameTranslationUnit,
39 QStrList &filesInSameTranslationUnit);
42 const char *scopeName,
46 const char *exampleName=0,
50 bool inlineFragment=FALSE,
52 bool showLineNumbers=TRUE,
54 bool collectXRefs=TRUE
60 void scanFreeScanner();
Definition: qstrlist.h:57
void startTranslationUnit(const char *fileName)
Starts processing a translation unit (source files + headers).
The common base class of all entity definitions found in the sources.
Definition: definition.h:92
A model of a class/file/namespace member symbol.
Definition: memberdef.h:43
Represents an unstructured piece of information, about an entity found in the sources.
Definition: entry.h:63
Abstract interface for programming language parsers.
Definition: parserintf.h:38
C-like language parser using state-based lexical scanning.
Definition: scanner.h:29
A model of a file symbol.
Definition: filedef.h:64
SrcLangExt
Language as given by extension.
Definition: types.h:41
void parsePrototype(const char *text)
Callback function called by the comment block scanner.
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)
Parses a source file or fragment with the goal to produce highlighted and cross-referenced output...
void finishTranslationUnit()
Called after all files in a translation unit have been processed.
bool needsPreprocessing(const QCString &extension)
Returns TRUE if the language identified by extension needs the C preprocessor to be run before feed t...
void parseInput(const char *fileName, const char *fileBuf, Entry *root, bool sameTranslationUnit, QStrList &filesInSameTranslationUnit)
Parses a single input file with the goal to build an Entry tree.
This is an alternative implementation of QCString.
Definition: qcstring.h:131
Output interface for code parser.
Definition: outputgen.h:59
void resetCodeParserState()
Resets the state of the code parser.