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

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