A work-in-progress SQL parser written in TypeScript
Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

ast.ts 719B

12345678910111213141516171819
  1. import { Alias } from "./ast/alias";
  2. import { Backtick } from "./ast/backtick";
  3. import { Binary } from "./ast/binary";
  4. import { Identifier } from "./ast/identifier";
  5. import { Number as _Number } from "./ast/number";
  6. import { SelectStatement } from "./ast/selectStatement";
  7. export * from "./ast/alias";
  8. export * from "./ast/backtick";
  9. export * from "./ast/binary";
  10. export * from "./ast/identifier";
  11. export * from "./ast/number";
  12. export * from "./ast/selectStatement";
  13. export type Primary = _Number | Identifier | Backtick | Alias;
  14. export type Statement = SelectStatement;
  15. export type Expr = Primary | Binary;
  16. export type SelectArgument = Expr;
  17. export type FromTarget = Identifier | Backtick | Alias | SelectStatement;