1 // @@ANTLR Tool Options@@: -trace 2 grammar t044trace; 3 options { 4 language = JavaScript; 5 } 6 7 a: '<' ((INT '+')=>b|c) '>'; 8 b: c ('+' c)*; 9 c: INT; 10 11 INT: ('0'..'9')+; 12 WS: (' ' | '\n' | '\t')+ {$channel = HIDDEN;}; 13