import { freeze } from '../util/object-utils.js' ; import { OperationNode } from './operation-node.js' ; import { FilterExpressionNode } from './operation-node-utils.js' ; export interface OrNode extends OperationNode { readonly kind : 'OrNode' ; readonly left : FilterExpressionNode ; readonly right : FilterExpressionNode ; } internal export const OrNode = freeze ( { is ( node ) { return node . kind === 'OrNode' ; } , create ( left , right ) { return freeze ( { kind : 'OrNode' , left , right , } ) ; } , } ) ;