4.6.0
Freundlich's C++ toolkit
Loading...
Searching...
No Matches
fcppt::parse::basic_literal_error< Ch > Class Template Reference

Public Types

using pos_type = fcppt::parse::position<Ch>
 
using expected_type = fcppt::strong_typedef<Ch, fcppt::parse::expected_tag>
 
using got_type = fcppt::strong_typedef<fcppt::optional::object<Ch>, fcppt::parse::got_tag>
 

Public Member Functions

 basic_literal_error (pos_type, expected_type, got_type)
 
pos_type pos () const
 
Ch expected () const
 
fcppt::optional::object< Ch > const & got () const
 
bool operator== (basic_literal_error const &) const =default
 

Member Typedef Documentation

◆ expected_type

template<typename Ch >
using fcppt::parse::basic_literal_error< Ch >::expected_type = fcppt::strong_typedef<Ch, fcppt::parse::expected_tag>

◆ got_type

template<typename Ch >
using fcppt::parse::basic_literal_error< Ch >::got_type = fcppt::strong_typedef<fcppt::optional::object<Ch>, fcppt::parse::got_tag>

◆ pos_type

template<typename Ch >
using fcppt::parse::basic_literal_error< Ch >::pos_type = fcppt::parse::position<Ch>

Constructor & Destructor Documentation

◆ basic_literal_error()

template<typename Ch >
fcppt::parse::basic_literal_error< Ch >::basic_literal_error ( pos_type ,
expected_type ,
got_type  )

Member Function Documentation

◆ expected()

template<typename Ch >
Ch fcppt::parse::basic_literal_error< Ch >::expected ( ) const
nodiscard

◆ got()

template<typename Ch >
fcppt::optional::object< Ch > const & fcppt::parse::basic_literal_error< Ch >::got ( ) const
nodiscard

◆ operator==()

template<typename Ch >
bool fcppt::parse::basic_literal_error< Ch >::operator== ( basic_literal_error< Ch > const & ) const
nodiscarddefault

◆ pos()

template<typename Ch >
pos_type fcppt::parse::basic_literal_error< Ch >::pos ( ) const
nodiscard