|
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 |
|
| subclasses |
|
C99 6.10.1 Conditional inclusion
else-stmt is # else new-line
Definition at line 258 of file C99Preprocessor.py.
◆ match()
def fparser.two.C99Preprocessor.Cpp_Else_Stmt.match |
( |
|
string | ) |
|
|
static |
Implements the matching for an else preprocessor directive.
:param str string: the string to match with as an else statement.
:return: a 1-tuple containing the matched string or `None` if \
there is no match.
:rtype: (str,) or NoneType
Definition at line 271 of file C99Preprocessor.py.
272 """Implements the matching for an else preprocessor directive. 274 :param str string: the string to match with as an else statement. 276 :return: a 1-tuple containing the matched string or `None` if \ 278 :rtype: (str,) or NoneType 283 return StringBase.match(Cpp_Else_Stmt._pattern, string)
◆ tostr()
def fparser.two.C99Preprocessor.Cpp_Else_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