1 grammar t056lexer4; 2 options {language=JavaScript;} 3 tokens {X;} 4 a : X EOF {this.xlog(this.input);} ; 5 A : '-' I {$type = this.X;} ; 6 I : '0'..'9'+ ; 7 WS : (' '|'\n') {$channel=HIDDEN;} ; 8