fparser Reference Guide  0.0.14
fparser.two.utils.FortranSyntaxError Class Reference
Inheritance diagram for fparser.two.utils.FortranSyntaxError:
Collaboration diagram for fparser.two.utils.FortranSyntaxError:

Public Member Functions

def __init__ (self, reader, info)
 
- Public Member Functions inherited from fparser.two.utils.FparserException
def __init__ (self, info)
 

Detailed Description

An exception indicating that fparser believes the provided code to
be invalid Fortran. Also returns information about the location of
the error if that information is available.

:param reader: input string or reader where the error took \
place. This is used to provide line number and line content \
information.
:type reader: str or :py:class:`FortranReaderBase`
:param str info: a string giving contextual error information.

Definition at line 134 of file utils.py.


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