Constructor
new IfStmt(expr:, suite:, orelseopt)
Create an if statement node.
- Source:
Parameters:
| Name | Type | Attributes | Description |
|---|---|---|---|
expr: |
*
|
condition expression | |
suite: |
Suite
|
true branch suite | |
orelse |
*
|
<optional> |
else branch suite or chained if node |