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?
- #char?
- #comma?
- #comment_multi?
- #comment_single?
- #eof?
- #equal_sign?
- #error?
- #float?
- #hex?
- #identifier?
- #identifier_null?
- #int?
- #left_brace?
- #left_curly?
- #left_paren?
- #none?
- #octal?
- #right_brace?
- #right_curly?
- #right_paren?
- #string?
- #symbol?