Lines Matching refs:Lex
37 Lex.reset(new Lexer(ID, SourceMgr.getBufferOrFake(ID), SourceMgr, LangOpts));
38 Lex->SetKeepWhitespaceMode(true);
489 const char *Offset = Lex->getBufferLocation(); in tryParseJSRegexLiteral()
491 StringRef Buffer = Lex->getBuffer(); in tryParseJSRegexLiteral()
522 resetLexer(SourceMgr.getFileOffset(Lex->getSourceLocation(Offset))); in tryParseJSRegexLiteral()
1131 const char *Start = Lex->getBufferLocation(); in readRawTokenVerilogSpecific()
1132 if (!VerilogToken.match(StringRef(Start, Lex->getBuffer().end() - Start), in readRawTokenVerilogSpecific()
1147 Tok.setLocation(Lex->getSourceLocation(Start, Len)); in readRawTokenVerilogSpecific()
1149 Lex->seek(Lex->getCurrentBufferOffset() + Len, /*IsAtStartofline=*/false); in readRawTokenVerilogSpecific()
1157 Lex->LexFromRawLexer(Tok.Tok); in readRawToken()
1193 Lex.reset(new Lexer(SourceMgr.getLocForStartOfFile(ID), LangOpts, in resetLexer()
1195 Lex->SetKeepWhitespaceMode(true); in resetLexer()