@@ -255,7 +255,7 @@ $(GNAME ElseStatement):
255
255
)
256
256
257
257
$(P $(EXPRESSION) is evaluated and must have a type that
258
- can be converted to a boolean. If it's true the
258
+ can be converted to a boolean. If it's ` true` the
259
259
$(I ThenStatement) is transferred to, else the $(I ElseStatement)
260
260
is transferred to.)
261
261
@@ -306,11 +306,11 @@ $(GNAME WhileStatement):
306
306
307
307
$(P A $(I While Statement) implements a simple loop.)
308
308
309
- $(P If the $(GLINK IfCondition) is an $(EXPRESSION) , it is evaluated and must have a type
310
- that can be converted to a boolean. If it's true the $(PSSCOPE) is executed.
311
- After the $(PSSCOPE) is executed, the $(EXPRESSION) is evaluated again, and
312
- if true the $(PSSCOPE) is executed again. This continues until the $(EXPRESSION)
313
- evaluates to false.)
309
+ $(P If the $(I IfCondition) is an *Expression* , it is evaluated and must have a type
310
+ that can be converted to a boolean. If it's ` true` the *ScopeStatement* is executed.
311
+ After the *ScopeStatement* is executed, the *Expression* is evaluated again, and
312
+ if ` true` the *ScopeStatement* is executed again. This continues until the *Expression*
313
+ evaluates to ` false` .)
314
314
315
315
---
316
316
int i = 0;
@@ -322,21 +322,21 @@ while (i < 10)
322
322
---
323
323
324
324
$(P If an $(D auto) $(I Identifier) is provided, it is declared and
325
- initialized to the value and type of the $(EXPRESSION) . Its scope
326
- extends from when it is initialized to the end of the $(PSSCOPE) .)
325
+ initialized to the value and type of the *Expression* . Its scope
326
+ extends from when it is initialized to the end of the *ScopeStatement* .)
327
327
328
328
$(P If a $(I TypeCtors) $(I Identifier) is provided, it is declared
329
329
to be of the type specified by $(I TypeCtors) and is initialized with
330
- the value of the $(EXPRESSION) . Its scope extends from when it is
331
- initialized to the end of the $(PSSCOPE) .)
330
+ the value of the *Expression* . Its scope extends from when it is
331
+ initialized to the end of the *ScopeStatement* .)
332
332
333
333
$(P If a $(I Declarator) is provided, it is declared and initialized
334
- to the value of the $(EXPRESSION) . Its scope extends from when it is
335
- initialized to the end of the $(PSSCOPE) .)
334
+ to the value of the *Expression* . Its scope extends from when it is
335
+ initialized to the end of the *ScopeStatement* .)
336
336
337
337
$(P A $(GLINK BreakStatement) will exit the loop.)
338
338
339
- $(P A $(GLINK ContinueStatement) will transfer directly to evaluating $(GLINK IfCondition) again.)
339
+ $(P A $(GLINK ContinueStatement) will transfer directly to evaluating $(I IfCondition) again.)
340
340
341
341
$(H2 $(LEGACY_LNAME2 DoStatement, do-statement, Do Statement))
342
342
@@ -348,9 +348,9 @@ $(GNAME DoStatement):
348
348
349
349
$(P Do while statements implement simple loops.)
350
350
351
- $(P $(PSSCOPE) is executed. Then $(EXPRESSION) is evaluated and must have a
352
- type that can be converted to a boolean. If it's true the loop is iterated
353
- again. This continues until the $(EXPRESSION) evaluates to false.)
351
+ $(P *ScopeStatement* is executed. Then *Expression* is evaluated and must have a
352
+ type that can be converted to a boolean. If it's ` true` the loop is iterated
353
+ again. This continues until the *Expression* evaluates to ` false` .)
354
354
355
355
---
356
356
int i = 0;
361
361
---
362
362
363
363
$(P A $(GLINK BreakStatement) will exit the loop. A $(GLINK ContinueStatement)
364
- will transfer directly to evaluating $(EXPRESSION) again.)
364
+ will transfer directly to evaluating *Expression* again.)
365
365
366
366
$(H2 $(LEGACY_LNAME2 ForStatement, for-statement, For Statement))
367
367
485
485
$(I ForeachAggregate) is evaluated. It must evaluate to an expression
486
486
of type static array, dynamic array, associative array,
487
487
struct, class, delegate, or sequence.
488
- The $(PS0) is executed, once for each element of the
488
+ The *NoScopeNonEmptyStatement* is executed, once for each element of the
489
489
aggregate.
490
490
At the start of each iteration, the variables declared by
491
491
the $(I ForeachTypeList)
498
498
$(P
499
499
The aggregate must be loop invariant, meaning that
500
500
elements to the aggregate cannot be added or removed from it
501
- in the $(PS0) .
501
+ in the *NoScopeNonEmptyStatement* .
502
502
)
503
503
504
504
$(P A $(GLINK BreakStatement) in the body of the foreach will exit the
0 commit comments