seata optimize: optimize the code of antlr MySqlParser

cedebl8k  于 2个月前  发布在  Mysql
关注(0)|答案(2)|浏览(31)

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.

Add any other context or screenshots about the feature request here.

e0uiprwp

e0uiprwp2#

FunctionNameBaseContext#ISEMPTY跟他父类中的isEmpty也有冲突了

相关问题