module BaseEnv:sig..end
type origin_t =
| |
ODefault |
(* |
Default computed value.
| *) |
| |
OGetEnv |
(* |
Extracted from environment, using Sys.getenv.
| *) |
| |
OFileLoad |
(* |
From loading file setup.data.
| *) |
| |
OCommandLine |
(* |
Set on command line.
| *) |
type cli_handle_t =
| |
CLINone |
(* |
No command line argument.
| *) |
| |
CLIAuto |
(* |
Build using variable name and help text.
| *) |
| |
CLIWith |
(* |
Use prefix --with-.
| *) |
| |
CLIEnable |
(* |
Use --enable/--disable.
| *) |
| |
CLIUser of |
(* |
Fully define the command line arguments.
| *) |
type definition_t = {
|
hide : |
(* |
Hide the variable.
| *) |
|
dump : |
(* |
Dump the variable.
| *) |
|
cli : |
(* |
Command line handling for the variable.
| *) |
|
arg_help : |
(* |
Help about the variable.
| *) |
|
group : |
(* |
Group of the variable.
| *) |
val schema : (origin_t, definition_t) PropList.Schema.tval env : PropList.Data.tval var_expand : string -> stringBuffer.add_substitute.val var_get : OASISTypes.name -> stringval var_choose : ?printer:('a -> string) -> ?name:string -> 'a OASISExpr.choices -> 'aval var_protect : string -> stringval var_define : ?hide:bool ->
?dump:bool ->
?short_desc:(unit -> string) ->
?cli:cli_handle_t ->
?arg_help:string ->
?group:string -> OASISTypes.name -> (unit -> string) -> unit -> stringval var_redefine : ?hide:bool ->
?dump:bool ->
?short_desc:(unit -> string) ->
?cli:cli_handle_t ->
?arg_help:string ->
?group:string -> OASISTypes.name -> (unit -> string) -> unit -> stringval var_ignore : (unit -> string) -> unitvar_define. : unit -> stringval var_all : unit -> OASISTypes.name listval default_filename : OASISTypes.host_filenameval load : ?allow_empty:bool -> ?filename:OASISTypes.host_filename -> unit -> unitval unload : unit -> unitval dump : ?filename:OASISTypes.host_filename -> unit -> unitval print : unit -> unitval args : unit -> (Arg.key * Arg.spec * Arg.doc) list