Exemple #1
0
        public override void CodeGen(OutputContext output)
        {
            var name = Label.MangledName ?? Label.Name;

            output.PrintName(name);
            output.Colon();
            Body.Print(output);
        }
Exemple #2
0
        public override void CodeGen(OutputContext output)
        {
            output.Print(this is AstBreak ? "break" : "continue");
            if (Label != null)
            {
                output.Space();
                var name = Label.Thedef?.MangledName ?? Label.Thedef?.Name ?? Label.Name;
                output.PrintName(name);
            }

            output.Semicolon();
        }
Exemple #3
0
 public override void CodeGen(OutputContext output)
 {
     output.PrintName(MangledName ?? Name);
 }