UNPKG

rawsql-ts

Version:

[beta]High-performance SQL parser and AST analyzer written in TypeScript. Provides fast parsing and advanced transformation capabilities.

17 lines 728 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.IdentifierDecorator = void 0; class IdentifierDecorator { constructor(identifierEscape) { var _a, _b; this.start = (_a = identifierEscape === null || identifierEscape === void 0 ? void 0 : identifierEscape.start) !== null && _a !== void 0 ? _a : '"'; this.end = (_b = identifierEscape === null || identifierEscape === void 0 ? void 0 : identifierEscape.end) !== null && _b !== void 0 ? _b : '"'; } decorate(text) { // override text = this.start + text + this.end; return text; } } exports.IdentifierDecorator = IdentifierDecorator; //# sourceMappingURL=IdentifierDecorator.js.map