pystencils.backend.ast.expressions.PsCall#

class pystencils.backend.ast.expressions.PsCall(function, args)#
Parameters:
_clone_expr()#

Implementation of expression cloning.

Return type:

PsCall

get_children()#

Retrieve child nodes of this AST node

This operation must be implemented by subclasses.

Return type:

tuple[PsAstNode, ...]

set_child(idx, c)#

Update a child node of this AST node.

This operation must be implemented by subclasses.

Parameters:
structurally_equal(other)#

Check two ASTs for structural equality.

By default this method checks the node’s type and children. If an AST node has additional internal state, it MUST override this method.

Return type:

bool

Parameters:

other (PsAstNode)