![]() |
ArkScript
A small, lisp-inspired, functional scripting language
|
#include <Diagnostics.hpp>
Public Member Functions | |
bool | wholeLineIsError () const |
std::optional< decltype(internal::FilePos::line)> | maybeEndLine () const noexcept |
Public Attributes | |
std::string | filename |
Complete path to the file where the error is. | |
internal::FilePos | start |
std::optional< internal::FilePos > | end |
Definition at line 24 of file Diagnostics.hpp.
|
inlinenodiscardnoexcept |
Definition at line 35 of file Diagnostics.hpp.
References end.
Referenced by Ark::Diagnostics::makeContext().
|
inlinenodiscard |
Definition at line 30 of file Diagnostics.hpp.
References end.
Referenced by Ark::Diagnostics::makeContext().
std::optional<internal::FilePos> Ark::Diagnostics::ErrorLocation::end |
Definition at line 28 of file Diagnostics.hpp.
Referenced by Ark::Diagnostics::makeContext(), maybeEndLine(), and wholeLineIsError().
std::string Ark::Diagnostics::ErrorLocation::filename |
Complete path to the file where the error is.
Definition at line 26 of file Diagnostics.hpp.
Referenced by Ark::Diagnostics::makeContext(), and Ark::Diagnostics::showFileLocation().
internal::FilePos Ark::Diagnostics::ErrorLocation::start |
Definition at line 27 of file Diagnostics.hpp.
Referenced by Ark::Diagnostics::makeContext(), and Ark::Diagnostics::showFileLocation().