GTokenType

The possible types of token returned from each g_scanner_get_next_token() call.

Values

ValueMeaning
EOF0

the end of the file

LEFT_PAREN40

a '(' character

RIGHT_PAREN41

a ')' character

LEFT_CURLY123

a '{' character

RIGHT_CURLY125

a '}' character

LEFT_BRACE91

a '[' character

RIGHT_BRACE93

a ']' character

EQUAL_SIGN61

a '=' character

COMMA44

a ',' character

NONE256

not a token

ERROR257

an error occurred

CHAR258

a character

BINARY259

a binary integer

OCTAL260

an octal integer

INT261

an integer

HEX262

a hex integer

FLOAT263

a floating point number

STRING264

a string

SYMBOL265

a symbol

IDENTIFIER266

an identifier

IDENTIFIER_NULL267

a null identifier

COMMENT_SINGLE268

one line comment

COMMENT_MULTI269

multi line comment