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