API reference
python:astx:astx.Starred
class Starred
Starred(value: Expr, loc: SourceLocation = NO_SOURCE_LOCATION, parent: Optional[ASTNodes] = None)
Source: packages/astx/src/astx/operators.py:412
Declared as: python:astx:astx.operators.Starred
AST class for starred expressions (*expr).
Attributes
-
kind — Type: ASTKind
-
value — Type: Expr
Methods
-
__init__ — Initialize the starred expression.
-
__str__ — Return a string that represents the object.
-
get_struct — Return the AST structure that represents the object.