最佳答案
What does 碎片 mean in ANTLR?
这两条规则我都见过:
fragment DIGIT : '0'..'9';
还有
DIGIT : '0'..'9';
有什么区别吗?