se.kuseman.payloadbuilder.api.expression.IUnaryExpression Maven / Gradle / Ivy
The newest version!
package se.kuseman.payloadbuilder.api.expression;
import static java.util.Collections.singletonList;
import java.util.List;
/** Base interface for unary expressions */
public interface IUnaryExpression extends IExpression
{
/** Return target expression */
IExpression getExpression();
@Override
default List getChildren()
{
return singletonList(getExpression());
}
}