class cursor :Inheritsint ->
object
..end
Cf_parser.cursor
The initial position, i.e. usually zeromethod error : int ->
(char * (< advance : char -> 'b; error : 'a; position : int; .. > as 'b))
Cf_seq.t -> unit as 'a
c#error n z
in a lexer when no rule
matches the input stream z
after n
characters. The purpose is
to give a derived class an opportunity to raise an exception rather
than allow the parser to return without a match. In this base
class, the method has no side effect.