![]() |
bcParser.NET
Math Parser for .NET
|
ParserException is thrown by some methods of MathParser implementation if an expression cannot be parsed. These methods are: Parse(), Evaluate(), GetValue() /summary> More...
Inherits Exception.
Public Member Functions | |
| ParserException (String msg, String errPart, String expression) | |
| Constructor. More... | |
| String | GetInvalidPortionOfExpression () |
| Returns the expression string that cannot be parsed. More... | |
| String | GetSubExpression () |
| Returns the subexpression that is the immediate parent of the error portion. For example, if the expression is 3+LN(MAX(4,)) then getInvalidPortionOfExpression() would return MAX(4,) and getSubExpression() would return LN(MAX(4,)) The returned sub expressions may not exactly match the original string supplied as the expression since space characters and paranthesis may be substituted for efficient parsing. More... | |
ParserException is thrown by some methods of MathParser implementation if an expression cannot be parsed. These methods are: Parse(), Evaluate(), GetValue() /summary>
| Bestcode.MathParser.ParserException.ParserException | ( | String | msg, |
| String | errPart, | ||
| String | expression | ||
| ) |
Constructor.
| msg | |
| errPart | |
| expression |
| String Bestcode.MathParser.ParserException.GetInvalidPortionOfExpression | ( | ) |
Returns the expression string that cannot be parsed.
| String Bestcode.MathParser.ParserException.GetSubExpression | ( | ) |
Returns the subexpression that is the immediate parent of the error portion.
For example, if the expression is 3+LN(MAX(4,)) then getInvalidPortionOfExpression() would return MAX(4,) and getSubExpression() would return LN(MAX(4,))
The returned sub expressions may not exactly match the original string supplied as the expression since space characters and paranthesis may be substituted for efficient parsing.
1.8.11