1grammar t036multipleReturnValues;
2options {
3 language = Python3;
4}
5
6a returns [foo, bar]: A
7 {
8 $foo = "foo";
9 $bar = "bar";
10 }
11 ;
12
13A: 'a'..'z';
14
15WS :
16 ( ' '
17 | '\t'
18 | ( '\n'
19 | '\r\n'
20 | '\r'
21 )
22 )+
23 { $channel = HIDDEN }
24 ;
25
26