C++: Remove unused functions in Lexer

Change-Id: I78b70eead1c64b9925272c50cc6109c5b415574d
Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
This commit is contained in:
Nikolai Kosjar
2013-12-13 18:32:15 +01:00
parent d84bd0b359
commit 6f63f6b647
2 changed files with 0 additions and 14 deletions

View File

@@ -110,15 +110,6 @@ unsigned Lexer::tokenOffset() const
unsigned Lexer::tokenLength() const unsigned Lexer::tokenLength() const
{ return _currentChar - _tokenStart; } { return _currentChar - _tokenStart; }
const char *Lexer::tokenBegin() const
{ return _tokenStart; }
const char *Lexer::tokenEnd() const
{ return _currentChar; }
unsigned Lexer::currentLine() const
{ return _currentLine; }
void Lexer::scan(Token *tok) void Lexer::scan(Token *tok)
{ {
tok->reset(); tok->reset();

View File

@@ -46,9 +46,6 @@ public:
unsigned tokenOffset() const; unsigned tokenOffset() const;
unsigned tokenLength() const; unsigned tokenLength() const;
const char *tokenBegin() const;
const char *tokenEnd() const;
unsigned currentLine() const;
bool scanCommentTokens() const; bool scanCommentTokens() const;
void setScanCommentTokens(bool onoff); void setScanCommentTokens(bool onoff);
@@ -121,10 +118,8 @@ private:
}; };
unsigned _currentLine; unsigned _currentLine;
LanguageFeatures _languageFeatures; LanguageFeatures _languageFeatures;
}; };
} // namespace CPlusPlus } // namespace CPlusPlus
#endif // CPLUSPLUS_LEXER_H #endif // CPLUSPLUS_LEXER_H