API reference

python:astx:astx.TypeCastExpr

class TypeCastExpr

TypeCastExpr(expr: Expr, target_type: DataType, loc: SourceLocation = NO_SOURCE_LOCATION, parent: Optional[ASTNodes] = None)

Source: packages/astx/src/astx/types/casting.py:23

Declared as: python:astx:astx.types.casting.TypeCastExpr

AST class for type casting expressions.

Attributes

Methods

Attributes

Search documentation

Type to search.