FLANG
Fortran::parser::Prescanner Class Reference

Public Member Functions

 Prescanner (Messages &, CookedSource &, Preprocessor &, common::LanguageFeatureControl)
 Prescanner (const Prescanner &, Preprocessor &, bool isNestedInIncludeDirective)
 Prescanner (const Prescanner &)=delete
 Prescanner (Prescanner &&)=delete
const AllSources & allSources () const
AllSources & allSources ()
const Messages & messages () const
Messages & messages ()
const Preprocessor & preprocessor () const
Preprocessor & preprocessor ()
common::LanguageFeatureControl & features ()
Prescanner & set_preprocessingEnabled (bool yes)
Prescanner & set_preprocessingOnly (bool yes)
Prescanner & set_expandIncludeLines (bool yes)
Prescanner & set_fixedForm (bool yes)
Prescanner & set_encoding (Encoding code)
Prescanner & set_fixedFormColumnLimit (std::optional< int > limit)
Prescanner & AddCompilerDirectiveSentinel (const std::string &)
void Prescan (ProvenanceRange)
void Statement ()
void NextLine ()
bool IsAtEnd () const
bool IsNextLinePreprocessorDirective () const
TokenSequence TokenizePreprocessorDirective ()
Provenance GetCurrentProvenance () const
std::optional< CharBlock > GetKeywordMacroName (const char *) const
TokenSequence ExpandKeywordMacro (CharBlock, Provenance) const
const char * IsCompilerDirectiveSentinel (const char *, std::size_t) const
const char * IsCompilerDirectiveSentinel (CharBlock) const
std::optional< std::pair< const char *, const char * > > IsCompilerDirectiveSentinel (const char *p) const
template<typename... A>
Message & Say (A &&...a)
template<typename... A>
Message * Warn (common::UsageWarning warning, A &&...a)
template<typename... A>
Message * Warn (common::LanguageFeature feature, A &&...a)

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