(other: ContextKeyExpression)
| 872 | } |
| 873 | |
| 874 | public equals(other: ContextKeyExpression): boolean { |
| 875 | if (other.type === this.type) { |
| 876 | const thisSource = this.regexp ? this.regexp.source : ''; |
| 877 | const otherSource = other.regexp ? other.regexp.source : ''; |
| 878 | return (this.key === other.key && thisSource === otherSource); |
| 879 | } |
| 880 | return false; |
| 881 | } |
| 882 | |
| 883 | public evaluate(context: IContext): boolean { |
| 884 | let value = context.getValue<any>(this.key); |
nothing calls this directly
no outgoing calls
no test coverage detected