ID : ('a'..'z'|'A'..'Z'|'_'|'/') ('a'..'z'|'A'..'Z'|'0'..'9'|'_'|'/') ;
()
| 517 | */ |
| 518 | |
| 519 | Token mID() { |
| 520 | // called from subTemplate; so keep resetting position during speculation |
| 521 | startCharIndex = input.index(); |
| 522 | startLine = input.getLine(); |
| 523 | startCharPositionInLine = input.getCharPositionInLine(); |
| 524 | consume(); |
| 525 | while ( isIDLetter(c) ) { |
| 526 | consume(); |
| 527 | } |
| 528 | return newToken(ID); |
| 529 | } |
| 530 | |
| 531 | /** <pre> |
| 532 | * STRING : '"' |
no test coverage detected