Liquidsoap_lang.Parser_helper
Helper functions for the parser.
module Term = Parsed_term
module Vars = Liquidsoap_lang.Term_base.Vars
type arglist = Term.fun_arg list
type pos = Parsed_term.pos
type let_opt_el = string * Term.t
val append_comment : pos:pos -> string -> unit
val attach_comments : Term.t -> unit
val let_args :
decoration:Term.let_decoration ->
pat:Term.pattern ->
?arglist:arglist ->
def:Term.t ->
?cast:Term.type_annotation ->
unit ->
Term._let
val let_decoration_of_lexer_let_decoration :
lexer_let_decoration ->
Term.let_decoration
val mk_json_assoc_object_ty :
pos:pos ->
(Parsed_term.type_annotation * string * string * string) ->
Term.type_annotation
val mk :
?comments:(pos * Parsed_term.comment) list ->
pos:pos ->
Term.parsed_ast ->
Term.t
val mk_encoder : pos:pos -> string -> Term.encoder_params -> Term.t
val args_of_json_parse : pos:pos -> (string * 'a) list -> (string * 'a) list
val render_string_ref : (pos:pos -> (char * string) -> string) Stdlib.ref
val render_string : pos:pos -> (char * string) -> string