| ),
"for (x = 0; x < 4; x++);"
);
assertParserOutput(
new ForStatement(
new VariableExpression(
new VariableDeclaration[] {
new VariableDeclaration(
new Identifier("x"),
new NumberLiteral(0.0)
),
}
),
new BinaryOperatorExpression(
new Identifier("x"),
new NumberLiteral(4.0),
Token.OPERATOR_LESSTHAN
),
new IncrementExpression(
new Identifier("x"), +1, true
),
new EmptyStatement()
),
"for (var x = 0; x < 4; x++);"
);
assertParserOutput(
new ForStatement(
new VariableExpression(
new VariableDeclaration[] {
new VariableDeclaration(
new Identifier("x"),
new NumberLiteral(0.0)
),
|