(other: ContextKeyExpression)
| 598 | } |
| 599 | |
| 600 | public cmp(other: ContextKeyExpression): number { |
| 601 | if (other.type !== this.type) { |
| 602 | return this.type - other.type; |
| 603 | } |
| 604 | if (this.key < other.key) { |
| 605 | return -1; |
| 606 | } |
| 607 | if (this.key > other.key) { |
| 608 | return 1; |
| 609 | } |
| 610 | if (this.value < other.value) { |
| 611 | return -1; |
| 612 | } |
| 613 | if (this.value > other.value) { |
| 614 | return 1; |
| 615 | } |
| 616 | return 0; |
| 617 | } |
| 618 | |
| 619 | public equals(other: ContextKeyExpression): boolean { |
| 620 | if (other.type === this.type) { |
nothing calls this directly
no outgoing calls
no test coverage detected