package menhirSdk

  1. Overview
  2. Docs
include Cmly_api.INDEXED with type t = production
type t = production
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 kind : t -> [ `REGULAR | `START ]
val lhs : t -> nonterminal
val rhs : t -> (symbol * identifier * Attribute.t list) array
val positions : t -> Range.t list
val action : t -> Action.t option
val attributes : t -> Attribute.t list