norswap.autumn.actions.StackConsumer Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of autumn Show documentation
Show all versions of autumn Show documentation
A parser combinator library
The newest version!
package norswap.autumn.actions;
/**
* A {@link StackAction} sub-interface used to specify actions on the {@link ActionContext} without
* returning any value.
*/
@FunctionalInterface
public interface StackConsumer extends StackAction
{
@Override default boolean apply (ActionContext context) {
action(context);
return true;
}
void action (ActionContext context);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy