Definition SourceArea.hpp:20
SourceArea & operator=(const SourceArea &)=default
void update(const AST &ast)
UInt32 mLength
Definition SourceArea.hpp:63
UInt32 getLength() const
Definition SourceArea.hpp:59
SourceArea(const SourcePosition &pos, UInt32 length, UInt32 offset=0)
SourceArea(const SourceArea &)=default
SourcePosition mPos
Definition SourceArea.hpp:62
UInt32 mOffset
Definition SourceArea.hpp:64
void offset(const SourcePosition &pos)
void update(const Token &token)
void update(const SourceArea &area)
static const SourceArea ignore
Definition SourceArea.hpp:23
void update(const String &lengthFromIdent)
void offset(UInt32 offset)
const SourcePosition & getPosition() const
Definition SourceArea.hpp:56
Definition SourcePosition.hpp:30
std::uint32_t UInt32
Definition DataTypes.hpp:23
constexpr size_t hash(const T &v)
Generates a hash for the provided type.
Definition Hash.hpp:25