diff options
Diffstat (limited to 'pyparsing/exceptions.py')
-rw-r--r-- | pyparsing/exceptions.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pyparsing/exceptions.py b/pyparsing/exceptions.py index aa08f63..73f6c02 100644 --- a/pyparsing/exceptions.py +++ b/pyparsing/exceptions.py @@ -25,6 +25,12 @@ _exception_word_extractor = re.compile("([" + _extract_alphanums + "]{1,16})|.") class ParseBaseException(Exception): """base exception class for all parsing runtime exceptions""" + loc: int + msg: str + pstr: str + parser_element: typing.Any # "ParserElement" + args: typing.Tuple[str, int, typing.Optional[str]] + __slots__ = ( "loc", "msg", |