Home
last modified time | relevance | path

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

/tools/metalava/metalava-model-text/src/main/java/com/android/tools/metalava/model/text/
DTokenizer.kt70 fun requireToken(parenIsSep: Boolean = true, eatWhitespace: Boolean = true): String { in requireToken()
71 val token = getToken(parenIsSep, eatWhitespace) in requireToken()
85 fun getToken(parenIsSep: Boolean = true, eatWhitespace: Boolean = true): String? { in getToken()
124 } else if (isSeparator(c, parenIsSep)) { in getToken()
132 if (isSpace(d) || isSeparator(d, parenIsSep)) { in getToken()
163 (!isSpace(buffer[position]) && !isSeparator(buffer[position], parenIsSep) || in getToken()
189 private fun isSeparator(c: Char, parenIsSep: Boolean): Boolean { in isSeparator()
190 if (parenIsSep) { in isSeparator()
DApiFile.kt1572 token = tokenizer.requireToken(parenIsSep = false, eatWhitespace = false) in parseParameterList()
1587 token = tokenizer.requireToken(parenIsSep = true, eatWhitespace = false) in parseParameterList()
/tools/metalava/metalava-model-text/src/test/java/com/android/tools/metalava/model/text/
DTokenizerTest.kt31 val parenIsSep: Boolean = true, in <lambda>() constant in com.android.tools.metalava.model.text.TokenizerTest.Params
67 parenIsSep = false, in <lambda>()
72 parenIsSep = false, in <lambda>()
87 return tokenizer.requireToken(parenIsSep = params.parenIsSep) in <lambda>()