Fix/export abstract visitor (#237)

* fix: #236 export AbstractParseTreeVisitor

* build: set isolatedModules true

* feat: import parser about from filters
This commit is contained in:
Hayden
2023-12-19 19:22:27 +08:00
committed by GitHub
parent 55a4832047
commit 8f72a5af60
162 changed files with 327 additions and 277 deletions

View File

@ -1,7 +1,7 @@
import PgSQL from '../../../../src/parser/pgsql';
import { PostgresSQL } from '../../../filters';
import { readSQL } from '../../../helper';
const parser = new PgSQL();
const parser = new PostgresSQL();
const features = {
alters: readSQL(__dirname, 'alter.sql'),

View File

@ -1,7 +1,7 @@
import PgSQL from '../../../../src/parser/pgsql';
import { PostgresSQL } from '../../../filters';
import { readSQL } from '../../../helper';
const parser = new PgSQL();
const parser = new PostgresSQL();
const features = {
creates: readSQL(__dirname, 'create.sql'),

View File

@ -1,7 +1,7 @@
import PgSQL from '../../../../src/parser/pgsql';
import { PostgresSQL } from '../../../filters';
import { readSQL } from '../../../helper';
const parser = new PgSQL();
const parser = new PostgresSQL();
const features = {
deletes: readSQL(__dirname, 'delete.sql'),

View File

@ -1,7 +1,7 @@
import PgSQL from '../../../../src/parser/pgsql';
import { PostgresSQL } from '../../../filters';
import { readSQL } from '../../../helper';
const parser = new PgSQL();
const parser = new PostgresSQL();
const features = {
drops: readSQL(__dirname, 'drop.sql'),

View File

@ -1,7 +1,7 @@
import PgSQL from '../../../../src/parser/pgsql';
import { PostgresSQL } from '../../../filters';
import { readSQL } from '../../../helper';
const parser = new PgSQL();
const parser = new PostgresSQL();
const features = {
inserts: readSQL(__dirname, 'insert.sql'),

View File

@ -1,7 +1,7 @@
import PgSQL from '../../../../src/parser/pgsql';
import { PostgresSQL } from '../../../filters';
import { readSQL } from '../../../helper';
const parser = new PgSQL();
const parser = new PostgresSQL();
const features = {
others: readSQL(__dirname, 'others.sql'),

View File

@ -1,7 +1,7 @@
import PgSQL from '../../../../src/parser/pgsql';
import { PostgresSQL } from '../../../filters';
import { readSQL } from '../../../helper';
const parser = new PgSQL();
const parser = new PostgresSQL();
const features = {
selects: readSQL(__dirname, 'select.sql'),

View File

@ -1,7 +1,7 @@
import PgSQL from '../../../../src/parser/pgsql';
import { PostgresSQL } from '../../../filters';
import { readSQL } from '../../../helper';
const parser = new PgSQL();
const parser = new PostgresSQL();
const features = {
updates: readSQL(__dirname, 'update.sql'),