Searched refs:RegexToken (Results 1 – 1 of 1) sorted by relevance
915 FormatToken *RegexToken = Tokens.back(); in tryParseJSRegexLiteral() local916 if (!RegexToken->isOneOf(tok::slash, tok::slashequal)) in tryParseJSRegexLiteral()934 const char *RegexBegin = Offset - RegexToken->TokenText.size(); in tryParseJSRegexLiteral()960 RegexToken->Type = TT_RegexLiteral; in tryParseJSRegexLiteral()962 RegexToken->Tok.setKind(tok::string_literal); in tryParseJSRegexLiteral()963 RegexToken->TokenText = StringRef(RegexBegin, Offset - RegexBegin); in tryParseJSRegexLiteral()964 RegexToken->ColumnWidth = RegexToken->TokenText.size(); in tryParseJSRegexLiteral()