enum
GLib::TokenType
Overview
The possible types of token returned from each g_scanner_get_next_token() call.
Defined in:
lib/gi-crystal/src/auto/g_lib-2.0/g_lib.crEnum Members
-
Eof =
0_u32
-
the end of the file
-
LeftParen =
40_u32
-
a '(' character
-
RightParen =
41_u32
-
a ')' character
-
LeftCurly =
123_u32
-
a '{' character
-
RightCurly =
125_u32
-
a '}' character
-
LeftBrace =
91_u32
-
a '[' character
-
RightBrace =
93_u32
-
a ']' character
-
EqualSign =
61_u32
-
a '=' character
-
Comma =
44_u32
-
a ',' character
-
None =
256_u32
-
not a token
-
Error =
257_u32
-
an error occurred
-
Char =
258_u32
-
a character
-
Binary =
259_u32
-
a binary integer
-
Octal =
260_u32
-
an octal integer
-
Int =
261_u32
-
an integer
-
Hex =
262_u32
-
a hex integer
-
Float =
263_u32
-
a floating point number
-
String =
264_u32
-
a string
-
Symbol =
265_u32
-
a symbol
-
Identifier =
266_u32
-
an identifier
-
IdentifierNull =
267_u32
-
a null identifier
-
CommentSingle =
268_u32
-
one line comment
-
CommentMulti =
269_u32
-
multi line comment
Instance Method Summary
-
#binary?
Returns
true
if this enum value equalsBinary
-
#char?
Returns
true
if this enum value equalsChar
-
#comma?
Returns
true
if this enum value equalsComma
-
#comment_multi?
Returns
true
if this enum value equalsCommentMulti
-
#comment_single?
Returns
true
if this enum value equalsCommentSingle
-
#eof?
Returns
true
if this enum value equalsEof
-
#equal_sign?
Returns
true
if this enum value equalsEqualSign
-
#error?
Returns
true
if this enum value equalsError
-
#float?
Returns
true
if this enum value equalsFloat
-
#hex?
Returns
true
if this enum value equalsHex
-
#identifier?
Returns
true
if this enum value equalsIdentifier
-
#identifier_null?
Returns
true
if this enum value equalsIdentifierNull
-
#int?
Returns
true
if this enum value equalsInt
-
#left_brace?
Returns
true
if this enum value equalsLeftBrace
-
#left_curly?
Returns
true
if this enum value equalsLeftCurly
-
#left_paren?
Returns
true
if this enum value equalsLeftParen
-
#none?
Returns
true
if this enum value equalsNone
-
#octal?
Returns
true
if this enum value equalsOctal
-
#right_brace?
Returns
true
if this enum value equalsRightBrace
-
#right_curly?
Returns
true
if this enum value equalsRightCurly
-
#right_paren?
Returns
true
if this enum value equalsRightParen
-
#string?
Returns
true
if this enum value equalsString
-
#symbol?
Returns
true
if this enum value equalsSymbol