public override void ExitModule(HorseshoeParser.ModuleContext context) { PopIndent(); m_writer.WriteLine("}"); m_symbols.PopScope(); m_inModule = false; }
public override void EnterModule(HorseshoeParser.ModuleContext context) { m_writer.WriteLine("module {0} {{", context.name.GetText()); PushIndent(); m_symbols.PushScope(context); m_inModule = true; }