FLANG
Fortran::parser::AllSources Class Reference

Public Member Functions

std::size_t size () const
const char & operator[] (Provenance) const
Encoding encoding () const
AllSourcesset_encoding (Encoding e)
void ClearSearchPath ()
void AppendSearchPathDirectory (std::string)
const SourceFileOpenPath (std::string path, llvm::raw_ostream &error)
const SourceFileOpen (std::string path, llvm::raw_ostream &error, std::optional< std::string > &&prependPath=std::nullopt)
const SourceFileReadStandardInput (llvm::raw_ostream &error)
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< ProvenanceRangeGetInclusionInfo (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 SourceFileGetSourceFile (Provenance, std::size_t *offset=nullptr, bool topLevel=false) const
const char * GetSource (ProvenanceRange) const
std::optional< SourcePositionGetSourcePosition (Provenance) const
std::optional< ProvenanceRangeGetFirstFileProvenance () 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: