package css

  1. Overview
  2. Docs
CSS parser and printer

Install

Dune Dependency

Authors

Maintainers

Sources

ocaml-css-0.3.0.tar.bz2
md5=70981bffdf5df82fd8ed20eb61b62e4d
sha512=45083ab20d89e3289bfdee0eb32717b8e37f7b0aedf6652afaa7a96008c9b35981c451be82d63d070e27c7ec0087619f2c0271301645907a8897163b8f49fd3d

doc/css/Css/Vp/index.html

Module Css.VpSource

Value parsers.

Sourceval important : T.ctx -> bool Angstrom.t
Sourceval number : T.ctx -> float Angstrom.t
Sourceval string_uescape : char -> Uchar.t Angstrom.t
Sourceval string_ : char -> T.ctx -> Buffer.t -> bool -> string Angstrom.t
Sourceval delim_string : char -> T.ctx -> T.str Angstrom.t
Sourceval string : T.ctx -> T.str Angstrom.t
Sourceval is_unescaped_ident_char : char -> bool
Sourceval ident_ : T.ctx -> 'a -> Buffer.t -> bool -> (string * ('a * T.pos)) Angstrom.t
Sourceval parse_ident : T.ctx -> 'a -> (Buffer.t -> 'b) -> (string * ('a * T.pos)) Angstrom.t
Sourceval ident_hyphen : T.ctx -> 'a -> (string * ('a * T.pos)) Angstrom.t
Sourceval ident_digit : T.ctx -> char -> 'a -> (string * ('a * T.pos)) Angstrom.t
Sourceval ident : T.ctx -> (string * T.loc) Angstrom.t
Sourceval var_value : T.ctx -> string Angstrom.t
Sourceval of_kws : [< Kw.keyword ] as 'a list -> T.ctx -> 'a Angstrom.t
Sourceval left_center_right : T.ctx -> T.lcr Angstrom.t
Sourceval global_kw_or : (T.ctx -> 'a Angstrom.t) -> T.ctx -> 'a T.p_value Angstrom.t
Sourceval fun_parser : T.ctx -> ?name:string -> 'a Angstrom.t -> (string * 'a) Angstrom.t
Sourceval fixed_fun_parser : T.ctx -> string -> 'a Angstrom.t -> 'a Angstrom.t
Sourceval to_closing_rpar : unit -> string Angstrom.t
Sourceval var : T.ctx -> (string * string option) Angstrom.t
Sourceval p_value : (T.ctx -> 'a Angstrom.t) -> T.ctx -> 'a T.p_value Angstrom.t
Sourceval iri_of_string : T.ctx -> T.str -> Iri.t Angstrom.t
Sourceval url_string : T.ctx -> Iri.t Angstrom.t
Sourceval url_or_string : T.ctx -> Iri.t Angstrom.t
Sourceval fun_args : T.ctx -> string Angstrom.t
Sourceval function_ : T.ctx -> [> `Function of string * string ] Angstrom.t
Sourceval gradient_kind : [> `Linear | `Radial | `Repeating_linear | `Repeating_radial ] Angstrom.t
Sourceval gradient : T.ctx -> [> `Gradient of [> `Linear | `Radial | `Repeating_linear | `Repeating_radial ] * string ] Angstrom.t
Sourceval percentage : T.ctx -> float Angstrom.t
Sourceval unit_ : ('a -> string) -> 'a list -> 'a Angstrom.t
Sourceval rel_length_unit : T.rel_length_unit Angstrom.t
Sourceval abs_length_unit : T.abs_length_unit Angstrom.t
Sourceval resolution_unit : T.resolution_unit Angstrom.t
Sourceval dimension_ : T.ctx -> parser_name:string -> ?default_unit:'a -> 'a Angstrom.t -> (float * 'a) Angstrom.t
Sourceval length : T.ctx -> (float * T.length_unit) Angstrom.t
Sourceval angle : T.ctx -> (float * T.angle_unit) Angstrom.t
Sourceval time : T.ctx -> (float * T.time_unit) Angstrom.t
Sourceval freq : T.ctx -> (float * T.freq_unit) Angstrom.t
Sourceval flex : T.ctx -> (float * T.flex_unit) Angstrom.t
Sourceval resolution : T.ctx -> (float * T.resolution_unit) Angstrom.t
Sourceval dimension : T.ctx -> (float * T.dim_unit) Angstrom.t
Sourceval percentage_ : T.ctx -> string -> [> `Percent of float ] as 'a Angstrom.t -> 'a Angstrom.t
Sourceval length_percentage : T.ctx -> T.length_percentage Angstrom.t
Sourceval angle_percentage : T.ctx -> [> `Angle of float * T.angle_unit | `Percent of float ] Angstrom.t
Sourceval hexa_color : [> `Rgba of float * float * float * float ] Angstrom.t
Sourceval rgb_args : T.ctx -> (float * float * float) Angstrom.t
Sourceval rgba_args : T.ctx -> (float * float * float * float) Angstrom.t
Sourceval x_axis_pos_kw : T.ctx -> T.x_position_kw Angstrom.t
Sourceval y_axis_pos_kw : T.ctx -> T.y_position_kw Angstrom.t
Sourceval axis_position_ : (T.ctx -> [> `Center ] as 'a Angstrom.t) -> T.ctx -> 'a T.axis_pos Angstrom.t
Sourceval axis_position : T.ctx -> T.axis_position Angstrom.t
Sourceval size : ?name:string -> T.ctx -> T.size Angstrom.t
Sourceval max_size : ?name:string -> T.ctx -> T.max_size Angstrom.t
Sourceval accent_color : T.ctx -> T.accent_color Angstrom.t
Sourceval baseline_position : T.ctx -> T.baseline_position Angstrom.t
Sourceval content_position : T.ctx -> T.content_position Angstrom.t
Sourceval content_position_lr : T.ctx -> T.content_position_lr Angstrom.t
Sourceval self_position : T.ctx -> T.self_position Angstrom.t
Sourceval self_position_lr : T.ctx -> T.self_position_lr Angstrom.t
Sourceval content_distribution : T.ctx -> T.content_distribution Angstrom.t
Sourceval align_content : T.ctx -> T.align_content Angstrom.t
Sourceval align_items : T.ctx -> T.align_items Angstrom.t
Sourceval align_self : T.ctx -> T.align_self Angstrom.t
Sourceval aspect_ratio : T.ctx -> T.aspect_ratio Angstrom.t
Sourceval background_ : string -> (T.ctx -> 'a Angstrom.t) -> T.ctx -> 'a list Angstrom.t
Sourceval background_attachment_ : T.ctx -> T.background_attachment_ Angstrom.t
Sourceval background_attachment : T.ctx -> T.background_attachment Angstrom.t
Sourceval background_clip_ : T.ctx -> T.background_clip_kw Angstrom.t
Sourceval background_clip : T.ctx -> T.background_clip Angstrom.t
Sourceval background_image_ : T.ctx -> T.background_image_ Angstrom.t
Sourceval background_image : T.ctx -> T.background_image Angstrom.t
Sourceval background_origin_ : T.ctx -> T.background_origin_ Angstrom.t
Sourceval background_origin : T.ctx -> T.background_origin Angstrom.t
Sourceval background_position_x : T.ctx -> T.background_position_x Angstrom.t
Sourceval background_position_y : T.ctx -> T.background_position_y Angstrom.t
Sourceval background_repeat_ : T.ctx -> T.background_repeat_ Angstrom.t
Sourceval background_repeat : T.ctx -> T.background_repeat Angstrom.t
Sourceval background_size : T.ctx -> T.background_size Angstrom.t
Sourceval background_color : T.ctx -> T.background_color Angstrom.t
Sourceval line_style : T.ctx -> T.line_style Angstrom.t
Sourceval border_collapse : T.ctx -> T.border_collapse Angstrom.t
Sourceval border_spacing : T.ctx -> T.border_spacing Angstrom.t
Sourceval border_width : T.ctx -> T.border_width Angstrom.t
Sourceval flex_basis : T.ctx -> T.flex_basis Angstrom.t
Sourceval flex_direction : T.ctx -> T.flex_direction Angstrom.t
Sourceval font_family_generic : T.ctx -> T.font_family_generic_kw Angstrom.t
Sourceval font_family_ : T.ctx -> [> `Family of string | `Generic of T.font_family_generic_kw ] Angstrom.t
Sourceval font_family : T.ctx -> T.font_family Angstrom.t
Sourceval font_kerning : T.ctx -> T.font_kerning Angstrom.t
Sourceval font_size_kw : T.ctx -> T.font_size_kw Angstrom.t
Sourceval font_stretch_kw : T.ctx -> T.font_stretch_kw Angstrom.t
Sourceval font_stretch : T.ctx -> T.font_stretch Angstrom.t
Sourceval font_style_kw : T.ctx -> T.font_style_kw Angstrom.t
Sourceval font_style : T.ctx -> T.font_style Angstrom.t
Sourceval font_variant_alt : T.ctx -> T.font_variant_alt Angstrom.t
Sourceval font_variant_alternates : T.ctx -> T.font_variant_alternates Angstrom.t
Sourceval font_variant_caps : T.ctx -> T.font_variant_caps Angstrom.t
Sourceval font_variant_east_asian : T.ctx -> T.font_variant_east_asian Angstrom.t
Sourceval font_variant_emoji : T.ctx -> T.font_variant_emoji Angstrom.t
Sourceval font_variant_ligatures : T.ctx -> T.font_variant_ligatures Angstrom.t
Sourceval font_variant_numeric : T.ctx -> T.font_variant_numeric Angstrom.t
Sourceval font_variant_position : T.ctx -> T.font_variant_position Angstrom.t
Sourceval font_weight : T.ctx -> T.font_weight Angstrom.t
Sourceval justify_content : T.ctx -> T.justify_content Angstrom.t
Sourceval justify_items : T.ctx -> T.justify_items Angstrom.t
Sourceval justify_self : T.ctx -> T.justify_self Angstrom.t
Sourceval number_ : T.ctx -> [> `Number of float ] Angstrom.t
Sourceval line_height : T.ctx -> T.line_height Angstrom.t
Sourceval list_style_image : T.ctx -> T.list_style_image Angstrom.t
Sourceval list_style_position_kw : T.ctx -> T.list_style_position_kw Angstrom.t
Sourceval list_style_position : T.ctx -> T.list_style_position Angstrom.t
Sourceval list_style_type : T.ctx -> T.list_style_type Angstrom.t
Sourceval text_align : T.ctx -> T.text_align Angstrom.t
Sourceval text_align_last : T.ctx -> T.text_align_last Angstrom.t
Sourceval vertical_align : T.ctx -> T.vertical_align Angstrom.t
Sourceval visibility : T.ctx -> T.visibility Angstrom.t
Sourceval white_space : T.ctx -> T.white_space Angstrom.t
Sourceval word_spacing : T.ctx -> T.word_spacing Angstrom.t
Sourceval handle_end : (T.ctx -> 'a Angstrom.t) -> T.ctx -> 'a Angstrom.t
OCaml

Innovation. Community. Security.