Interface Continuable
public interface Continuable
Sections implementing this interface are able to be 'continued' using the
One can easily compare this with Java's
EffContinue effect.
Most of the time, these sections are iterating over multiple values, and this interface serves as an
indicator to be able to continue to the next iteration instead of executing the rest of the statements.
One can easily compare this with Java's
continue keyword.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionThis function is called on the section where theEffContinueeffect will continue to, taking all Continuable sections into account.
-
Method Details
-
getContinued
This function is called on the section where theEffContinueeffect will continue to, taking all Continuable sections into account. Most of the time, this will just return the section it is referring to, but in rare cases, one might want to change this behaviour, hence this method.- Parameters:
ctx- the context- Returns:
- the next statement
- See Also:
-