Lines Matching refs:TokenText
89 return FormatTok.is(tok::comment) && !FormatTok.TokenText.startswith("/*"); in isLineComment()
306 << "] Token: " << Tok->Tok.getName() << " / " << Tok->TokenText in dbgToken()
815 Length -= OpeningBrace->TokenText.size() + 1; in mightFitOnOneLine()
981 if (I->Tok->TokenText != "goog") in isGoogScope()
987 if (I->Tok->TokenText != "scope") in isGoogScope()
1147 if (!IfDef && (FormatTok->is(tok::kw_false) || FormatTok->TokenText == "0")) in parsePPIf()
1149 if (IfDef && !IfNDef && FormatTok->TokenText == "SWIG") in parsePPIf()
1209 IncludeGuardToken->TokenText == FormatTok->TokenText) { in parsePPDefine()
1385 !FormatTok->TokenText.startswith("//")) { in parseModuleImport()
1422 Previous->is(TT_TemplateString) && Previous->TokenText.endswith("${"); in readTokenWithJavaScriptASI()
1436 Next->is(TT_TemplateString) && Next->TokenText.startswith("}"); in readTokenWithJavaScriptASI()
1903 StringRef Text = FormatTok->TokenText; in parseStructuralElement()
3696 FormatTok->TokenText != FormatTok->TokenText.upper(); in parseRecord()
4058 StringRef IndentContent = FormatTok.TokenText; in continuesLineCommentSection()
4059 if (FormatTok.TokenText.startswith("//") || in continuesLineCommentSection()
4060 FormatTok.TokenText.startswith("/*")) { in continuesLineCommentSection()
4061 IndentContent = FormatTok.TokenText.substr(2); in continuesLineCommentSection()