FLANG
Public Member Functions | List of all members
Fortran::parser::Preprocessor Class Reference

Public Member Functions

 Preprocessor (AllSources &)
 
const AllSourcesallSources () const
 
AllSourcesallSources ()
 
void DefineStandardMacros ()
 
void Define (const std::string &macro, const std::string &value)
 
void Undefine (std::string macro)
 
bool IsNameDefined (const CharBlock &)
 
bool IsFunctionLikeDefinition (const CharBlock &)
 
bool AnyDefinitions () const
 
bool InConditional () const
 
std::optional< TokenSequenceMacroReplacement (const TokenSequence &, Prescanner &, std::optional< std::size_t > *partialFunctionLikeMacro=nullptr, bool inIfExpression=false)
 
void Directive (const TokenSequence &, Prescanner &)
 
void PrintMacros (llvm::raw_ostream &out) const
 

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