Lines Matching refs:Text
47 TokenInfo() : Text(), Kind(TK_Eof), Range(), Value() {} in TokenInfo()
49 StringRef Text; member
93 Result.Text = StringRef(CodeCompletionLocation, 0); in getNextToken()
100 Result.Text = ""; in getNextToken()
107 Result.Text = Code.substr(0, 1); in getNextToken()
112 Result.Text = Code.substr(0, 1); in getNextToken()
117 Result.Text = Code.substr(0, 1); in getNextToken()
122 Result.Text = Code.substr(0, 1); in getNextToken()
149 Result.Text = Code.substr(0, TokenLength); in getNextToken()
158 Result.Text = Code.substr(0, TokenLength); in getNextToken()
162 Result.Text = Code.substr(0, 1); in getNextToken()
184 Result->Text = Code.substr(0, Length); in consumeUnsignedLiteral()
188 if (!Result->Text.getAsInteger(0, Value)) { in consumeUnsignedLiteral()
195 Error->addError(Range, Error->ET_ParserUnsignedError) << Result->Text; in consumeUnsignedLiteral()
218 Result->Text = Code.substr(0, Length + 1); in consumeStringLiteral()
299 NamedValues ? NamedValues->lookup(NameToken.Text) in parseIdentifierPrefixImpl()
309 !S->lookupMatcherCtor(NameToken.Text)) { in parseIdentifierPrefixImpl()
311 << NameToken.Text; in parseIdentifierPrefixImpl()
331 << OpenToken.Text; in parseMatcherExpressionImpl()
335 llvm::Optional<MatcherCtor> Ctor = S->lookupMatcherCtor(NameToken.Text); in parseMatcherExpressionImpl()
339 << NameToken.Text; in parseMatcherExpressionImpl()
360 << CommaToken.Text; in parseMatcherExpressionImpl()
366 NameToken.Text, NameToken.Range, in parseMatcherExpressionImpl()
369 ArgValue.Text = Tokenizer->peekNextToken().Text; in parseMatcherExpressionImpl()
402 BindToken.Text != TokenInfo::ID_Bind) { in parseMatcherExpressionImpl()
426 NameToken.Text, NameToken.Range); in parseMatcherExpressionImpl()
441 if (StringRef(Completion.TypedText).startswith(CompToken.Text) && in addCompletion()
443 Completions.emplace_back(Completion.TypedText.substr(CompToken.Text.size()), in addCompletion()
515 Error->addError(Token.Range, Error->ET_ParserInvalidToken) << Token.Text; in parseExpressionImpl()