FLANG
Fortran::parser::AllSources Class Reference

Public Member Functions

std::size_t size () const
const char & operator[] (Provenance) const
Encoding encoding () const
AllSources & set_encoding (Encoding e)
void ClearSearchPath ()
void AppendSearchPathDirectory (std::string)
const SourceFile * OpenPath (std::string path, llvm::raw_ostream &error)
const SourceFile * Open (std::string path, llvm::raw_ostream &error, std::optional< std::string > &&prependPath=std::nullopt)
const SourceFile * ReadStandardInput (llvm::raw_ostream &error)
std::vector< std::string > GetIncludedFilePaths () const
ProvenanceRange AddIncludedFile (const SourceFile &, ProvenanceRange, bool isModule=false)
ProvenanceRange AddMacroCall (ProvenanceRange def, ProvenanceRange use, const std::string &expansion)
ProvenanceRange AddCompilerInsertion (std::string)
Provenance GetReplacedProvenance (Provenance) const
bool IsValid (Provenance at) const
bool IsValid (ProvenanceRange range) const
void setShowColors (bool showColors)
bool getShowColors () const
std::optional< ProvenanceRange > GetInclusionInfo (const std::optional< ProvenanceRange > &) const
void EmitMessage (llvm::raw_ostream &, const std::optional< ProvenanceRange > &, const std::string &message, const std::string &prefix, llvm::raw_ostream::Colors color, bool echoSourceLine=false) const
const SourceFile * GetSourceFile (Provenance, std::size_t *offset=nullptr, bool topLevel=false) const
const char * GetSource (ProvenanceRange) const
std::optional< SourcePosition > GetSourcePosition (Provenance) const
std::optional< ProvenanceRange > GetFirstFileProvenance () const
std::string GetPath (Provenance, bool topLevel=false) const
int GetLineNumber (Provenance) const
Provenance CompilerInsertionProvenance (char ch)
ProvenanceRange IntersectionWithSourceFiles (ProvenanceRange) const
llvm::raw_ostream & Dump (llvm::raw_ostream &) const

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