package ppx_string
Ppx extension for string interpolation
Install
dune-project
Dependency
Authors
Maintainers
Sources
v0.17.0.tar.gz
sha256=06b4e061fb5e2b2a85298c9829cc31a1af0a9b8e63fdee9048c76ec8d52d16ef
doc/ppx_string/Ppx_string/Config/index.html
Module Ppx_string.Config
Source
Used to configure different instances of this ppx. May be used, for example, to add preprocessing, or to interpolate a different string-like type.
Used to configure different instances of this ppx. May be used, for example, to add preprocessing, or to interpolate a different string-like type.
Source
type t = {
fully_qualified_runtime_module : Ppxlib.Longident.t;
(*Where to find an implementation of
*)Ppx_string_runtime.S
. The implementation of[%string]
is atLdot (Lident "Ppx_string_runtime", "For_string")
conversion_function_name : Base.string;
(*Conversion function implied by
*)"%{expr#Module}"
, e.g."to_string"
.preprocess_before_parsing : (Base.string -> Base.string) Base.option;
(*Preprocessing to apply before parsing the string for interpolation. If
*)None
, source locations can be computed precisely based on the result of parsing.
}
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>