ForStatement: for ( [ ForInit ]; [ Expression ] ; [ ForUpdate ] ) Statement ForInit: Expression { , Expression } ForUpdate: Expression { , Expression } Note: When variables are declared in the initializer of a for statement such as "for (int a=1, b=2;;);", they should be represented as a single VariableDeclarationExpression with two fragments, rather than being split up into a pair of expressions.
| |