package GT

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Enum plugin: converts constructor name to integer. Constructor arguments are not taken to account.

Synthetized attribute is int.

Inherited attributes' type (both default and for type parameters) is unit.

For type declaration type ('a,'b,...) typ = ... it will create transformation function with type

('a -> int) -> ('b -> int) -> ... -> ('a,'b,...) typ -> int

See also: Compare plugin.

val trait_name : string
module Make (AstHelpers : GTCommon.GTHELPERS_sig.S) : sig ... end
val register : unit -> unit