Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
slice2js(1)		     General Commands Manual		     slice2js(1)

NAME
     slice2js - The Slice to JavaScript compiler.

SYNOPSIS
     slice2js [options] [files]

DESCRIPTION
     slice2js  compiles Slice files to JavaScript. The macro __SLICE2JS__ is de-
     fined 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 de-
	    fault, 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  speci-
	    fied.

     --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.

SEE ALSO
     slice2cpp(1), slice2cs(1), slice2java(1),	slice2matlab(1),  slice2objc(1),
     slice2php(1), slice2py(1), slice2rb(1), slice2swift(1)

								     slice2js(1)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=slice2js&sektion=1&manpath=FreeBSD+Ports+15.1.quarterly>

home | help