picceler
Loading...
Searching...
No Matches
picceler::CompileError Struct Reference

Struct to hold compilation error information. More...

#include <error.h>

Public Member Functions

 CompileError ()
 CompileError (std::string string, Location location={})
 CompileError (const CompileError &)=default
 CompileError (CompileError &&)=default
CompileErroroperator= (const CompileError &)=default
CompileErroroperator= (CompileError &&)=default
size_t line () const
size_t column () const
std::string message () const

Public Attributes

std::string _message
Location _location

Detailed Description

Struct to hold compilation error information.

Constructor & Destructor Documentation

◆ CompileError() [1/4]

picceler::CompileError::CompileError ( )
inline

◆ CompileError() [2/4]

picceler::CompileError::CompileError ( std::string string,
Location location = {} )
inlineexplicit

◆ CompileError() [3/4]

picceler::CompileError::CompileError ( const CompileError & )
default

◆ CompileError() [4/4]

picceler::CompileError::CompileError ( CompileError && )
default

Member Function Documentation

◆ column()

size_t picceler::CompileError::column ( ) const
inline

◆ line()

size_t picceler::CompileError::line ( ) const
inline

◆ message()

std::string picceler::CompileError::message ( ) const
inline

◆ operator=() [1/2]

CompileError & picceler::CompileError::operator= ( CompileError && )
default

◆ operator=() [2/2]

CompileError & picceler::CompileError::operator= ( const CompileError & )
default

Member Data Documentation

◆ _location

Location picceler::CompileError::_location

◆ _message

std::string picceler::CompileError::_message

The documentation for this struct was generated from the following file:
  • /__w/picceler/picceler/include/error.h