package elpi
val init :
?flags:flags ->
builtins:builtins list ->
?file_resolver:(?cwd:string -> file:string -> unit -> string) ->
unit ->
elpi
Initialize ELPI.
init
must be called before invoking the parser.
Set tracing options. trace argv
can be called before Execute
. returns options not known to the trace system.
val set_warn : (?loc:Ast.Loc.t -> string -> unit) -> unit
Override default runtime error functions (they call exit)
val set_error : (?loc:Ast.Loc.t -> string -> 'a) -> unit
val set_anomaly : (?loc:Ast.Loc.t -> string -> 'a) -> unit
val set_type_error : (?loc:Ast.Loc.t -> string -> 'a) -> unit
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>