27 #ifndef IDLFE_AST_LOCATION_H_
28 #define IDLFE_AST_LOCATION_H_
46 const std::filesystem::path&
file () const noexcept
53 unsigned line () const noexcept
63 Location (
const std::filesystem::path*
file,
unsigned line) noexcept :
68 Location (
const yy::location&) noexcept;
70 operator bool () const noexcept
72 return file_ !=
nullptr;
76 const std::filesystem::path* file_;
Stores the location information.
unsigned line() const noexcept
const std::filesystem::path & file() const noexcept
Abstract Syntax Tree namespace.