GLib.ScannerConfig
const GLib = imports.gi.GLib; let scannerConfig = new GLib.ScannerConfig({ case_sensitive: value skip_comment_multi: value skip_comment_single: value scan_comment_multi: value scan_identifier: value scan_identifier_1char: value scan_identifier_NULL: value scan_symbols: value scan_binary: value scan_octal: value scan_float: value scan_hex: value scan_hex_dollar: value scan_string_sq: value scan_string_dq: value numbers_2_int: value int_2_float: value identifier_2_string: value char_2_token: value symbol_2_token: value scope_0_fallback: value store_int64: value });
Specifies the GLib.Scanner parser configuration. Most settings can be changed during the parsing phase and will affect the lexical parsing of the next unpeeked token.
Fields
- case_sensitive
- char_2_token
- cpair_comment_single
- cset_identifier_first
- cset_identifier_nth
- cset_skip_characters
- identifier_2_string
- int_2_float
- numbers_2_int
- scan_binary
- scan_comment_multi
- scan_float
- scan_hex
- scan_hex_dollar
- scan_identifier
- scan_identifier_1char
- scan_identifier_NULL
- scan_octal
- scan_string_dq
- scan_string_sq
- scan_symbols
- scope_0_fallback
- skip_comment_multi
- skip_comment_single
- store_int64
- symbol_2_token