package smtml

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

Module Ty.TriopSource

Sourcetype t =
  1. | Ite
    (*

    If-then-else.

    *)
  2. | List_set
    (*

    Set an element in a list.

    *)
  3. | String_extract
    (*

    Extract a substring. (str.substr String Int Int)

    *)
  4. | String_replace
    (*

    Replace a substring. (str.replace String String String)

    *)
  5. | String_index
    (*

    Find the index of a substring. (str.indexof String String Int)

    *)
  6. | String_replace_all
    (*

    Replace all occurrences of a substring. (str.replace_all String String String)

    *)
  7. | String_replace_re
    (*

    Replace using a regular expression. (str.replace_re String RegLan String)

    *)
  8. | String_replace_re_all
    (*

    Replace all occurrences using a regular expression. (str.replace_re_all String RegLan String)

    *)

The type t represents ternary operations.

Sourceval compare : t -> t -> Ppx_deriving_runtime.int
Sourceval hash : t -> int
Sourceval equal : t -> t -> bool

equal op1 op2 checks if ternary operations op1 and op2 are equal.

Sourceval pp : t Fmt.t

pp fmt op pretty-prints the ternary operation op using the formatter fmt.