package ppx_css
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
A ppx that takes in css strings and produces a module for accessing the unique names defined within
Install
dune-project
Dependency
Authors
Maintainers
Sources
ppx_css-v0.15.0.tar.gz
sha256=3c789f304010f82e3c4e73da2f3dd4b269f80c7a033524fc8d268b31915f5ca3
doc/ppx_css.css_parser/Css_parser/Lex_buffer/index.html
Module Css_parser.Lex_buffer
A custom lexbuffer that automatically keeps track of the source location. This module is a thin wrapper arounds sedlexing's default buffer, which does not provide this functionality.
type t = {buf : Sedlexing.lexbuf;mutable pos : Lexing.position;mutable pos_mark : Lexing.position;mutable last_char : int option;mutable last_char_mark : int option;
}the lex buffer type
val of_sedlex : ?file:string -> ?pos:Lexing.position -> Sedlexing.lexbuf -> tval of_ascii_string : ?pos:Lexing.position -> string -> tval of_ascii_file : string -> tval mark : t -> int -> unitThe next four functions are used by sedlex internally. See https://www.lexifi.com/sedlex/libdoc/Sedlexing.html.
val backtrack : t -> intval start : t -> unitval next_loc : t -> Lexing.positionlocation of next character
val __private__next_int : t -> intval latin1 : ?skip:int -> ?drop:int -> t -> stringval utf8 : ?skip:int -> ?drop:int -> t -> stringval container_lnum_ref : int refval make_loc :
?loc_ghost:bool ->
Lexing.position ->
Lexing.position ->
Location.tval make_loc_and_fix :
?loc_ghost:bool ->
Lexing.position ->
Lexing.position ->
Location.t sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>