package ppx_css
A ppx that takes in css strings and produces a module for accessing the unique names defined within
Install
Dune Dependency
Authors
Maintainers
Sources
v0.17.0.tar.gz
sha256=e60e31aadd820b131f7f05827f369164564400bd4fd51c199d066abf7e68753f
doc/ppx_css.syntax/Ppx_css_syntax/String_constant/index.html
Module Ppx_css_syntax.String_constant
Source
Source
type t = {
css_string : string;
string_loc : Ppxlib.location;
(*Equivalent to where the "stylesheet" identifier is located from within the call to ppx_css. This is used to potentially give merlin information for MerlinTypeOf to know the type of the
*)stylesheet
function.delimiter : string option;
}
String_constant.t
represents an OCaml string constant from ppxlib's AST.
from ppxlib's docs:
Constant string such as ["constant"] [{delim|other constant|delim}]. The location span the content of the string, without the delimiters.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>