Lines Matching defs:lexer
180 /// Lexer constructor - Create a new lexer object for the specified buffer
181 /// with the specified preprocessor managing the lexing process. This lexer
196 /// Lexer constructor - Create a new raw lexer object. This object is only
197 /// suitable for calls to 'LexFromRawLexer'. This lexer assumes that the text
210 /// Lexer constructor - Create a new raw lexer object. This object is only
211 /// suitable for calls to 'LexFromRawLexer'. This lexer assumes that the text
228 /// Create_PragmaLexer: Lexer constructor - Create a new lexer object for
238 /// normal lexer that remaps tokens as they fly by. This would require making
239 /// Preprocessor::Lex virtual. Given that, we could just dump in a magic lexer
241 /// out of the critical path of the lexer!
249 // Create the lexer as if we were going to lex the file normally.
254 // Now that the lexer is created, change the start/end locations so that we
269 // Ensure that the lexer thinks it is inside a directive, so that end \n will
273 // This lexer really is for _Pragma.
398 Lexer lexer(SM.getLocForStartOfFile(locInfo.first), options,
401 lexer.LexFromRawLexer(token);
474 // Compute the start of the token in the input lexer buffer.
534 // Create a lexer starting at the beginning of this token.
581 // Create a lexer starting at the beginning of this token.
593 // Lexing this token has taken the lexer past the source location we're
640 // Create a lexer starting at the beginning of the file. Note that we use a
641 // "fake" file source location at offset 1 so that the lexer will track our
818 // lexer to parse it correctly.
1184 /// lexer buffer was all expanded at a single point, perform the mapping.
1224 // Otherwise, this is the _Pragma lexer case, which pretends that all of the
1346 Lexer lexer(SM.getLocForStartOfFile(LocInfo.first), LangOpts, File.begin(),
1350 lexer.LexFromRawLexer(Tok);
2290 // Search for the next '"' in hopes of salvaging the lexer. Unfortunately,
2705 // return immediately, so that the lexer can return this as an EOD token.
3064 /// uninterpreted string. This switches the lexer out of directive mode.
3197 /// the specified lexer will return a tok::l_paren token, 0 if it is something
3199 /// lexer.
3232 // Restore the lexer back to non-skipping mode.
3705 // (After the LexTokenInternal call, the lexer might be destroyed.)
3710 /// LexTokenInternal - This implements a simple C family lexer. It is an
3730 // skipped. The next lexer invocation will return the token after the
3771 // We know the lexer hasn't changed, so just try again with this lexer.
3817 // We only saw whitespace, so just try again with this lexer.
3846 // We only saw whitespace, so just try again with this lexer.
4168 // We only saw whitespace, so just try again with this lexer.
4417 // We only saw whitespace, so just try again with this lexer.
4450 // We only saw whitespace, so just try again with this lexer.
4471 // this lexer.