From 1ac760e01af14061872ff678326dc83cb42e302e Mon Sep 17 00:00:00 2001 From: xiaowei Date: Tue, 5 Jan 2021 15:27:43 +0800 Subject: [PATCH] refactor: rename BasicParser.ts to basicParser.ts --- src/parser/common/{BasicParser.ts => basicParser.ts} | 0 src/parser/flinksql.ts | 2 +- src/parser/generic.ts | 2 +- src/parser/hive.ts | 2 +- src/parser/plsql.ts | 2 +- src/parser/spark.ts | 2 +- 6 files changed, 5 insertions(+), 5 deletions(-) rename src/parser/common/{BasicParser.ts => basicParser.ts} (100%) diff --git a/src/parser/common/BasicParser.ts b/src/parser/common/basicParser.ts similarity index 100% rename from src/parser/common/BasicParser.ts rename to src/parser/common/basicParser.ts diff --git a/src/parser/flinksql.ts b/src/parser/flinksql.ts index 62f9d0d..5d5fe51 100644 --- a/src/parser/flinksql.ts +++ b/src/parser/flinksql.ts @@ -4,7 +4,7 @@ import { FlinkSqlParser } from '../lib/flinksql/FlinkSqlParser'; export * from '../lib/flinksql/FlinkSqlParserListener'; export * from '../lib/flinksql/FlinkSqlParserVisitor'; -import BasicParser from './common/BasicParser'; +import BasicParser from './common/basicParser'; export default class FlinkSQL extends BasicParser { public createLexer(input: string): Lexer { diff --git a/src/parser/generic.ts b/src/parser/generic.ts index 615569c..9a12457 100644 --- a/src/parser/generic.ts +++ b/src/parser/generic.ts @@ -4,7 +4,7 @@ import { SqlParser } from '../lib/generic/SqlParser'; export * from '../lib/generic/SqlParserVisitor'; export * from '../lib/generic/SqlParserListener'; -import BasicParser from './common/BasicParser'; +import BasicParser from './common/basicParser'; export default class GenericSQL extends BasicParser { public createLexer(input: string): Lexer { diff --git a/src/parser/hive.ts b/src/parser/hive.ts index f9f81df..aa9d9a0 100644 --- a/src/parser/hive.ts +++ b/src/parser/hive.ts @@ -4,7 +4,7 @@ import { HiveSql } from '../lib/hive/HiveSql'; export * from '../lib/hive/HiveSqlListener'; export * from '../lib/hive/HiveSqlVisitor'; -import BasicParser from './common/BasicParser'; +import BasicParser from './common/basicParser'; export default class HiveSQL extends BasicParser { public createLexer(input: string): Lexer { diff --git a/src/parser/plsql.ts b/src/parser/plsql.ts index 4450a07..95b49a7 100644 --- a/src/parser/plsql.ts +++ b/src/parser/plsql.ts @@ -4,7 +4,7 @@ import { PlSqlParser } from '../lib/plsql/PlSqlParser'; export * from '../lib/plsql/PlSqlParserListener'; export * from '../lib/plsql/PlSqlParserVisitor'; -import BasicParser from './common/BasicParser'; +import BasicParser from './common/basicParser'; export default class PLSQLParser extends BasicParser { public createLexer(input: string): Lexer { diff --git a/src/parser/spark.ts b/src/parser/spark.ts index a4076db..7a7ef31 100644 --- a/src/parser/spark.ts +++ b/src/parser/spark.ts @@ -4,7 +4,7 @@ import { SparkSqlParser } from '../lib/spark/SparkSqlParser'; export * from '../lib/spark/SparkSqlVisitor'; export * from '../lib/spark/SparkSqlListener'; -import BasicParser from './common/BasicParser'; +import BasicParser from './common/basicParser'; export default class SparkSQL extends BasicParser { public createLexer(input: string): Lexer {