Ppx_stringSourceUsed to configure different instances of this ppx. May be used, for example, to add preprocessing, or to interpolate a different string-like type.
val parse :
config:Config.t ->
string_loc:Ppxlib.location ->
delimiter:Base.string Base.option ->
Base.string ->
Parse_result.tParse a string to find interpolated substrings.
Interpret an interpolated string as an expression, including %conversions#String and %padding#:8.
val expand :
config:Config.t ->
expr_loc:Ppxlib.location ->
string_loc:Ppxlib.location ->
string:Base.string ->
delimiter:Base.string Base.option ->
Ppxlib.expressionCombines parse, interpret, and concatenation to expand an interpolated string to an expression implementing it.
Construct an Extension.t implementing the configured interpolation ppx.