In cases when we encounter a terminating token, the control region is completed.
In cases when we encounter a terminating token, the control region is completed.
However, in cases when it's optional, some other token could also possibly terminate the control region, and this method allows dealing with that special case.
Describes the part of an
if
orwhile
whose condition started with an opening parenthesis, after encountering the matching closing parenthesis; it might still continue a scala3-style condition or describe the body instead.