package ocamlformat

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t =
  1. | Low
  2. | Semi
    (*

    ;

    *)
  3. | LessMinus
    (*

    <-

    *)
  4. | ColonEqual
    (*

    :=

    *)
  5. | As
    (*

    as

    *)
  6. | Comma
    (*

    ,

    *)
  7. | MinusGreater
    (*

    ->

    *)
  8. | BarBar
    (*

    or and ||

    *)
  9. | AmperAmper
    (*

    & and &&

    *)
  10. | InfixOp0
    (*

    =…, <…, >…, |…, &…, $… and !=

    *)
  11. | InfixOp1
    (*

    @… and ^…

    *)
  12. | ColonColon
    (*

    ::

    *)
  13. | InfixOp2
    (*

    +… and -…

    *)
  14. | InfixOp3
    (*

    *…, /…, %…, mod, land, lor and lxor

    *)
  15. | InfixOp4
    (*

    **…, lsl, lsr and asr

    *)
  16. | UMinus
    (*

    - and -. (prefix)

    *)
  17. | Apply
  18. | HashOp
    (*

    #…

    *)
  19. | Dot
    (*

    x.y and x#y

    *)
  20. | High
  21. | Atomic

Precedence levels of Ast terms.

val compare : t -> t -> Ocamlformat_stdlib.int
val equal : t -> t -> Ocamlformat_stdlib.bool
val to_string : t -> Ocamlformat_stdlib.string
OCaml

Innovation. Community. Security.