1lexer grammar t025lexerRulePropertyRef; 2options { 3 language = JavaScript; 4} 5 6@lexer::init { 7this.properties = []; 8} 9 10IDENTIFIER: 11 ('a'..'z'|'A'..'Z'|'_') ('a'..'z'|'A'..'Z'|'0'..'9'|'_')* 12 { 13this.properties.push( 14 [$text, $type, $line, $pos, $index, $channel, $start, $stop] 15); 16 } 17 ; 18WS: (' ' | '\n')+; 19