使用antlr4

时间:2016-11-29 15:54:09

标签: java regex antlr antlr4 antlrworks

enter image description here

我对antlr很陌生,我试图在antlr4.x中开发语法,以帮助构建表达式树,如图所示,来自以下表达式:

*a=value1 and c.size()>10 or (d=value3 and  compare(after(today(),2),value4)) and  compare(before(today(),2),value4)*

0 个答案:

没有答案