API reference
python:astx:astx.AssertStmt.__init__
method __init__
__init__(condition: astx.Expr, message: astx.Expr | None = None, loc: astx.SourceLocation = astx.base.NO_SOURCE_LOCATION, parent: astx.ASTNodes[astx.AST] | None = None) -> None
Source: packages/astx/src/astx/system.py:34
Declared as: python:astx:astx.system.AssertStmt.__init__
Initialize AssertStmt.
Parameters
-
condition — Type: astx.Expr
-
message — Type: astx.Expr | None
-
loc — Type: astx.SourceLocation
-
parent — Type: astx.ASTNodes[astx.AST] | None