package menhirSdk

  1. Overview
  2. Docs
include Cmly_api.INDEXED with type t = nonterminal
type t = nonterminal
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 mangled_name : t -> string
val kind : t -> [ `REGULAR | `START ]
val typ : t -> ocamltype option
val positions : t -> Range.t list
val nullable : t -> bool
val first : t -> terminal list
val attributes : t -> Attribute.t list
OCaml

Innovation. Community. Security.