system
¶
Collection of system classes and functions.
Classes:
Cast
¶
Cast(value: AST, target_type: Any)
Bases: Expr
Cast AST node for type conversions.
Represents a cast of value to a specified target_type.
Methods:
-
get_struct–Return the structured representation of the cast expression.
Source code in src/irx/system.py
41 42 43 | |
get_struct
¶
get_struct(simplified: bool = False) -> ReprStruct
Return the structured representation of the cast expression.
Source code in src/irx/system.py
45 46 47 48 49 | |
PrintExpr
¶
PrintExpr(message: LiteralUTF8String)
Bases: Expr
PrintExpr AST class.
Note: it would be nice to support more arguments similar to the ones supported by Python (*args, sep=' ', end='', file=None, flush=False).
Methods:
-
get_struct–Return the AST structure of the object.
Source code in src/irx/system.py
21 22 23 24 | |
get_struct
¶
get_struct(simplified: bool = False) -> ReprStruct
Return the AST structure of the object.
Source code in src/irx/system.py
26 27 28 29 30 31 | |