PythonToken Class Reference
#include <python_tokenizer.hh>
Public Types |
enum | Type {
KEYWORD,
STRING_LITERAL,
STRING_DELIM,
IDENTIFIER,
NUMBER,
OPERATOR,
GROUPING,
COMMENT,
END
} |
Public Member Functions |
| PythonToken () |
| PythonToken (Type type, const Range &range, const QString &value) |
Type | GetType () const |
QString | GetTypeAsString () const |
const QString & | GetValue () const |
const Range & | GetRange () const |
Detailed Description
Definition at line 54 of file python_tokenizer.hh.
Member Enumeration Documentation
- Enumerator:
KEYWORD |
|
STRING_LITERAL |
|
STRING_DELIM |
|
IDENTIFIER |
|
NUMBER |
|
OPERATOR |
|
GROUPING |
|
COMMENT |
|
END |
|
Definition at line 57 of file python_tokenizer.hh.
Constructor & Destructor Documentation
Member Function Documentation
const Range& GetRange |
( |
|
) |
const |
QString GetTypeAsString |
( |
|
) |
const |
const QString& GetValue |
( |
|
) |
const |
The documentation for this class was generated from the following file: