Enumeration

GLibTokenType

Declaration

enum GLib.TokenType

Description [src]

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

Members

G_TOKEN_EOF

The end of the file.

  • Value: 0
  • Available since: 2.0
G_TOKEN_LEFT_PAREN

A ‘(‘ character.

  • Value: 40
  • Available since: 2.0
G_TOKEN_RIGHT_PAREN

A ‘)’ character.

  • Value: 41
  • Available since: 2.0
G_TOKEN_LEFT_CURLY

A ‘{‘ character.

  • Value: 123
  • Available since: 2.0
G_TOKEN_RIGHT_CURLY

A ‘}’ character.

  • Value: 125
  • Available since: 2.0
G_TOKEN_LEFT_BRACE

A ‘[‘ character.

  • Value: 91
  • Available since: 2.0
G_TOKEN_RIGHT_BRACE

A ‘]’ character.

  • Value: 93
  • Available since: 2.0
G_TOKEN_EQUAL_SIGN

A ‘=’ character.

  • Value: 61
  • Available since: 2.0
G_TOKEN_COMMA

A ‘,’ character.

  • Value: 44
  • Available since: 2.0
G_TOKEN_NONE

Not a token.

  • Value: 256
  • Available since: 2.0
G_TOKEN_ERROR

An error occurred.

  • Value: 257
  • Available since: 2.0
G_TOKEN_CHAR

A character.

  • Value: 258
  • Available since: 2.0
G_TOKEN_BINARY

A binary integer.

  • Value: 259
  • Available since: 2.0
G_TOKEN_OCTAL

An octal integer.

  • Value: 260
  • Available since: 2.0
G_TOKEN_INT

An integer.

  • Value: 261
  • Available since: 2.0
G_TOKEN_HEX

A hex integer.

  • Value: 262
  • Available since: 2.0
G_TOKEN_FLOAT

A floating point number.

  • Value: 263
  • Available since: 2.0
G_TOKEN_STRING

A string.

  • Value: 264
  • Available since: 2.0
G_TOKEN_SYMBOL

A symbol.

  • Value: 265
  • Available since: 2.0
G_TOKEN_IDENTIFIER

An identifier.

  • Value: 266
  • Available since: 2.0
G_TOKEN_IDENTIFIER_NULL

A null identifier.

  • Value: 267
  • Available since: 2.0
G_TOKEN_COMMENT_SINGLE

One line comment.

  • Value: 268
  • Available since: 2.0
G_TOKEN_COMMENT_MULTI

Multi line comment.

  • Value: 269
  • Available since: 2.0