Scanner
Allocate a new Scanner.
This instance will be allocated on the native heap and automatically freed when this class instance is garbage collected.
Allocate a new Scanner using the provided AutofreeScope.
The AutofreeScope manages the allocation lifetime. The most common usage is with memScoped
.
Parameters
The AutofreeScope to allocate this structure in.
Allocate a new Scanner.
This instance will be allocated on the native heap and automatically freed when this class instance is garbage collected.
Parameters
unused
unused
g_scanner_error() increments this field
name of input stream, featured by the default message handler
link into the scanner configuration
token parsed by the last g_scanner_get_next_token()
line number of the last token from g_scanner_get_next_token()
char number of the last token from g_scanner_get_next_token()
token parsed by the last g_scanner_peek_next_token()
line number of the last token from g_scanner_peek_next_token()
char number of the last token from g_scanner_peek_next_token()
Allocate a new Scanner using the provided AutofreeScope.
The AutofreeScope manages the allocation lifetime. The most common usage is with memScoped
.
Parameters
unused
unused
g_scanner_error() increments this field
name of input stream, featured by the default message handler
link into the scanner configuration
token parsed by the last g_scanner_get_next_token()
line number of the last token from g_scanner_get_next_token()
char number of the last token from g_scanner_get_next_token()
token parsed by the last g_scanner_peek_next_token()
line number of the last token from g_scanner_peek_next_token()
char number of the last token from g_scanner_peek_next_token()
The AutofreeScope to allocate this structure in.