The token.
More...
#include <csvreader.hh>
|
| enum | TokenType {
T_KEYWORD
, T_APRSCALL
, T_STRING
, T_NUMBER
,
T_DCS_N
, T_DCS_I
, T_COLON
, T_NOT_SET
,
T_ENABLED
, T_COMMA
, T_WHITESPACE
, T_NEWLINE
,
T_COMMENT
, T_END_OF_STREAM
, T_ERROR
} |
| | Possible token types. More...
|
| |
|
|
TokenType | type |
| | The token type.
|
| |
|
QString | value |
| | The token value.
|
| |
|
qint64 | line |
| | Line number.
|
| |
|
qint64 | column |
| | Column number.
|
| |
◆ TokenType
Possible token types.
| Enumerator |
|---|
| T_KEYWORD | A Keyword/Identifier.
|
| T_APRSCALL | A APRS call of form CALL-SSID.
|
| T_STRING | A quoted string.
|
| T_NUMBER | An integer or floating point number.
|
| T_DCS_N | A normal DCS code number.
|
| T_DCS_I | An inverted DCS code number.
|
| T_COLON | A colon.
|
| T_NOT_SET | A dash, being used as "not-set".
|
| T_ENABLED | A plus sign, being used as "enabled".
|
| T_COMMA | A comma.
|
| T_WHITESPACE | Any whitespace character excluding newline.
|
| T_NEWLINE | A new line.
|
| T_COMMENT | A comment starts with # end ends at the line-end.
|
| T_END_OF_STREAM | Indicates the end-of-input.
|
| T_ERROR | Indicates a lexer error.
|
The documentation for this struct was generated from the following file: