Control flow

Like any language, METALS has built-in control flow constructs.

If

if (
	[STATEMENT...]
) {
	[(STATEMENT | CONTROL_FLOW_CONSTRUCT | DECLARATION)...]
} [else {
	[(STATEMENT | CONTROL_FLOW_CONSTRUCT | DECLARATION)...]
}]

While

while (
	[(STATEMENT | DECLARATION)...]
) {
	[(STATEMENT | CONTROL_FLOW_CONSTRUCT | DECLARATION)...]
}