
ReadToEndOfLine - Read the rest of the current preprocessor line as an uninterpreted string. ReadToEndOfLine ( SmallVectorImpl *Result=nullptr) Sets the extended token mode back to its initial value, according to the language options and preprocessor.

SetCommentRetentionMode - Change the comment retention mode of the lexer to the specified mode. InKeepCommentMode - Return true if the lexer should return comments as tokens. SetKeepWhitespaceMode - This method lets clients enable or disable whitespace retention mode. IsKeepWhitespaceMode - Return true if the lexer should return tokens for every character in the file, including whitespace and comments. LexFromRawLexer - Lex a token from a designated raw lexer (one with no associated preprocessor object. IsPragmaLexer - Returns true if this Lexer is being used to lex a pragma. GetFileLoc - Return the File Location for the file we are lexing out of. Lexer ( FileID FID, const llvm::MemoryBufferRef &FromFile, const SourceManager & SM, const LangOptions &LangOpts, bool IsFirstIncludeOfFile= true)

Lexer constructor - Create a new raw lexer object. Lexer ( SourceLocation FileLoc, const LangOptions &LangOpts, const char *BufStart, const char *BufPtr, const char *BufEnd, bool IsFirstIncludeOfFile= true) Lexer constructor - Create a new lexer object for the specified buffer with the specified preprocessor managing the lexing process. Lexer ( FileID FID, const llvm::MemoryBufferRef &InputFile, Preprocessor & PP, bool IsFirstIncludeOfFile= true)
