UNPKG

@uwdata/mosaic-sql

Version:

SQL query construction and analysis.

25 lines 702 B
import { VERBATIM } from '../constants.js'; import { ExprNode } from './node.js'; export class VerbatimNode extends ExprNode { /** The verbatim content to include. */ value; /** A type hint for analyzing verbatim content. */ hint; /** * Instantiate a raw node with verbatim content. * @param value The verbatim content to include. * @param hint A type hint for analyzing verbatim content. */ constructor(value, hint) { super(VERBATIM); this.value = value; this.hint = hint; } /** * Generate a SQL query string for this node. */ toString() { return this.value; } } //# sourceMappingURL=verbatim.js.map