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

/external/clang/lib/Format/
H A DBreakableToken.cpp142 assert(Tok.TokenText.startswith(Prefix) && Tok.TokenText.endswith(Postfix));
143 Line = Tok.TokenText.substr(
144 Prefix.size(), Tok.TokenText.size() - Prefix.size() - Postfix.size());
182 getLineCommentPrefix(Token.TokenText), "",
185 if (Token.TokenText.size() > Prefix.size() &&
186 isAlphanumeric(Token.TokenText[Prefix.size()])) {
223 StringRef TokenText(Token.TokenText);
224 assert(TokenText
[all...]
H A DFormat.cpp966 if (!Current.TokenText.startswith("\""))
971 if (Current.TokenText.find("\\\n") != StringRef::npos)
994 StringRef::size_type EscapedNewlinePos = Current.TokenText.find("\\\n");
999 Current.TokenText.substr(0, EscapedNewlinePos), Encoding) +
1253 (Current.TokenText.find("\\\n") != StringRef::npos)))
1361 FormatTok->TokenText = ">";
1377 unsigned Newlines = FormatTok->TokenText.count('\n');
1380 WhitespaceLength + FormatTok->TokenText.rfind('\n') + 1;
1382 unsigned EscapedNewlines = FormatTok->TokenText.count("\\\n");
1395 while (FormatTok->TokenText
[all...]
H A DFormatToken.h136 StringRef TokenText; member in struct:clang::format::FormatToken
H A DTokenAnnotator.cpp636 if (Current.TokenText.startswith("//"))
987 Current->TokenText.find("\\\n") != StringRef::npos))
1092 StringRef Content = Left.TokenText;
1191 if (Left.Type == TT_BlockComment && Left.TokenText.endswith("=*/"))
H A DUnwrappedLineParser.cpp608 StringRef Text = FormatTok->TokenText;
/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 257 milliseconds