1lexer grammar t029synpredgate;
2options {
3  language = JavaScript;
4}
5
6FOO
7    : ('ab')=>A
8    | ('ac')=>B
9    ;
10
11fragment
12A: 'a';
13
14fragment
15B: 'a';
16
17