GScannerConfig

Specifies the #GScanner parser configuration. Most settings can be changed during the parsing phase and will affect the lexical parsing of the next unpeeked token.

Members

Variables

cpairCommentSingle
char* cpairCommentSingle;

specifies the characters at the start and end of single-line comments. The default is "#\n" which means that single-line comments start with a '#' and continue until a '\n' (end of line).

csetIdentifierFirst
char* csetIdentifierFirst;

specifies the characters which can start identifiers (the default is #G_CSET_a_2_z, "_", and #G_CSET_A_2_Z).

csetIdentifierNth
char* csetIdentifierNth;

specifies the characters which can be used in identifiers, after the first character (the default is #G_CSET_a_2_z, "_0123456789", #G_CSET_A_2_Z, #G_CSET_LATINS, #G_CSET_LATINC).

csetSkipCharacters
char* csetSkipCharacters;

specifies which characters should be skipped by the scanner (the default is the whitespace characters: space, tab, carriage-return and line-feed).

paddingDummy
uint paddingDummy;
Undocumented in source.

Meta