pystencils.backend.ast.expressions.PsLiteralExpr

pystencils.backend.ast.expressions.PsLiteralExpr#

class pystencils.backend.ast.expressions.PsLiteralExpr(literal)#
Parameters:

literal (PsLiteral)

_clone_expr()#

Implementation of expression cloning.

Return type:

PsLiteralExpr

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)