clang 22.0.0git
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 26 of file FormatTokenLexer.cpp.

References clang::format::NORMAL, clang::nullptr, and true.

Member Function Documentation

◆ getKeywords()

◆ lex()

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

Definition at line 87 of file FormatTokenLexer.cpp.

References NewlinesBefore, and Tok.

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


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