OpenStructure
|
#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 |
Definition at line 54 of file python_tokenizer.hh.
enum Type |
Enumerator | |
---|---|
KEYWORD | |
STRING_LITERAL | |
STRING_DELIM | |
IDENTIFIER | |
NUMBER | |
OPERATOR | |
GROUPING | |
COMMENT | |
END |
Definition at line 57 of file python_tokenizer.hh.
PythonToken | ( | ) |
PythonToken | ( | Type | type, |
const Range & | range, | ||
const QString & | value | ||
) |
const Range& GetRange | ( | ) | const |
Type GetType | ( | ) | const |
QString GetTypeAsString | ( | ) | const |
const QString& GetValue | ( | ) | const |