示例#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(SyntaxKind.ColonToken);
            writer.WriteLine();

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