API reference
python:astx:astx.PrintExpr
class PrintExpr
PrintExpr(message: astx.Expr)
Source: packages/astx/src/astx/system.py:86
Declared as: python:astx:astx.system.PrintExpr
PrintExpr AST class.
Attributes
-
message — Type: astx.Expr
-
_name — Type: str
Notes
It would be nice to support more arguments similar to the ones supported by Python (*args, sep=' ', end='', file=None, flush=False).
Methods
-
__init__ — Initialize the PrintExpr.
-
get_struct — Return the AST structure of the object.