pystencils.backend.ast.structural.PsConditional#
- class pystencils.backend.ast.structural.PsConditional(cond, branch_true, branch_false=None)#
Conditional branch
- Parameters:
cond (PsExpression)
branch_true (PsBlock)
branch_false (PsBlock | None)
- _clone_structural()#
Implementation of structural node cloning.
- Return type:
- get_children()#
Retrieve child nodes of this AST node
This operation must be implemented by subclasses.