|
|
Previous commits in the stack introduced the possibility of loading .js files
to the DOM environments and keeping the content inside the corresponding JSFile
abstraction.
This commit introduces
1. writeOut method for the JSFile required by the qmlformat
2. formatting of .import .pragma library directives & helper objects
3. Adding support of JSFile in OutWriter::updatedFile
4. Tests covering in Memory formatting
Task-number: QTBUG-117849
Change-Id: I741f06058aec8a280f64b05a755d25fc8fe1d1f7
Reviewed-by: Sami Shalayel <sami.shalayel@qt.io>
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
|