class ConditionalAccess(SelectorPart): ''' ''' def __init__(self): super(ConditionalAccess, self).__init__() self._condition = Disjunction() def add(self, pred): if not isinstance(pred, Predicate): raise InconsistentExpression(type(pred)) self._condition.add(pred)
def __init__(self): super(ConditionalAccess, self).__init__() self._condition = Disjunction()