Interface HotSwapCompilerPass

    • Method Detail

      • hotSwapScript

        void hotSwapScript​(Node scriptRoot,
                           Node originalRoot)
        Process the JS with root node root. This is supposed to be significantly faster compared to corresponding full-compiler passes.
        Parameters:
        scriptRoot - Root node corresponding to the file that is modified, should be of type Token.SCRIPT.
        originalRoot - Root node corresponding to the original version of the file that is modified. Should be of type token.SCRIPT.