Class virtual Cf_scan_parser.scanner

class virtual ['i] scanner : 'i Cf_seq.t -> object .. end

A virtual base class used in the cscanf function (below) for constructing a scanning buffer from an input sequence.


val mutable next_ : 'i Cf_seq.t

The input sequence

The next unmatched input symbol

method private virtual get : char

Get the next character for the scanning buffer

method init : Stdlib.Scanf.Scanning.scanbuf

Initialize the scanning buffer

method fini : 'i Cf_seq.t

Finalize the scanning buffer and return the next unmatched input symbol.