API reference
python:irx:irx.builder.lowering.variables.VariableVisitorMixin._register_owned_string_cleanup
method _register_owned_string_cleanup
_register_owned_string_cleanup(node: astx.VariableDeclaration | astx.InlineVariableDeclaration | astx.Identifier, string_ptr: ir.Value) -> None
Source: packages/irx/src/irx/builder/lowering/variables.py:183
Register lexical cleanup for one semantically owned string.
Parameters
-
node — Type: astx.VariableDeclaration | astx.InlineVariableDeclaration | astx.Identifier
-
string_ptr — Type: ir.Value