API reference
python:astx:astx.data.DeleteStmt
class DeleteStmt
DeleteStmt(value: Iterable[Identifier], loc: SourceLocation = NO_SOURCE_LOCATION, parent: Optional[ASTNodes] = None)
Source: packages/astx/src/astx/data.py:265
AST class for 'del' statements.
Attributes
-
kind — Kind of value or operation.; Type: ASTKind
-
value — Stored value.; Type: Iterable[Identifier]
-
loc — Type: SourceLocation
-
comment — Type: str
-
parent — Type: Optional[ASTNodes]
-
ref — Type: str
Methods
-
__init__ — Initialize the DeleteStmt instance.
-
__str__ — Return a string representation of the object.
-
get_struct — Return the AST structure of the object.