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.15.1.tar.gz
sha256=2f23a4b3e3cfccc25345d25a4d9ab5c64ca7fe6dbf293aa3bcce907a0534324c
doc/ppx_css.css_parser/Css_parser/Lexer/index.html
Module Css_parser.Lexer
CSS lexer. * Reference: * https://www.w3.org/TR/css-syntax-3/ * https://github.com/yahoo/css-js/blob/master/src/l/css.3.l
module Sedlexing = Lex_buffer
exception LexingError of Lexing.position * string
Signals a lexing error at the provided source location.
exception ParseError of Menhir_parser.token * Lexing.position * Lexing.position
Signals a parsing error at the provided token and its start and end * locations.
val position_to_string : Lexing.position -> string
val dimension_to_string : Types.dimension -> string
val token_to_string : Menhir_parser.token -> string
val discard_comments_and_white_spaces : Sedlexing.t -> bool
val get_next_tokens : Sedlexing.t -> bool -> Menhir_parser.token list
val get_dimension : string -> Sedlexing.t -> Menhir_parser.token
val get_url : string -> Sedlexing.t -> Menhir_parser.token
val token_queue :
(Menhir_parser.token * Lexing.position * Lexing.position) Queue.t
val queue_next_tokens_with_location : Sedlexing.t -> unit
val parse :
Sedlexing.t ->
(Menhir_parser.token, 'a) MenhirLib.Convert.traditional ->
'a
val parse_string :
?container_lnum:int ->
?pos:Lexing.position ->
string ->
(Menhir_parser.token, 'a) MenhirLib.Convert.traditional ->
'a
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>