package liquid_parser

  1. Overview
  2. Docs
type bound_finders = {
  1. start : Liquid_syntax.Syntax.lex_token;
  2. stop : Liquid_syntax.Syntax.lex_token;
  3. other : Liquid_syntax.Syntax.lex_token Base.list Base.option;
  4. conflicts : bound_finders Base.list Base.option;
}
val else_conflicts : bound_finders list option
val bounds_from_opener : Liquid_syntax.Syntax.lex_token -> bound_finders option
val remove_last : 'a Base.List.t -> 'a Base.List.t
val pair_up_bounds : 'a list -> ('a * 'a) Base__List.t
type conflict_type =
  1. | Start
  2. | End
val has_start_conflict : bound_finders -> Liquid_syntax.Syntax.lex_token -> bool
val has_end_conflict : bound_finders -> Liquid_syntax.Syntax.lex_token -> bool
val find_bounds : Liquid_syntax.Syntax.lex_token Base.List.t -> Base__Int.t -> (Base__Int.t * Base__Int.t) Base__List.t
val bounds_to_chunks : 'a Base.List.t -> (Base__Int.t * Base__Int.t) Base.List.t -> 'a Base.List.t Base.List.t
val stop_point_from_bounds : ('a * Base__Int.t) Base.List.t -> Base__Int.t
OCaml

Innovation. Community. Security.