Lines Matching refs:TokenText
843 return Tok.TokenText == "goog" && Tok.Next && Tok.Next->is(tok::period) && in isClosureImportStatement()
844 Tok.Next->Next && (Tok.Next->Next->TokenText == "module" || in isClosureImportStatement()
845 Tok.Next->Next->TokenText == "provide" || in isClosureImportStatement()
846 Tok.Next->Next->TokenText == "require" || in isClosureImportStatement()
847 Tok.Next->Next->TokenText == "setTestOnly" || in isClosureImportStatement()
848 Tok.Next->Next->TokenText == "forwardDeclare") && in isClosureImportStatement()
1023 if (Current.TokenText.startswith("/*")) { in determineTokenType()
1024 if (Current.TokenText.endswith("*/")) in determineTokenType()
1042 BeforeParen->TokenText == BeforeParen->TokenText.upper() && in determineTokenType()
1902 bool is_short_annotation = Right.TokenText.size() < 10; in splitPenalty()
1941 StringRef Content = Left.TokenText; in splitPenalty()
2055 return !Left.TokenText.endswith("=*/"); in spaceRequiredBetween()
2085 if (Right.is(tok::hash) && Left.is(tok::identifier) && Left.TokenText == "L") in spaceRequiredBetween()
2331 if (Right.is(tok::string_literal) && Right.TokenText.startswith("R\"")) in mustBreakBefore()