clang 20.0.0git
Public Member Functions | List of all members
clang::format::FormatTokenLexer Class Reference

#include "/home/buildbot/as-worker-4/publish-doxygen-docs/llvm-project/clang/lib/Format/FormatTokenLexer.h"

Public Member Functions

 FormatTokenLexer (const SourceManager &SourceMgr, FileID ID, unsigned Column, const FormatStyle &Style, encoding::Encoding Encoding, llvm::SpecificBumpPtrAllocator< FormatToken > &Allocator, IdentifierTable &IdentTable)
 
ArrayRef< FormatToken * > lex ()
 
const AdditionalKeywordsgetKeywords ()
 

Detailed Description

Definition at line 35 of file FormatTokenLexer.h.

Constructor & Destructor Documentation

◆ FormatTokenLexer()

clang::format::FormatTokenLexer::FormatTokenLexer ( const SourceManager SourceMgr,
FileID  ID,
unsigned  Column,
const FormatStyle Style,
encoding::Encoding  Encoding,
llvm::SpecificBumpPtrAllocator< FormatToken > &  Allocator,
IdentifierTable IdentTable 
)

Definition at line 25 of file FormatTokenLexer.cpp.

References clang::format::NORMAL.

Member Function Documentation

◆ getKeywords()

const AdditionalKeywords & clang::format::FormatTokenLexer::getKeywords ( )
inline

Definition at line 44 of file FormatTokenLexer.h.

Referenced by clang::format::TokenAnalyzer::process().

◆ lex()

ArrayRef< FormatToken * > clang::format::FormatTokenLexer::lex ( )

The documentation for this class was generated from the following files: