package cairn

  1. Overview
  2. Docs
include MenhirSdk.Cmly_api.INDEXED with type t = lr1
type t = lr1
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 lr0 : t -> lr0
val transitions : t -> (symbol * t) list
val get_reductions : t -> (terminal * production) list
val default_reduction : t -> production option
val reductions : t -> (terminal * production list) list
  • deprecated Please use [get_reductions]
OCaml

Innovation. Community. Security.