コード例 #1
0
 private static void WriteGotoStatement(BoundGotoStatement node, IndentedTextWriter writer)
 {
     writer.WriteKeyword("goto ");
     writer.WriteIdentifier(node.Label.Name);
     writer.WriteLine();
 }
コード例 #2
0
 /// <summary>
 /// Rewrites a goto statement.
 /// </summary>
 /// <param name="node">The goto statement to rewrite.</param>
 /// <returns>The rewritten goto statement.</returns>
 protected virtual BoundStatement RewriteGotoStatement(BoundGotoStatement node)
 {
     return(node);
 }