forked from qt-creator/qt-creator
Initial support for doxygen comments.
This commit is contained in:
@@ -54,6 +54,11 @@ bool SimpleToken::isKeyword() const
|
||||
return _kind >= T_FIRST_KEYWORD && _kind < T_FIRST_QT_KEYWORD;
|
||||
}
|
||||
|
||||
bool SimpleToken::isComment() const
|
||||
{
|
||||
return _kind == T_COMMENT || _kind == T_DOXY_COMMENT;
|
||||
}
|
||||
|
||||
SimpleLexer::SimpleLexer()
|
||||
: _lastState(0),
|
||||
_skipComments(false),
|
||||
|
||||
@@ -69,6 +69,7 @@ public:
|
||||
bool isLiteral() const;
|
||||
bool isOperator() const;
|
||||
bool isKeyword() const;
|
||||
bool isComment() const;
|
||||
|
||||
public:
|
||||
int _kind;
|
||||
|
||||
Reference in New Issue
Block a user