|
def | tostr (self) |
|
def | init (self, string) |
|
def | tostr (self) |
|
def | torepr (self) |
|
def | __init__ (self, string, parent_cls=None) |
|
def | __new__ (cls, string, parent_cls=None) |
|
def | get_root (self) |
|
def | children (self) |
|
def | init (self, items) |
|
def | torepr (self) |
|
def | __str__ (self) |
|
def | __repr__ (self) |
|
def | tofortran (self, tab="", isfix=None) |
|
def | restore_reader (self, reader) |
|
def | __lt__ (self, other) |
|
def | __le__ (self, other) |
|
def | __eq__ (self, other) |
|
def | __ge__ (self, other) |
|
def | __gt__ (self, other) |
|
def | __ne__ (self, other) |
|
|
def | match (string) |
|
def | match (pattern, string) |
|
|
| subclass_names |
|
| value |
|
| subclasses |
|
C99 6.10.1 Conditional inclusion
endif-stmt is # endif new-line
Definition at line 293 of file C99Preprocessor.py.
◆ match()
def fparser.two.C99Preprocessor.Cpp_Endif_Stmt.match |
( |
|
string | ) |
|
|
static |
Implements the matching for an endif preprocessor directive.
:param str string: the string to match with as an endif statement.
:return: a 1-tuple containing the matched string or `None` if \
there is no match.
:rtype: (str,) or NoneType
Definition at line 306 of file C99Preprocessor.py.
307 """Implements the matching for an endif preprocessor directive. 309 :param str string: the string to match with as an endif statement. 311 :return: a 1-tuple containing the matched string or `None` if \ 313 :rtype: (str,) or NoneType 318 return StringBase.match(Cpp_Endif_Stmt._pattern, string)
◆ tostr()
def fparser.two.C99Preprocessor.Cpp_Endif_Stmt.tostr |
( |
|
self | ) |
|
The documentation for this class was generated from the following file:
- /home/docs/checkouts/readthedocs.org/user_builds/fparser-ref/checkouts/342_reference_guide/src/fparser/two/C99Preprocessor.py