rawsql-ts
Version:
[beta]High-performance SQL parser and AST analyzer written in TypeScript. Provides fast parsing and advanced transformation capabilities.
13 lines • 569 B
JavaScript
export 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;
}
}
//# sourceMappingURL=IdentifierDecorator.js.map