Lines Matching defs:Lexer
1 //===--- Lexer.h - C Language Family Lexer ----------------------*- C++ -*-===//
10 // This file defines the Lexer interface.
42 /// Lexer - This provides a simple interface that turns a text buffer into a
46 class Lexer : public PreprocessorLexer {
73 // in Lexer::isNextPPTokenLParen.
86 Lexer(const Lexer&); // DO NOT IMPLEMENT
87 void operator=(const Lexer&); // DO NOT IMPLEMENT
93 /// Lexer constructor - Create a new lexer object for the specified buffer
97 Lexer(FileID FID, const llvm::MemoryBuffer *InputBuffer, Preprocessor &PP);
99 /// Lexer constructor - Create a new raw lexer object. This object is only
102 Lexer(SourceLocation FileLoc, const LangOptions &LangOpts,
105 /// Lexer constructor - Create a new raw lexer object. This object is only
108 Lexer(FileID FID, const llvm::MemoryBuffer *InputBuffer,
111 /// Create_PragmaLexer: Lexer constructor - Create a new lexer object for
113 /// sets up. It returns a new'd Lexer that must be delete'd when done.
114 static Lexer *Create_PragmaLexer(SourceLocation SpellingLoc,
150 /// isPragmaLexer - Returns true if this Lexer is being used to lex a pragma.
456 // Lexer character reading interfaces.