The debugger helper now inserts a debugger; statement directly into the compiled template.
Extensions can add instructions
Instructions aren't really passes anymore - they happen after the passes are done (sort of like the code generator and post process).
This is necessary to allow extensions to add instructions. Before buildInstructions was one of the extensions, and allow extensions to extend extensions would have been a little too wild.
The compiler now has a ready method that should be called before the compiler is used. The ready method is called after all of the extensions have been added by the application code.
What is included in this PR:
debugger;
statement directly into the compiled template.buildInstructions
was one of the extensions, and allow extensions to extend extensions would have been a little too wild.ready
method that should be called before the compiler is used. Theready
method is called after all of the extensions have been added by the application code.