API reference
python:astx:astx.DoWhileExpr
class DoWhileExpr
DoWhileExpr(condition: Expr, body: Block, loc: SourceLocation = NO_SOURCE_LOCATION, parent: Optional[ASTNodes] = None)
Source: packages/astx/src/astx/flows.py:1351
Declared as: python:astx:astx.flows.DoWhileExpr
AST class for do-while expression.
Attributes
-
condition — Type: Expr
-
body — Type: Block
-
kind — Type: ASTKind
Methods
-
__init__ — Initialize the DoWhileExpr instance.
-
__str__ — Return a string representation of the object.
Attributes
- kind —