Add adds the property key to the set
(key OptionalEvalPropKey)
| 161 | |
| 162 | // Add adds the property key to the set |
| 163 | func (b OptionalEvalPropKeySet) Add(key OptionalEvalPropKey) OptionalEvalPropKeySet { |
| 164 | intest.Assert(key < optPropsCnt) |
| 165 | if key >= optPropsCnt { |
| 166 | return b |
| 167 | } |
| 168 | return b | key.AsPropKeySet() |
| 169 | } |
| 170 | |
| 171 | // Remove removes the property key from the set |
| 172 | func (b OptionalEvalPropKeySet) Remove(key OptionalEvalPropKey) OptionalEvalPropKeySet { |