最新消息:20210816 当前crifan.com域名已被污染,为防止失联,请关注(页面右下角的)公众号

标签:fragment

【整理】antlr语法中的fragment
ANTLR

【整理】antlr语法中的fragment

crifan 13年前 (2013-03-19) 8425浏览

【背景】 在用antlrworks新建一个antlr v3的示例代码: 其中有个fragment: 代码为: grammar justDemo; ID : ('a'..'z'|'A'..'Z'|'_') ('a'..'z'|'A'..'Z...

62 queries in 0.661 seconds, using 18.95MB memory