Module Css_gen__Css_tokenizer

type t
val create : string -> t
module Token : sig ... end
val current : t -> Token.t
val slice : t -> int * int

Start and len of the current token. The eof token starts at String.length and has size 0.

val current_text : t -> string

The textual representation of the current token. Note that it is exactly as given in the source.

val source : t -> string

source (create s) = s

val next : t -> unit

Advance to the next token. Idempotent if the current token is eof.