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

#include <error.h>

Public Member Functions

 CompileError ()
 CompileError (std::string &&string, size_t line=0, size_t column=0)
 CompileError (const std::string &string, size_t line=0, size_t column=0)
 CompileError (const CompileError &)=default
 CompileError (CompileError &&)=default
CompileErroroperator= (const CompileError &)=default
CompileErroroperator= (CompileError &&)=default
const std::string & message () const
size_t line () const
size_t column () const
std::string format () const

Public Attributes

std::string _message
size_t _line
size_t _column

Constructor & Destructor Documentation

◆ CompileError() [1/5]

picceler::CompileError::CompileError ( )
inline

◆ CompileError() [2/5]

picceler::CompileError::CompileError ( std::string && string,
size_t line = 0,
size_t column = 0 )
inlineexplicit

◆ CompileError() [3/5]

picceler::CompileError::CompileError ( const std::string & string,
size_t line = 0,
size_t column = 0 )
inlineexplicit

◆ CompileError() [4/5]

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

◆ CompileError() [5/5]

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

Member Function Documentation

◆ column()

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

◆ format()

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

◆ line()

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

◆ message()

const 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

◆ _column

size_t picceler::CompileError::_column

◆ _line

size_t picceler::CompileError::_line

◆ _message

std::string picceler::CompileError::_message

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