package melange

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

Module Object.PropertySource

Sourcetype ('M, 'T) key =
  1. | StringLiteral of 'T * 'M StringLiteral.t
  2. | NumberLiteral of 'T * 'M NumberLiteral.t
  3. | BigIntLiteral of 'T * 'M BigIntLiteral.t
  4. | Identifier of ('M, 'T) Identifier.t
  5. | PrivateName of 'M PrivateName.t
  6. | Computed of ('M, 'T) ComputedKey.t
Sourceand ('M, 'T) t = 'M * ('M, 'T) t'
Sourceand ('M, 'T) t' =
  1. | Init of {
    1. key : ('M, 'T) key;
    2. value : ('M, 'T) Expression.t;
    3. shorthand : bool;
    }
  2. | Method of {
    1. key : ('M, 'T) key;
    2. value : 'M * ('M, 'T) Function.t;
    }
  3. | Get of {
    1. key : ('M, 'T) key;
    2. value : 'M * ('M, 'T) Function.t;
    3. comments : ('M, unit) Syntax.t option;
    }
  4. | Set of {
    1. key : ('M, 'T) key;
    2. value : 'M * ('M, 'T) Function.t;
    3. comments : ('M, unit) Syntax.t option;
    }
Sourceval pp_key : (Format.formatter -> 'M -> unit) -> (Format.formatter -> 'T -> unit) -> Format.formatter -> ('M, 'T) key -> unit
Sourceval show_key : (Format.formatter -> 'M -> unit) -> (Format.formatter -> 'T -> unit) -> ('M, 'T) key -> string
Sourceval pp : (Format.formatter -> 'M -> unit) -> (Format.formatter -> 'T -> unit) -> Format.formatter -> ('M, 'T) t -> unit
Sourceval show : (Format.formatter -> 'M -> unit) -> (Format.formatter -> 'T -> unit) -> ('M, 'T) t -> string
Sourceval pp_t' : (Format.formatter -> 'M -> unit) -> (Format.formatter -> 'T -> unit) -> Format.formatter -> ('M, 'T) t' -> unit
Sourceval show_t' : (Format.formatter -> 'M -> unit) -> (Format.formatter -> 'T -> unit) -> ('M, 'T) t' -> string