Searched refs:RegexToken (Results 1 – 1 of 1) sorted by relevance
177 FormatToken *RegexToken = Tokens.back(); in tryParseJSRegexLiteral() local178 if (!RegexToken->isOneOf(tok::slash, tok::slashequal)) in tryParseJSRegexLiteral()196 const char *RegexBegin = Offset - RegexToken->TokenText.size(); in tryParseJSRegexLiteral()222 RegexToken->Type = TT_RegexLiteral; in tryParseJSRegexLiteral()224 RegexToken->Tok.setKind(tok::string_literal); in tryParseJSRegexLiteral()225 RegexToken->TokenText = StringRef(RegexBegin, Offset - RegexBegin); in tryParseJSRegexLiteral()226 RegexToken->ColumnWidth = RegexToken->TokenText.size(); in tryParseJSRegexLiteral()