Tokenizer: added doxygen comments

This commit is contained in:
Daniel Marjamäki 2011-01-01 09:26:24 +01:00
parent a9aa6375b7
commit 71acf78c64
1 changed files with 12 additions and 1 deletions

View File

@ -125,14 +125,25 @@ public:
const std::vector<std::string> *getFiles() const; const std::vector<std::string> *getFiles() const;
/** recreate symbol database */
void fillFunctionList(); void fillFunctionList();
/**
* Get function token by function name
* @todo better handling of overloaded functions
* @todo only scan parent scopes
* @param funcname function name
*/
const Token *getFunctionTokenByName(const char funcname[]) const; const Token *getFunctionTokenByName(const char funcname[]) const;
/** get tokens */
const Token *tokens() const; const Token *tokens() const;
/** return filename for given token */
std::string file(const Token *tok) const; std::string file(const Token *tok) const;
/** /**
* get error messages * get error messages that the tokenizer generate
*/ */
virtual void getErrorMessages(ErrorLogger *errorLogger, const Settings *settings); virtual void getErrorMessages(ErrorLogger *errorLogger, const Settings *settings);