class BIN_MINUS_B inherit NUM_BINARY_B rename Bc_minus as operator_constant, il_minus as il_operator_constant redefine generate_operator, is_simple, generate_simple, generate_plus_plus, is_additive end; feature is_simple: BOOLEAN is -- Operation is usually simple (C can compact it in affectations) do Result := is_built_in; end; is_additive: BOOLEAN is True; -- Operation is additive (in the mathematical sense). generate_operator is -- Generate the operator do buffer.putstring (" - "); end; generate_simple is -- Generate a simple assignment operation do buffer.putstring (" -= "); end; generate_plus_plus is -- Generate a -- do buffer.putstring ("--"); end; end