package xtmpl
-
xtmpl.js
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
module SMap : sig ... end
val pos : ?file:string -> line:int -> bol:int -> char:int -> unit -> pos
val string_of_loc : loc -> string
type !'a with_loc = 'a * loc option
type error = loc * string
exception Error of error
val error : loc -> string -> 'a
val string_of_error : (loc * string) -> string
module Name_ord : sig ... end
module Name_map : sig ... end
module Name_set : sig ... end
module SSet : sig ... end
type !'a attributes = 'a Name_map.t
type str_attributes = string with_loc attributes
val node : ?loc:loc -> name -> ?atts:str_attributes -> tree list -> tree
val prolog_comment : ?loc:loc -> string -> prolog_misc
val prolog_pi : ?loc:loc -> name -> string -> prolog_misc
val xml_decl : ?loc:loc -> str_attributes -> xml_decl
val prolog : ?decl:xml_decl -> ?doctype:doctype -> prolog_misc list -> prolog
val default_parse_param : parse_param
val unescape : parse_param -> ?entities:bool -> string -> string
val from_string : ?param:parse_param -> ?pos_start:pos -> string -> tree list
val from_channel :
?param:parse_param ->
?pos_start:pos ->
in_channel ->
tree list
val from_file : ?param:parse_param -> string -> tree list
val doc_from_string :
?param:parse_param ->
?pos_start:pos ->
string ->
tree doc
val doc_from_channel :
?param:parse_param ->
?pos_start:pos ->
in_channel ->
tree doc
val doc_from_file : ?param:parse_param -> string -> tree doc
val to_string : tree list -> string
val atts_empty : 'a attributes
val atts_of_list : ?atts:'a attributes -> (name * 'a) list -> 'a attributes
val atts_one : ?atts:'a attributes -> name -> 'a -> 'a attributes
val atts_remove : name -> 'a attributes -> 'a attributes
val atts_replace : name -> 'a -> 'a attributes -> 'a attributes
val get_att : 'a attributes -> name -> 'a option
val opt_att : str_attributes -> ?def:string -> name -> string * loc option
val string_of_atts : str_attributes -> string