package cairn

  1. Overview
  2. Docs
include MenhirSdk.Cmly_api.INDEXED with type t = terminal
type t = terminal
val count : int
val of_int : int -> t
val to_int : t -> int
val hash : t -> int
val equal : t -> t -> bool
val compare : t -> t -> int
val iter : (t -> unit) -> unit
val fold : (t -> 'a -> 'a) -> 'a -> 'a
val tabulate : (t -> 'a) -> t -> 'a
val name : t -> string
val kind : t -> [ `REGULAR | `ERROR | `EOF | `PSEUDO ]
val typ : t -> ocamltype option
val attributes : t -> Attribute.t list
OCaml

Innovation. Community. Security.