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 AllSourcesallSources () const
AllSourcesallSources ()
const Messagesmessages () const
Messagesmessages ()
const Preprocessorpreprocessor () const
Preprocessorpreprocessor ()
common::LanguageFeatureControlfeatures ()
Prescannerset_preprocessingOnly (bool yes)
Prescannerset_expandIncludeLines (bool yes)
Prescannerset_fixedForm (bool yes)
Prescannerset_encoding (Encoding code)
Prescannerset_fixedFormColumnLimit (int limit)
PrescannerAddCompilerDirectiveSentinel (const std::string &)
void Prescan (ProvenanceRange)
void Statement ()
void NextLine ()
bool IsAtEnd () const
bool IsNextLinePreprocessorDirective () const
TokenSequence TokenizePreprocessorDirective ()
Provenance GetCurrentProvenance () 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>
MessageSay (A &&...a)
template<typename... A>
MessageWarn (common::UsageWarning warning, A &&...a)
template<typename... A>
MessageWarn (common::LanguageFeature feature, A &&...a)

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