API reference
python:irx:irx.builder.lowering.VariableVisitorMixin._destroy_replaced_string
method _destroy_replaced_string
_destroy_replaced_string(node: astx.AST, string_ptr: ir.Value, *, target_name: str) -> None
Source: packages/irx/src/irx/builder/lowering/variables.py:240
Declared as: python:irx:irx.builder.lowering.variables.VariableVisitorMixin._destroy_replaced_string
Destroy owned string storage before a validated replacement.
Parameters
-
node โ Syntax node to process.; Type: astx.AST
-
string_ptr โ String ptr.; Type: ir.Value
-
target_name โ Name of target.; Type: str
Returns
Type: None