1 package spoon.support.query; 2 3 /** 4 * This enumeration defines the possible composition operators for filters. It 5 * is used in {@link spoon.support.query.CompositeFilter}. 6 * 7 * @see spoon.reflect.visitor.Filter 8 */ 9 public enum FilteringOperator { 10 11 /** 12 * Defines the union of several filters: it matches if one of the filters 13 * matches. 14 */ 15 UNION, 16 /** 17 * Defines the intersection of several filters: it matches if all the 18 * filters match. 19 */ 20 INTERSECTION, 21 /** 22 * Defines the substraction of several filters to one filter: it matches if 23 * the first filter matches and all the others do not match. 24 */ 25 SUBSTRACTION 26 27 } 28