Searched refs:TokenText (Results 1 - 9 of 9) sorted by relevance

/external/clang/lib/Format/
H A DFormat.cpp684 First[0]->TokenText = "<<";
704 AddLength += First[i]->TokenText.size();
707 First[0]->TokenText = StringRef(First[0]->TokenText.data(),
708 First[0]->TokenText.size() + AddLength);
719 if (Previous->isNot(tok::unknown) || Previous->TokenText != "\\")
722 StringRef Text = Previous->TokenText;
723 Previous->TokenText = StringRef(Text.data(), Text.size() + 1);
742 Tokens.back()->TokenText.startswith("//") &&
743 Tokens[Tokens.size() - 2]->TokenText
955 StringRef TokenText = FormatTok->TokenText; local
[all...]
H A DBreakableToken.cpp150 assert(Tok.TokenText.endswith(Postfix));
151 Line = Tok.TokenText.substr(
152 Prefix.size(), Tok.TokenText.size() - Prefix.size() - Postfix.size());
204 getLineCommentIndentPrefix(Token.TokenText), "",
207 if (Token.TokenText.size() > Prefix.size() &&
208 isAlphanumeric(Token.TokenText[Prefix.size()])) {
256 StringRef TokenText(Token.TokenText);
257 assert(TokenText.startswith("/*") && TokenText
[all...]
H A DTokenAnnotator.cpp585 if (CurrentToken && CurrentToken->TokenText == "mark") {
693 Tok.TokenText == "goog" && Tok.Next && Tok.Next->is(tok::period) &&
694 Tok.Next->Next && (Tok.Next->Next->TokenText == "module" ||
695 Tok.Next->Next->TokenText == "require" ||
696 Tok.Next->Next->TokenText == "provide") &&
866 Current.TokenText.startswith("/*") ? TT_BlockComment : TT_LineComment;
1588 bool is_short_annotation = Right.TokenText.size() < 10;
1624 StringRef Content = Left.TokenText;
1733 return !Left.TokenText.endswith("=*/");
1762 if (Right.is(tok::hash) && Left.is(tok::identifier) && Left.TokenText
[all...]
H A DContinuationIndenter.cpp235 Previous.TokenText == "endl")
953 StringRef Text = Current.TokenText;
979 if (CommentPragmasRegex.match(Current.TokenText.substr(2)))
987 if (CommentPragmasRegex.match(Current.TokenText.substr(2)))
1085 if (Current.TokenText.startswith("R\""))
H A DFormatToken.h178 StringRef TokenText; member in struct:clang::format::FormatToken
H A DUnwrappedLineParser.cpp429 if (I->Tok->TokenText != "goog")
435 if (I->Tok->TokenText != "scope")
836 StringRef Text = FormatTok->TokenText;
H A DUnwrappedLineFormatter.cpp623 llvm::dbgs() << State.NextToken->TokenText << "\n";
/external/antlr/antlr-3.4/runtime/Delphi/Sources/Antlr3.Runtime/
H A DAntlr.Runtime.Tree.pas3774 TokenText: String;
3776 TokenText := '<missing ' + GetTokenNames[ExpectedTokenType] + '>';
3777 Result := TCommonTree.Create(TCommonToken.Create(ExpectedTokenType, TokenText));
H A DAntlr.Runtime.pas5653 TokenText: String;
5658 TokenText := '<missing EOF>'
5660 TokenText := '<missing ' + GetTokenNames[ExpectedTokenType] + '>';
5661 T := TCommonToken.Create(ExpectedTokenType, TokenText);

Completed in 218 milliseconds