Skip to content

CAN should fire a SCRATCHFILE_PARSED event when the scratchfile is parsed

CAN should parse the scratchfile once it has been updated. Once CAN has successfully parsed the scratchfile, the SCRATCHFILE_PARSED event should be fired, with the AST included as an argument. To allow other parts of the software to respond.

If the parsing is not successful, CAN should fire a SCRATCHFILE_ERROR event.