rawsql-ts
Version:
[beta]High-performance SQL parser and AST analyzer written in TypeScript. Provides fast parsing and advanced transformation capabilities.
25 lines (24 loc) • 628 B
TypeScript
import { SqlComponent } from "./SqlComponent";
/**
* Represents a SQL hint clause
*/
export declare class HintClause extends SqlComponent {
static kind: symbol;
/**
* The hint content without the delimiters
*/
hintContent: string;
constructor(hintContent: string);
/**
* Returns the full hint clause with delimiters
*/
getFullHint(): string;
/**
* Checks if a string is a hint clause
*/
static isHintClause(value: string): boolean;
/**
* Extracts hint content from a hint clause string
*/
static extractHintContent(hintClause: string): string;
}