OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
xsrc
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:TokenText
(Results
1 - 15
of
15
) sorted by relevancy
/src/external/apache2/llvm/dist/clang/lib/Format/
FormatTokenLexer.cpp
191
At->
TokenText
= StringRef(At->
TokenText
.begin(),
192
String->
TokenText
.end() - At->
TokenText
.begin());
209
Hash->
TokenText
=
210
StringRef(Hash->
TokenText
.begin(),
211
Identifier->
TokenText
.end() - Hash->
TokenText
.begin());
238
(CSharpInterpolatedString->
TokenText
.startswith(R"($")") ||
239
CSharpInterpolatedString->
TokenText
.startswith(R"($@")")))
[
all
...]
MacroExpander.cpp
61
Def.Name = Current->
TokenText
;
80
Def.ArgMap[Def.Params.back()->
TokenText
] = Def.Params.size() - 1;
160
assert(defined(ID->
TokenText
));
162
const Definition &Def = Definitions.find(ID->
TokenText
)->second;
178
if (!Tok->is(tok::identifier) || ExpandedArgs.contains(Tok->
TokenText
))
180
ExpandedArgs.insert(Tok->
TokenText
);
181
auto I = Def.ArgMap.find(Tok->
TokenText
);
NamespaceEndCommentsFixer.cpp
39
name += Tok->
TokenText
;
55
name += Tok->
TokenText
;
69
text += NamespaceTok->
TokenText
;
104
NamespaceMacroCommentPattern.match(Comment->
TokenText
, &Groups)) {
107
if (NamespaceTokenText != NamespaceTok->
TokenText
)
110
!NamespaceCommentPattern.match(Comment->
TokenText
, &Groups)) {
135
if (!CommentPattern.match(Comment->Next->
TokenText
, &Groups)) {
193
return NamespaceTok ? NamespaceTok->
TokenText
: StringRef();
248
NamespaceTokenText = NamespaceTok->
TokenText
;
BreakableToken.cpp
222
StringRef Content = Token.
TokenText
.substr(2).ltrim();
274
assert(Tok.
TokenText
.startswith(Prefix) && Tok.
TokenText
.endswith(Postfix));
275
Line = Tok.
TokenText
.substr(
276
Prefix.size(), Tok.
TokenText
.size() - Prefix.size() - Postfix.size());
325
Text.data() - tokenAt(LineIndex).
TokenText
.data() + Split.first;
376
StringRef
TokenText
(Tok.
TokenText
);
377
assert(
TokenText
.startswith("/*") &&
TokenText
.endswith("*/"))
[
all
...]
SortJavaScriptImports.cpp
191
FirstNonImportLine->First->
TokenText
.trim() == "// clang-format on"))
362
StringRef CommentText = Current->
TokenText
.trim();
437
Current->
TokenText
.substr(1, Current->
TokenText
.size() - 2);
449
// URL =
TokenText
without the quotes.
451
Current->
TokenText
.substr(1, Current->
TokenText
.size() - 2);
484
Reference.Prefix = Current->
TokenText
;
493
Reference.DefaultImport = Current->
TokenText
;
514
Symbol.Symbol = Current->
TokenText
;
[
all
...]
ContinuationIndenter.cpp
146
// Returns the delimiter of a raw string literal, or None if
TokenText
is not
149
static llvm::Optional<StringRef> getRawStringDelimiter(StringRef
TokenText
) {
150
if (
TokenText
.size() < 5 // The smallest raw string possible is 'R"()"'.
151
|| !
TokenText
.startswith("R\"") || !
TokenText
.endswith("\""))
157
size_t LParenPos =
TokenText
.substr(0, 19).find_first_of('(');
160
StringRef Delimiter =
TokenText
.substr(2, LParenPos - 2);
163
size_t RParenPos =
TokenText
.size() - Delimiter.size() - 2;
164
if (
TokenText
[RParenPos] != ')')
166
if (!
TokenText
.substr(RParenPos + 1).startswith(Delimiter)
[
all
...]
AffectedRangeManager.cpp
79
End = End.getLocWithOffset(Last.
TokenText
.size());
UnwrappedLineParser.cpp
61
return FormatTok.is(tok::comment) && !FormatTok.
TokenText
.startswith("/*");
669
if (I->Tok->
TokenText
!= "goog")
675
if (I->Tok->
TokenText
!= "scope")
821
if (!IfDef && (FormatTok->is(tok::kw_false) || FormatTok->
TokenText
== "0"))
823
if (IfDef && !IfNDef && FormatTok->
TokenText
== "SWIG")
884
IncludeGuardToken->
TokenText
== FormatTok->
TokenText
) {
1016
Previous->is(TT_TemplateString) && Previous->
TokenText
.endswith("${");
1031
Next->is(TT_TemplateString) && Next->
TokenText
.startswith("}");
1446
StringRef Text = FormatTok->
TokenText
;
[
all
...]
TokenAnnotator.cpp
1156
!CurrentToken->
TokenText
.startswith("//"))
1349
return Tok.
TokenText
== "goog" && Tok.Next && Tok.Next->is(tok::period) &&
1351
(Tok.Next->Next->
TokenText
== "module" ||
1352
Tok.Next->Next->
TokenText
== "provide" ||
1353
Tok.Next->Next->
TokenText
== "require" ||
1354
Tok.Next->Next->
TokenText
== "requireType" ||
1355
Tok.Next->Next->
TokenText
== "forwardDeclare") &&
1555
LeadingIdentifier->
TokenText
== Current.Next->
TokenText
);
1652
if (Current.
TokenText
.startswith("/*"))
[
all
...]
FormatToken.h
226
StringRef
TokenText
;
526
if (is(TT_TemplateString) &&
TokenText
.endswith("${"))
536
if (is(TT_TemplateString) &&
TokenText
.startswith("}"))
605
StringRef Content =
TokenText
;
UsingDeclarationsSorter.cpp
102
Label.append(Tok->
TokenText
.str());
UnwrappedLineFormatter.cpp
158
return NamespaceToken ? NamespaceToken->
TokenText
: StringRef();
166
return NamespaceToken ? NamespaceToken->
TokenText
: StringRef();
277
nsToken->
TokenText
== getNamespaceTokenText(I[i + 1]) &&
293
nsToken->
TokenText
==
769
llvm::dbgs() << (P.Tok ? P.Tok->
TokenText
: "F") << "|" << P.Indent << "|"
772
llvm::dbgs() << State.NextToken->
TokenText
<< "\n";
Format.cpp
1560
StringRef Input = FormatTok->
TokenText
;
1795
Prev->Tok.getLocation().getLocWithOffset(Prev->
TokenText
.size());
2137
if (Line->First && (Line->First->
TokenText
.startswith("#") ||
2138
Line->First->
TokenText
== "__pragma" ||
2139
Line->First->
TokenText
== "_Pragma"))
2150
FormatTok->
TokenText
)) ||
2161
<< " token: " << FormatTok->
TokenText
<< " token type: "
/src/external/apache2/llvm/dist/clang/lib/Frontend/
PrintPreprocessedOutput.cpp
341
const std::string
TokenText
= PP.getSpelling(IncludeTok);
342
assert(!
TokenText
.empty());
343
OS << "#" <<
TokenText
<< " "
/src/external/apache2/llvm/dist/clang/lib/ASTMatchers/
ASTMatchersInternal.cpp
676
// Checks whether \p Loc points to a token with source text of \p
TokenText
.
683
StringRef
TokenText
= Lexer::getSpelling(SM.getSpellingLoc(Loc), Buffer, SM,
685
return !Invalid && Text ==
TokenText
;
Completed in 52 milliseconds
Indexes created Tue Jun 09 00:24:00 UTC 2026