pgsql-deparser 17.8.2 → 17.8.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/deparser.d.ts CHANGED
@@ -34,7 +34,6 @@ export interface DeparserOptions {
34
34
  * compatibility and wraps them internally for consistent processing.
35
35
  */
36
36
  export declare class Deparser implements DeparserVisitor {
37
- private formatter;
38
37
  private tree;
39
38
  private options;
40
39
  constructor(tree: Node | Node[] | t.ParseResult, opts?: DeparserOptions);
@@ -65,7 +64,7 @@ export declare class Deparser implements DeparserVisitor {
65
64
  RawStmt(node: t.RawStmt, context: DeparserContext): string;
66
65
  SelectStmt(node: t.SelectStmt, context: DeparserContext): string;
67
66
  A_Expr(node: t.A_Expr, context: DeparserContext): string;
68
- deparseOperatorName(name: t.Node[]): string;
67
+ deparseOperatorName(name: t.Node[], context: DeparserContext): string;
69
68
  private getOperatorPrecedence;
70
69
  private needsParentheses;
71
70
  private isComplexExpression;
@@ -117,7 +116,7 @@ export declare class Deparser implements DeparserVisitor {
117
116
  SubLink(node: t.SubLink, context: DeparserContext): string;
118
117
  CaseWhen(node: t.CaseWhen, context: DeparserContext): string;
119
118
  WindowDef(node: t.WindowDef, context: DeparserContext): string;
120
- formatWindowFrame(node: any): string | null;
119
+ formatWindowFrame(node: any, context: DeparserContext): string | null;
121
120
  SortBy(node: t.SortBy, context: DeparserContext): string;
122
121
  GroupingSet(node: t.GroupingSet, context: DeparserContext): string;
123
122
  CommonTableExpr(node: t.CommonTableExpr, context: DeparserContext): string;