package melange
Module ObjectPattern.PropertySource
Source
type ('M, 'T) key = | StringLiteral of 'M * 'M StringLiteral.t| NumberLiteral of 'M * 'M NumberLiteral.t| BigIntLiteral of 'M * 'M BigIntLiteral.t| Identifier of ('M, 'T) Identifier.t
Source
and ('M, 'T) property = {key : ('M, 'T) key;pattern : ('M, 'T) MatchPattern.t;shorthand : bool;comments : ('M, unit) Syntax.t option;
}Source
val pp_key :
(Format.formatter -> 'M -> unit) ->
(Format.formatter -> 'T -> unit) ->
Format.formatter ->
('M, 'T) key ->
unitSource
val show_key :
(Format.formatter -> 'M -> unit) ->
(Format.formatter -> 'T -> unit) ->
('M, 'T) key ->
stringSource
val pp_property :
(Format.formatter -> 'M -> unit) ->
(Format.formatter -> 'T -> unit) ->
Format.formatter ->
('M, 'T) property ->
unitSource
val show_property :
(Format.formatter -> 'M -> unit) ->
(Format.formatter -> 'T -> unit) ->
('M, 'T) property ->
stringSource
val pp :
(Format.formatter -> 'M -> unit) ->
(Format.formatter -> 'T -> unit) ->
Format.formatter ->
('M, 'T) t ->
unitSource
val show :
(Format.formatter -> 'M -> unit) ->
(Format.formatter -> 'T -> unit) ->
('M, 'T) t ->
stringSource
val pp_t' :
(Format.formatter -> 'M -> unit) ->
(Format.formatter -> 'T -> unit) ->
Format.formatter ->
('M, 'T) t' ->
unitSource
val show_t' :
(Format.formatter -> 'M -> unit) ->
(Format.formatter -> 'T -> unit) ->
('M, 'T) t' ->
string