clang  14.0.0git
Public Member Functions | List of all members
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 660 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 662 of file Tokens.cpp.

Member Function Documentation

◆ build()

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

Definition at line 669 of file Tokens.cpp.

References advance(), clang::comments::tok::eof, and clang::File.


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