BaseEnvRead-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.tSchema for environment.
val env : PropList.Data.tData for environment.
Expand variable that can be found in string. Variable follow definition of variable for Buffer.add_substitute.
val var_get : OASISTypes.name -> stringGet variable.
val var_choose :
?printer:('a -> string) ->
?name:string ->
'a OASISExpr.choices ->
'aChoose 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 ->
stringDefine 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 ->
stringDefine a variable or redefine it.
Display all variables, even hidden one.
val var_all : unit -> OASISTypes.name listGet all variables.
val default_filename : OASISContext.source_filenameEnvironment default file.
val load :
ctxt:OASISContext.t ->
?allow_empty:bool ->
?filename:OASISContext.source_filename ->
unit ->
unitInitialize environment.
val dump :
ctxt:OASISContext.t ->
?filename:OASISContext.source_filename ->
unit ->
unitSave environment on disk.