bd1c0e6d7b
Add support for union types that indicate a default type for targets that do not support unions, or do not support unions in certain positions (e.g. output properties). The NodeJS backend makes use of this in combination with a new flag, `disableUnionOutputTypes`, to avoid generating unions in output types. These changes also refactor the various module -> package/module/namespace mapping methods so that these entities can be fetched by their language name rather than their token. |
||
---|---|---|
.. | ||
doc.go | ||
doc_test.go | ||
gen.go | ||
gen_intrinsics.go | ||
gen_program.go | ||
gen_program_expressions.go | ||
gen_program_test.go | ||
importer.go | ||
templates.go | ||
utilities.go |