Interface SelfReferencing
- All Known Implementing Classes:
SecFilter, SecFlatMap, SecLoop, SecMap, SecWhile
public interface SelfReferencing
Statements implementing this interface are by convention returning themselves as the next statement
in
When creating syntax, one may need to take this into account. This is mostly done by sections that iterate over their respective contents multiple times.
Statement.getNext().
When creating syntax, one may need to take this into account. This is mostly done by sections that iterate over their respective contents multiple times.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionThis statement returns itself as the next statement to run ingetNext().
-
Method Details
-
getActualNext
This statement returns itself as the next statement to run ingetNext().
This method will return the actual statement that follows this statement. This means, by convention, the next element that is not nested more than this statement.- Returns:
- the element that is actually after this section
-