package melange

  1. Overview
  2. Docs
Toolchain to produce JS from Reason/OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

melange-2.1.0.tbz
sha256=6112ecfe8185871b57ed570e0809b8101d7482b18b19e2d9200c90275dc6a32c
sha512=ee3a48e7d066bc8dd9a6a0c05a6e2e1ef117d4e7e545a710860d5f017d96c13acc39f6c26274b895ee8d23c324ccfb9292476c22059ac6f90b7393dea9f30db2

doc/melange.js_parser/Js_parser/Flow_ast/Expression/Object/Property/index.html

Module Object.Property

type ('M, 'T) key =
  1. | Literal of 'T * 'M Literal.t
  2. | Identifier of ('M, 'T) Identifier.t
  3. | PrivateName of 'M PrivateName.t
  4. | Computed of ('M, 'T) ComputedKey.t
and ('M, 'T) t = 'M * ('M, 'T) t'
and ('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;
    }
OCaml

Innovation. Community. Security.