Class JavaScriptWriter
java.lang.Object
de.inetsoftware.jwebassembly.javascript.JavaScriptWriter
Write JavaScipt glue code.
- Author:
- Volker Berlin
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
JavaScriptWriter
Create a new instance- Parameters:
target- the target for the module data.
-
-
Method Details
-
addImport
Add an import from a needed function with import annotation.- Parameters:
module- the module namename- the function nameannotationValues- the other values of the annotation
-
finish
Finish the accumulate of imports and write the JavaScript file.- Throws:
IOException- if any I/O error occur
-