/// <summary> /// Parse a <see cref="For"/>. /// </summary> public static BlockStatement Parse(Parser parser, CodeObject parent, ParseFlags flags) { For @for = new For(parser, parent); if (AutomaticCodeCleanup && !parser.IsGenerated) { // Normalize 'for (;;)' to 'while (true)' (with a null conditional) if (@for._initializations == null && @for._conditional == null && @for._iterations == null && [email protected]) { While @while = new While(@for); @while.SetLineCol(@for); return(@while); } } return(@for); }