:right-sidebar: True TokenType =================================================================== .. currentmodule:: gi.repository.GLib .. class:: TokenType :no-contents-entry: The possible types of token returned from each :func:`~gi.repository.GLib.Scanner.get_next_token` call. Fields ------ .. rst-class:: interim-class .. class:: TokenType :no-index: .. attribute:: BINARY A binary integer .. attribute:: CHAR A character .. attribute:: COMMA A ',' character .. attribute:: COMMENT_MULTI Multi line comment .. attribute:: COMMENT_SINGLE One line comment .. attribute:: EOF The end of the file .. attribute:: EQUAL_SIGN A '=' character .. attribute:: ERROR An error occurred .. attribute:: FLOAT A floating point number .. attribute:: HEX A hex integer .. attribute:: IDENTIFIER An identifier .. attribute:: IDENTIFIER_NULL A null identifier .. attribute:: INT An integer .. attribute:: LEFT_BRACE A '[' character .. attribute:: LEFT_CURLY A '{' character .. attribute:: LEFT_PAREN A '(' character .. attribute:: NONE Not a token .. attribute:: OCTAL An octal integer .. attribute:: RIGHT_BRACE A ']' character .. attribute:: RIGHT_CURLY A '}' character .. attribute:: RIGHT_PAREN A ')' character .. attribute:: STRING A string .. attribute:: SYMBOL A symbol