Foxoft.Ci.GenD.EndSwitch C# (CSharp) Method

EndSwitch() protected method

protected EndSwitch ( CiSwitch stmt ) : void
stmt CiSwitch
return void
        protected override void EndSwitch(CiSwitch stmt)
        {
            if (stmt.DefaultBody == null) {
            WriteLine("default:");
            this.Indent++;
            WriteLine("break;");
            this.Indent--;
            }
        }