clang 22.0.0git
TokenCollector::Builder Class Reference

Builds mappings and spelled tokens in the TokenBuffer based on the expanded token stream. More...

Public Member Functions

 Builder (std::vector< syntax::Token > Expanded, PPExpansions CollectedExpansions, const SourceManager &SM, const LangOptions &LangOpts)
TokenBuffer build () &&

Detailed Description

Builds mappings and spelled tokens in the TokenBuffer based on the expanded token stream.

Definition at line 704 of file Tokens.cpp.

Constructor & Destructor Documentation

◆ Builder()

TokenCollector::Builder::Builder ( std::vector< syntax::Token > Expanded,
PPExpansions CollectedExpansions,
const SourceManager & SM,
const LangOptions & LangOpts )
inline

Definition at line 706 of file Tokens.cpp.

Member Function Documentation

◆ build()

TokenBuffer TokenCollector::Builder::build ( ) &&
inline

Definition at line 713 of file Tokens.cpp.

References advance(), and clang::File.


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