...
These are the options that FalconJX adds to Falcon:
-js-output-type targets Options to change some aspects ofSpecify the output. FLEXJS format(s). May contain multiple values, separated by commas. JSFlex,SWF is the default for mxmlc. AlsoJS supportedis isthe JSCdefault for "no-SWF" workflows, and NODEasjsc. JSNode is the default for asnodec.
-source-map Generate a source map to allow JavaScript debuggers to display and add breakpoints to the original ActionScript and MXML.
-closure-lib Path to Google Closure Library. Defaults to a known place in the FlexJS SDK
-sdk-js-lib Path to other folder of JS files to resolve class dependencies
-external-js-lib Path to folder of externs JS files
-strict-publish Passes Strict option to Google Closure Compiler
-keep-asdoc Copies ASDoc into JSDoc
-remove-circulars Tries to eliminate goog.requires from output that causes GCC to error about circular dependencies
-skip-transpile When used with -debug=false, doesn't generate the bin/js-debug version so you can just pass what is in js-debug to GCC for optimization (in case you manually edited something in js-debug)
-js-compiler-option Other options to pass to GCC
-js-output-optimization Allowed options: skipFunctionCoercions skipAsCoercions These options cause the compiler to not generate calls to Language.is and Language.as.
-js-output-type (Deprecated) Options to change some aspects of the output. FLEXJS is the default. Also supported is JSC for "no-SWF" workflows, and NODE.
ExternC arguments
ExternC has different arguments than the main compiler:
-js-root Tells ExternC to generate JS instead of AS and place it in the specified folder
-as-root Tells ExternC to generate AS and place it in the specified folder
-class-to-function Name of JS classes to output as a Function
-external Files of externs
-external-externs Not sure what this is forexterns Similar to -external-library-path for externs. Basically, a way to specify some types that are needed at compile time without including them in the final output.
-exclude (class, name) Name of method in class to skip
-field-exclude (class, field) Name of var in class to skip
-class-exclude (class) Name of class to skip
-named-module Not sure about this one either.
About js-root:
ExternC parses most JS, including some JS not already formatted as GCC Externs. Normally it outputs AS. But sometimes we want it to output true GCC Externs because otherwise GCC will complain. Eventually, ExternC could parse any JS and be used to generate Externs.