Add the SemanticContext.Operator interface

This interface provides consistent API access to the operands of `AND` and `OR` contexts.