package oasis
Tooling for building OCaml libraries and applications
Install
Dune Dependency
Authors
Maintainers
Sources
oasis-0.4.11.tar.gz
sha256=18b73deef4ed6e9a83337f24b3bbe2ded65268b3ff7309fcc00d25e57e1dc12e
md5=98492f4657c2c5b30e3b1bc945e58419
doc/oasis.base/BaseEnv/index.html
Module BaseEnv
Read-write access to 'setup.data'
Origin of the variable, if a variable has been already set with a higher origin, it won't be set again.
type definition_t = {
hide : bool;
(*Hide the variable.
*)dump : bool;
(*Dump the variable.
*)cli : cli_handle_t;
(*Command line handling for the variable.
*)arg_help : string option;
(*Help about the variable.
*)group : OASISTypes.name option;
(*Group of the variable.
*)
}
Variable type.
val schema : (origin_t, definition_t) PropList.Schema.t
Schema for environment.
val env : PropList.Data.t
Data for environment.
Expand variable that can be found in string. Variable follow definition of variable for Buffer.add_substitute
.
val var_get : OASISTypes.name -> string
Get variable.
val var_choose :
?printer:('a -> string) ->
?name:string ->
'a OASISExpr.choices ->
'a
Choose a value among conditional expressions.
val var_define :
?hide:bool ->
?dump:bool ->
?short_desc:(unit -> string) ->
?cli:cli_handle_t ->
?arg_help:string ->
?group:string ->
OASISTypes.name ->
(unit -> string) ->
unit ->
string
Define a variable.
val var_redefine :
?hide:bool ->
?dump:bool ->
?short_desc:(unit -> string) ->
?cli:cli_handle_t ->
?arg_help:string ->
?group:string ->
OASISTypes.name ->
(unit -> string) ->
unit ->
string
Define a variable or redefine it.
Display all variables, even hidden one.
val var_all : unit -> OASISTypes.name list
Get all variables.
val default_filename : OASISContext.source_filename
Environment default file.
val load :
ctxt:OASISContext.t ->
?allow_empty:bool ->
?filename:OASISContext.source_filename ->
unit ->
unit
Initialize environment.
val dump :
ctxt:OASISContext.t ->
?filename:OASISContext.source_filename ->
unit ->
unit
Save environment on disk.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>