38 const char *error,
int st,
int en);
A class representing a whole session.
Definition: session.hh:75
std::string original_string()
The original string on which the error occured.
Definition: syntax.hh:41
virtual int is_syntax_error()
Yes, this is a syntax error.
Definition: syntax.hh:35
The result of an SCalc::Session::eval().
Definition: expression.hh:36
A syntax error This class represents a syntax error. You can get several informations about this erro...
Definition: syntax.hh:26
int start_pos()
The starting position.
Definition: syntax.hh:45
virtual std::string pretty_print()
Pretty prints the error message Returns a std::string containing a nice display of the error message...
std::string error_message()
The error message.
Definition: syntax.hh:43
int end_pos()
The end position.
Definition: syntax.hh:47
Definition: session.hh:45