clang API Documentation

clang::Lexer Member List
This is the complete list of members for clang::Lexer, including all inherited members.
AdvanceToTokenCharacter(SourceLocation TokStart, unsigned Character, const SourceManager &SM, const LangOptions &LangOpts)clang::Lexer [static]
ComputePreamble(StringRef Buffer, const LangOptions &LangOpts, unsigned MaxLines=0)clang::Lexer [static]
conditional_begin() const clang::PreprocessorLexer [inline]
conditional_end() const clang::PreprocessorLexer [inline]
conditional_iterator typedefclang::PreprocessorLexer
ConditionalStackclang::PreprocessorLexer [protected]
Create_PragmaLexer(SourceLocation SpellingLoc, SourceLocation ExpansionLocStart, SourceLocation ExpansionLocEnd, unsigned TokLen, Preprocessor &PP)clang::Lexer [static]
Diag(const char *Loc, unsigned DiagID) const clang::Lexer
FIDclang::PreprocessorLexer [protected]
findLocationAfterToken(SourceLocation loc, tok::TokenKind TKind, const SourceManager &SM, const LangOptions &LangOpts, bool SkipTrailingWhitespaceAndNewLine)clang::Lexer [static]
GetBeginningOfToken(SourceLocation Loc, const SourceManager &SM, const LangOptions &LangOpts)clang::Lexer [static]
getBuffer() const clang::Lexer [inline]
getBufferLocation() const clang::Lexer [inline]
getCharAndSizeNoWarn(const char *Ptr, unsigned &Size, const LangOptions &LangOpts)clang::Lexer [inline, static]
getConditionalStackDepth() const clang::PreprocessorLexer [inline, protected]
getFileEntry() const clang::PreprocessorLexer
getFileID() const clang::PreprocessorLexer [inline]
getFileLoc() const clang::Lexer [inline]
getImmediateMacroName(SourceLocation Loc, const SourceManager &SM, const LangOptions &LangOpts)clang::Lexer [static]
getInitialNumSLocEntries() const clang::PreprocessorLexer [inline]
getLangOpts() const clang::Lexer [inline]
getLocForEndOfToken(SourceLocation Loc, unsigned Offset, const SourceManager &SM, const LangOptions &LangOpts)clang::Lexer [static]
getPP() const clang::PreprocessorLexer [inline]
getRawToken(SourceLocation Loc, Token &Result, const SourceManager &SM, const LangOptions &LangOpts, bool IgnoreWhiteSpace=false)clang::Lexer [static]
getSourceLocation(const char *Loc, unsigned TokLen=1) const clang::Lexer
getSourceLocation() overrideclang::Lexer [inline, virtual]
getSourceText(CharSourceRange Range, const SourceManager &SM, const LangOptions &LangOpts, bool *Invalid=nullptr)clang::Lexer [static]
getSpelling(const Token &Tok, const char *&Buffer, const SourceManager &SourceMgr, const LangOptions &LangOpts, bool *Invalid=nullptr)clang::Lexer [static]
getSpelling(const Token &Tok, const SourceManager &SourceMgr, const LangOptions &LangOpts, bool *Invalid=nullptr)clang::Lexer [static]
getSpelling(SourceLocation loc, SmallVectorImpl< char > &buffer, const SourceManager &SourceMgr, const LangOptions &LangOpts, bool *invalid=nullptr)clang::Lexer [static]
InitialNumSLocEntriesclang::PreprocessorLexer [protected]
inKeepCommentMode() const clang::Lexer [inline]
isAtEndOfMacroExpansion(SourceLocation loc, const SourceManager &SM, const LangOptions &LangOpts, SourceLocation *MacroEnd=nullptr)clang::Lexer [static]
isAtStartOfMacroExpansion(SourceLocation loc, const SourceManager &SM, const LangOptions &LangOpts, SourceLocation *MacroBegin=nullptr)clang::Lexer [static]
isIdentifierBodyChar(char c, const LangOptions &LangOpts)clang::Lexer [static]
isKeepWhitespaceMode() const clang::Lexer [inline]
isLexingRawMode() const clang::PreprocessorLexer [inline]
isPragmaLexer() const clang::Lexer [inline]
Lexer(FileID FID, const llvm::MemoryBuffer *InputBuffer, Preprocessor &PP)clang::Lexer
Lexer(SourceLocation FileLoc, const LangOptions &LangOpts, const char *BufStart, const char *BufPtr, const char *BufEnd)clang::Lexer
Lexer(FileID FID, const llvm::MemoryBuffer *InputBuffer, const SourceManager &SM, const LangOptions &LangOpts)clang::Lexer
LexFromRawLexer(Token &Result)clang::Lexer [inline]
LexIncludeFilename(Token &Result)clang::PreprocessorLexer
LexingRawModeclang::PreprocessorLexer [protected]
makeFileCharRange(CharSourceRange Range, const SourceManager &SM, const LangOptions &LangOpts)clang::Lexer [static]
MeasureTokenLength(SourceLocation Loc, const SourceManager &SM, const LangOptions &LangOpts)clang::Lexer [static]
MIOptclang::PreprocessorLexer [protected]
clang::PreprocessorLexer::operator=(const PreprocessorLexer &) LLVM_DELETED_FUNCTIONclang::PreprocessorLexer [protected]
ParsingFilenameclang::PreprocessorLexer [protected]
ParsingPreprocessorDirectiveclang::PreprocessorLexer [protected]
peekConditionalLevel()clang::PreprocessorLexer [inline, protected]
popConditionalLevel(PPConditionalInfo &CI)clang::PreprocessorLexer [inline, protected]
PPclang::PreprocessorLexer [protected]
Preprocessor classclang::Lexer [friend]
PreprocessorLexer(const PreprocessorLexer &) LLVM_DELETED_FUNCTIONclang::PreprocessorLexer [protected]
PreprocessorLexer(Preprocessor *pp, FileID fid)clang::PreprocessorLexer [protected]
PreprocessorLexer()clang::PreprocessorLexer [inline, protected]
pushConditionalLevel(SourceLocation DirectiveStart, bool WasSkipping, bool FoundNonSkip, bool FoundElse)clang::PreprocessorLexer [inline, protected]
pushConditionalLevel(const PPConditionalInfo &CI)clang::PreprocessorLexer [inline, protected]
ReadToEndOfLine(SmallVectorImpl< char > *Result=nullptr)clang::Lexer
resetExtendedTokenMode()clang::Lexer
SetCommentRetentionState(bool Mode)clang::Lexer [inline]
SetKeepWhitespaceMode(bool Val)clang::Lexer [inline]
setParsingPreprocessorDirective(bool f)clang::PreprocessorLexer [inline]
Stringify(const std::string &Str, bool Charify=false)clang::Lexer [static]
Stringify(SmallVectorImpl< char > &Str)clang::Lexer [static]
~PreprocessorLexer()clang::PreprocessorLexer [inline, protected, virtual]