Module type Tokenizer.SINK

Interface for token consumers.

The tokenizer calls process for each token it produces. The sink can return `Continue to keep tokenizing, or `SwitchTo state to change the tokenizer state (used by the tree builder for things like <script> and <textarea>).

type t
val process : t -> Html5rw__.Tokenizer_token.t -> [ `Continue | `SwitchTo of Html5rw__.Tokenizer_state.t ]
val adjusted_current_node_in_html_namespace : t -> bool