IDL compiler front-end library
Public Member Functions | List of all members
AST::Location Class Reference

Stores the location information. More...

#include <Location.h>

Inheritance diagram for AST::Location:
AST::Include AST::NamedItem AST::ScopedName AST::SimpleDeclarator AST::Constant AST::EnumItem AST::ItemWithId AST::Member AST::OperationBase AST::Declarator AST::Enum AST::InterfaceDecl AST::ItemScope AST::Native AST::StructBase AST::StructDecl AST::TypeDef AST::Union AST::UnionDecl AST::ValueBox AST::ValueTypeDecl AST::Attribute AST::Parameter AST::StateMember AST::UnionElement AST::Operation AST::ValueFactory

Public Member Functions

const std::filesystem::path & file () const noexcept
 
unsigned line () const noexcept
 

Detailed Description

Stores the location information.

Definition at line 42 of file Location.h.

Member Function Documentation

◆ file()

const std::filesystem::path& AST::Location::file ( ) const
inlinenoexcept
Returns
The file name.

Definition at line 46 of file Location.h.

◆ line()

unsigned AST::Location::line ( ) const
inlinenoexcept
Returns
The line number.

Definition at line 53 of file Location.h.


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