예제 #1
0
        public override void GenerateCode(ICodeGeneratorService codeGenSvc)
        {
            codeGenSvc.BeginIf(Code);
            TrueInstructions.GenerateCode(codeGenSvc);

            if (FalseInstructions.HasInstructions)
            {
                codeGenSvc.Else();
                FalseInstructions.GenerateCode(codeGenSvc);
            }

            codeGenSvc.EndIf();
        }