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