(other: ContextKeyExpression)
| 666 | } |
| 667 | |
| 668 | public cmp(other: ContextKeyExpression): number { |
| 669 | if (other.type !== this.type) { |
| 670 | return this.type - other.type; |
| 671 | } |
| 672 | if (this.key < other.key) { |
| 673 | return -1; |
| 674 | } |
| 675 | if (this.key > other.key) { |
| 676 | return 1; |
| 677 | } |
| 678 | if (this.value < other.value) { |
| 679 | return -1; |
| 680 | } |
| 681 | if (this.value > other.value) { |
| 682 | return 1; |
| 683 | } |
| 684 | return 0; |
| 685 | } |
| 686 | |
| 687 | public equals(other: ContextKeyExpression): boolean { |
| 688 | if (other.type === this.type) { |
nothing calls this directly
no outgoing calls
no test coverage detected