muParserX 2.0.0
Loading...
Searching...
No Matches
mup::ParserError Class Reference

Error class of the parser. More...

#include <mpError.h>

Public Member Functions

int GetPos () const
 Return the expression position related to the error.
 
const string_typeGetToken () const
 Return string related with this token (if available).
 
EErrorCodes GetCode () const
 Return the error code.
 

Detailed Description

Error class of the parser.

Author
IngecMISSINGo Berg

Part of the math parser package.

Member Function Documentation

◆ GetPos()

int mup::ParserError::GetPos ( ) const

Return the expression position related to the error.

If the error is not related to a distinct position this will return -1


muParserX documentation - (C) 2010 Ingo Berg