package kkmarkdown

  1. Overview
  2. Docs

Span-level rule

type state = {
  1. s : string;
    (*

    string to be parsed

    *)
  2. mutable cur : int;
    (*

    current cursor being parsed

    *)
  3. mutable stack : Typ.stack_elt list;
    (*

    current stack for SpanRuleStack

    *)
}
module type S = sig ... end

Signature for a span-level rule

OCaml

Innovation. Community. Security.