package ppx_yojson

  1. Overview
  2. Docs
PPX extension for Yojson literals and patterns

Install

Dune Dependency

Authors

Maintainers

Sources

ppx_yojson-1.3.0.tbz
sha256=df1b4246969d6e1e2ff53c4c41a674c9653f214d93ad1421788ba55cf539266f
sha512=a4b5663ee2dec0c0fe0dc3e4f5ec59a1d23e057c1759c2433b45318c3a64f709e7e3ab91c98b9a4e1e5c9e3290a2772f5b7450ecf58f6280e52df033a60d877a

doc/ppx_yojson._lib/Ppx_yojson_lib/Integer_const/index.html

Module Ppx_yojson_lib.Integer_constSource

Helper functions to deal with AST's integer literals

Sourceval is_binary : string -> bool

Return whether this integer string representation is in binary form. i.e. if its in the form 0b100101.

Sourceval is_octal : string -> bool

Return whether this integer string representation is in octal form. i.e. if its in the form 0o1702.

Sourceval is_hexadecimal : string -> bool

Return whether this integer string representation is in hexadecimal form. i.e. if its in the form 0ox1a9f.

OCaml

Innovation. Community. Security.