Is it possible to have a rule use hidden terminals?

时间:2015-06-30 13:59:20

标签: grammar xtext

In all my grammar rules, except for one, spaces should be hidden and not picked up by the parser.

For this single rule, it would be good if I could parse spaces, but I feel that it would be unecessary for me to stop having hidden spaces, since it would require me to start parsing spaces in every other rule.

So I am wondering if there is some way for a rule to use hidden terminals, or is there some other way of doing it? Thanks!

0 个答案:

没有答案