1grammar t034tokenLabelPropertyRef;
2options {
3  language =Cpp;
4}
5
6@lexer::includes
7{
8#include "UserTestTraits.hpp"
9}
10@lexer::namespace
11{ Antlr3Test }
12
13@parser::includes {
14#include "UserTestTraits.hpp"
15}
16@parser::namespace
17{ Antlr3Test }
18
19a: t=A
20        {
21            print($t.text)
22            print($t.type)
23            print($t.line)
24            print($t.pos)
25            print($t.channel)
26            print($t.index)
27            #print($t.tree)
28        }
29    ;
30
31A: 'a'..'z';
32
33WS  :
34        (   ' '
35        |   '\t'
36        |  ( '\n'
37            |	'\r\n'
38            |	'\r'
39            )
40        )+
41        { $channel = HIDDEN }
42    ;
43
44