API reference
python:astx:astx.TypeOfExpr
class TypeOfExpr
TypeOfExpr(value: astx.Expr)
Source: packages/astx/src/astx/system.py:242
Declared as: python:astx:astx.system.TypeOfExpr
TypeOfExpr AST class.
Represent an expression that produces a value's type name.
Attributes
-
value — Type: astx.Expr
-
type_ — Type: astx.String
Methods
-
__init__ — Initialize TypeOfExpr.
-
get_struct — Return the AST structure of the type-of expression.