fparser Reference Guide
0.0.14
|
Public Member Functions | |
def | __init__ (self, prefix, block, suffix, linenospan, reader) |
def | __repr__ (self) |
def | isempty (self, ignore_comments=False) |
Public Attributes | |
prefix | |
block | |
suffix | |
span | |
reader | |
Holds PYF file multiline. PYF file multiline is represented as follows:: prefix+'''+lines+'''+suffix. :param str prefix: the prefix of the line(s) :param block: list of lines :type block: List[:py:class:`fparser.common.readfortran.Line`] :param str suffix: the suffix of the block of lines :param linenospan: starting and ending line numbers :type linenospan: Tuple[int, int] :param reader: the current reader instance. :type reader: :py:class:`fparser.common.readfortran.FortranReaderBase`
Definition at line 472 of file readfortran.py.
def fparser.common.readfortran.MultiLine.isempty | ( | self, | |
ignore_comments = False |
|||
) |
Returns true if there is no significant text in this multi-line string.
Definition at line 506 of file readfortran.py.
References fparser.common.readfortran.MultiLine.block, fparser.common.readfortran.MultiLine.prefix, and fparser.common.readfortran.MultiLine.suffix.