Fix/export abstract visitor (#237)
* fix: #236 export AbstractParseTreeVisitor * build: set isolatedModules true * feat: import parser about from filters
This commit is contained in:
		@ -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'),
 | 
			
		||||
 | 
			
		||||
@ -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'),
 | 
			
		||||
 | 
			
		||||
@ -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'),
 | 
			
		||||
 | 
			
		||||
@ -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'),
 | 
			
		||||
 | 
			
		||||
@ -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'),
 | 
			
		||||
 | 
			
		||||
@ -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'),
 | 
			
		||||
 | 
			
		||||
@ -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'),
 | 
			
		||||
 | 
			
		||||
@ -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'),
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user