summaryrefslogtreecommitdiffstats
path: root/llparse-frontend/src/code/and.ts
blob: 54dc5fd9e31cf349baba831e7bec78d81499d877 (plain)
1
2
3
4
5
6
7
8
import { toCacheKey } from '../utils';
import { FieldValue } from './field-value';

export class And extends FieldValue {
  constructor(name: string, field: string, value: number) {
    super('match', `and_${field}_${toCacheKey(value)}`, name, field, value);
  }
}