1grammar t035ruleLabelPropertyRef; 2options { 3 language = JavaScript; 4} 5 6a returns [bla]: t=b 7 { 8 $bla = [$t.start, $t.stop, $t.text]; 9 } 10 ; 11 12b: A+; 13 14A: 'a'..'z'; 15 16WS: ' '+ { $channel = HIDDEN; }; 17