new

fun new(configTempl: ScannerConfig): Scanner

Creates a new #GScanner.

The @config_templ structure specifies the initial settings of the scanner, which are copied into the #GScanner

Return

the new #GScanner

Parameters

configTempl

the initial scanner settings