apache / apache/incubator-seata
optimize: optimize the code of antlr MySqlParser
Open
- Dominant language
- Java
- Stars
- 26k
- Forks
- 8.8k
- Avg merge
- 1d 8h
- Merged PRs (30d)
- 4
Description
## Why you need it?
Is your feature request related to a problem? Please describe in details
antlr的sqlparser部分的代码中,有部分类的定义中包含了同名(比如TableFlushOptionContext中同时包含TABLES&tables两个方法),但是大小写不一样的方法,这个在java的语义下是没问题的。
但是考虑到antlr4本身是一个可以编译成不同平台的代码的语法分析器,因此期望可以修改部分方法的定义,以达到antlr4的词法分析&语法分析的代码可以在其他语言(我就是在说PHP)下可以正常使用。
## How it could be?
A clear and concise description of what you want to happen. You can explain more about input of the feature, and output of it.
## Other related information
Add any other context or screenshots about the feature request here.
Contributor guide
Assessment
This issue has not been assessed yet.