Qucs-S S-parameter Viewer & RF Synthesis Tools
Loading...
Searching...
No Matches
pip._vendor.pyparsing.exceptions.ParseException Class Reference
Inheritance diagram for pip._vendor.pyparsing.exceptions.ParseException:
Inheritance graph
[legend]
Collaboration diagram for pip._vendor.pyparsing.exceptions.ParseException:
Collaboration graph
[legend]

Additional Inherited Members

- Public Member Functions inherited from pip._vendor.pyparsing.exceptions.ParseBaseException
 __init__ (self, str pstr, int loc=0, typing.Optional[str] msg=None, elem=None)
 
str line (self)
 
int lineno (self)
 
int col (self)
 
int column (self)
 
 parserElement (self)
 
 parserElement (self, elem)
 
str __str__ (self)
 
 __repr__ (self)
 
str mark_input_line (self, typing.Optional[str] marker_string=None, *str markerString=">!<")
 
str explain (self, depth=16)
 
 markInputline (self)
 
- Static Public Member Functions inherited from pip._vendor.pyparsing.exceptions.ParseBaseException
 explain_exception (exc, depth=16)
 
- Public Attributes inherited from pip._vendor.pyparsing.exceptions.ParseBaseException
 loc
 
 msg
 
 pstr
 
 parser_element
 
 args
 
- Static Public Attributes inherited from pip._vendor.pyparsing.exceptions.ParseBaseException
int loc
 
str msg
 
str pstr
 
typing parser_element .Any
 
typing args .Tuple[str, int, typing.Optional[str]]
 
- Protected Member Functions inherited from pip._vendor.pyparsing.exceptions.ParseBaseException
 _from_exception (cls, pe)
 

Detailed Description

Exception thrown when a parse expression doesn't match the input string

Example::

    try:
        Word(nums).set_name("integer").parse_string("ABC")
    except ParseException as pe:
        print(pe)
        print("column: {}".format(pe.column))

prints::

   Expected integer (at char 0), (line:1, col:1)
    column: 1

The documentation for this class was generated from the following file: