Definition SourceArea.hpp:20
Definition SourceCode.hpp:24
SPtr< std::istream > mStream
Definition SourceCode.hpp:26
String mCurrentLine
Definition SourceCode.hpp:27
void nextSourceOrigin(const String &filename, Int32 lineOffset)
const String & getLine() const
Definition SourceCode.hpp:56
String getLine(std::size_t lineIndex) const
Vector< String > mLines
Definition SourceCode.hpp:28
void ignore()
Definition SourceCode.hpp:50
bool fetchLineMarker(const SourceArea &area, String &line, String &marker)
String getFilename() const
SourcePosition mPosition
Definition SourceCode.hpp:29
SourceCode(const SPtr< std::istream > &stream)
const SourcePosition & getPosition() const
Definition SourceCode.hpp:53
Definition SourcePosition.hpp:30
SPtr< SourceCode > SourceCodePtr
Definition SourceCode.hpp:66
std::shared_ptr< T > SPtr
SPtr is a smart pointer that retains shared ownership of an object through a pointer.
Definition SmartPtr.hpp:37
std::vector< T, ScopedAllocatorAdaptor< StdAllocator< T, RawAllocator > > > Vector
Vector is a sequence container that encapsulates dynamic size arrays.
Definition Vector.hpp:17
std::int32_t Int32
Definition DataTypes.hpp:21
constexpr size_t hash(const T &v)
Generates a hash for the provided type.
Definition Hash.hpp:25