Home
last modified time | relevance | path

Searched refs:requireToken (Results 1 – 3 of 3) sorted by relevance

/tools/metalava/metalava-model-text/src/main/java/com/android/tools/metalava/model/text/
DApiFile.kt404 var token: String = tokenizer.requireToken() in parsePackage()
439 token = tokenizer.requireToken() in parsePackage()
444 token = tokenizer.requireToken() in parsePackage()
470 token = tokenizer.requireToken() in parseClass()
475 token = tokenizer.requireToken() in parseClass()
480 token = tokenizer.requireToken() in parseClass()
487 token = tokenizer.requireToken() in parseClass()
509 token = tokenizer.requireToken() in parseClass()
512 val superClassTypeString = parseSuperTypeString(tokenizer, tokenizer.requireToken()) in parseClass()
522 token = tokenizer.requireToken() in parseClass()
[all …]
DTokenizer.kt70 fun requireToken(parenIsSep: Boolean = true, eatWhitespace: Boolean = true): String { in requireToken() method
/tools/metalava/metalava-model-text/src/test/java/com/android/tools/metalava/model/text/
DTokenizerTest.kt86 fun requireToken(): String { in <lambda>() method
87 return tokenizer.requireToken(parenIsSep = params.parenIsSep) in <lambda>()
91 val exception = assertThrows(ApiParseException::class.java) { requireToken() } in <lambda>()
96 val token = requireToken() in <lambda>()