Esempio n. 1
0
        private static void WriteLabelStatement(BoundLabelStatement node, IndentedTextWriter writer)
        {
            var unindent = writer.Indent > 0;

            if (unindent)
            {
                writer.Indent--;
            }

            writer.WritePunctuation(node.Label.Name);
            writer.WritePunctuation(":");
            writer.WriteLine();

            if (unindent)
            {
                writer.Indent++;
            }
        }
Esempio n. 2
0
 protected virtual BoundStatement RewriteLabelStatement(BoundLabelStatement node)
 {
     return(node);
 }