public override void ExitHsc(HS_Gen1Parser.HscContext context) { GenerateBranches(); if(_debug) { DeclarationsToXML(); ExpressionsToXML(); StringsToFile(); } _result = new ScriptData(_scripts, _globals, _references, _expressions, _strings); }