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

Public Member Functions

 SourceFile (Encoding e)
 
const std::string & path () const
 
llvm::ArrayRef< char > content () const
 
std::size_t bytes () const
 
std::size_t lines () const
 
Encoding encoding () const
 
bool Open (std::string path, llvm::raw_ostream &error)
 
bool ReadStandardInput (llvm::raw_ostream &error)
 
void Close ()
 
SourcePosition GetSourcePosition (std::size_t) const
 
std::size_t GetLineStartOffset (int lineNumber) const
 
const std::string & SavePath (std::string &&)
 
void LineDirective (int trueLineNumber, const std::string &, int)
 
llvm::raw_ostream & Dump (llvm::raw_ostream &) const
 

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