MCPcopy Index your code
hub / github.com/antlr/codebuff / mID

Method mID

output/java8/1.4.17/STLexer.java:543–553  ·  view source on GitHub ↗

ID : ('a'..'z'|'A'..'Z'|'_'|'/') ('a'..'z'|'A'..'Z'|'0'..'9'|'_'|'/') ;

()

Source from the content-addressed store, hash-verified

541 */
542
543 Token mID() {
544 // called from subTemplate; so keep resetting position during speculation
545 startCharIndex = input.index();
546 startLine = input.getLine();
547 startCharPositionInLine = input.getCharPositionInLine();
548 consume();
549 while ( isIDLetter(c) ) {
550 consume();
551 }
552 return newToken(ID);
553 }
554
555 /** <pre>
556 * STRING : '"'

Callers 2

insideMethod · 0.95
subTemplateMethod · 0.95

Calls 6

consumeMethod · 0.95
isIDLetterMethod · 0.95
newTokenMethod · 0.95
getCharPositionInLineMethod · 0.80
indexMethod · 0.65
getLineMethod · 0.45

Tested by

no test coverage detected