1 lexer grammar t052importS8; 2 options { 3 language=JavaScript; 4 } 5 @members { 6 this.capture = function(t) { 7 this.gt052importM8.capture(t); 8 }; 9 } 10 A : 'a' {this.capture("S.A");} ; 11