refactor: update flinkSQL and genericSQL exporting location

This commit is contained in:
xiaowei 2021-01-05 17:40:34 +08:00
parent 07917043a5
commit ca44962acc
4 changed files with 4 additions and 11 deletions

View File

@ -1,2 +1,6 @@
export * from './parser';
export * from './utils';
export * from './lib/flinksql/FlinkSqlParserListener';
export * from './lib/flinksql/FlinkSqlParserVisitor';
export * from './lib/generic/SqlParserVisitor';
export * from './lib/generic/SqlParserListener';

View File

@ -1,9 +1,6 @@
import { InputStream, CommonTokenStream, Lexer } from 'antlr4';
import { FlinkSqlLexer } from '../lib/flinksql/FlinkSqlLexer';
import { FlinkSqlParser } from '../lib/flinksql/FlinkSqlParser';
export * from '../lib/flinksql/FlinkSqlParserListener';
export * from '../lib/flinksql/FlinkSqlParserVisitor';
import BasicParser from './common/basicParser';
export default class FlinkSQL extends BasicParser {

View File

@ -1,9 +1,6 @@
import { InputStream, CommonTokenStream, Lexer } from 'antlr4';
import { SqlLexer } from '../lib/generic/SqlLexer';
import { SqlParser } from '../lib/generic/SqlParser';
export * from '../lib/generic/SqlParserVisitor';
export * from '../lib/generic/SqlParserListener';
import BasicParser from './common/basicParser';
export default class GenericSQL extends BasicParser {

View File

@ -1,8 +1,3 @@
export * from './generic';
export * from './plsql';
export * from './hive';
export * from './flinksql';
export * from './spark';
export { default as GenericSQL } from './generic';
export { default as PLSQL } from './plsql';
export { default as HiveSQL } from './hive';