slice2js1
The slice to javascript compiler.
Usage
slice2js [options]
[files]
Overview
slice2js compiles Slice files to JavaScript. The macro __SLICE2JS__ is defined during this compilation.
Full documentation for slice2js is available online at:
https://doc.zeroc.com/ice/3.7/language-mappings/javascript-mapping/client-side-slice-to-javascript-mapping/slice2js-command-line-options
Options
-
-h, --help -
Displays help message.
-
-v, --version -
Displays the compiler version.
-
-DNAME -
Defines the preprocessor symbol NAME.
-
-DNAME=DEF -
Defines the preprocessor symbol NAME with the value DEF.
-
-UNAME -
Undefines the preprocessor symbol NAME.
-
-IDIR -
Add the directory DIR to the search path for #include directives.
-
-E -
Print the preprocessor output on stdout.
-
--output-dir DIR -
Place the generated files into directory DIR.
-
-d, --debug -
Print debug information showing the operation of the Slice parser.
-
--depend -
Print dependency information to standard output by default, or to the file specified by the --depend-file option. No code is generated when this option is specified.
-
--depend-xml -
Print dependency information in XML format to standard output by default, or to the file specified by the --depend-file option. No code is generated when this option is specified.
-
--depend-file FILE -
Directs dependency information to the specified file. The output format depends on whether --depend or --depend-xml is also specified.
-
--depend-json -
Print dependency information in JSON format to standard output by default, or to the file specified by the --depend-file option. No code is generated when this option is specified.
-
--validate -
Checks the provided command-line options for correctness, and does not generate any code.
-
--stdout -
Print generated code to standard output.
-
--typescript -
Generate TypeScript declaration files.
Releases
6 releases since Debian 9 (Stretch); the text changed 2 times.
--depend since Debian 10 (Buster);
--depend-file since Debian 10 (Buster);
--depend-json since Debian 10 (Buster);
--depend-xml since Debian 10 (Buster);
--stdout since Debian 10 (Buster);
--typescript since Debian 11 (Bullseye);
--validate since Debian 10 (Buster).
--ice until Debian 9 (Stretch);
--underscore until Debian 9 (Stretch).