API reference
python:astx:astx.YieldFromExpr
class YieldFromExpr
YieldFromExpr(value: Expr, loc: SourceLocation = NO_SOURCE_LOCATION, parent: Optional[ASTNodes] = None)
Source: packages/astx/src/astx/callables.py:889
Declared as: python:astx:astx.callables.YieldFromExpr
AST class for YieldFromExpr.
Attributes
-
kind — Type: ASTKind
-
value — Type: Expr
Methods
-
__init__ — Initialize the YieldFromExpr instance.
-
__str__ — Return a string representation of the object.
-
get_struct — Return the AST structure of the object.