API reference
python:astx:astx.BorrowArgument.__init__
method __init__
__init__(source: DataType, access: BorrowAccess, *, loc: SourceLocation = NO_SOURCE_LOCATION) -> None
Source: packages/astx/src/astx/borrows.py:152
Declared as: python:astx:astx.borrows.BorrowArgument.__init__
Initialize a borrow operand.
Parameters
-
source โ Place whose storage is borrowed.; Type: DataType
-
access โ Access required for the call.; Type: BorrowAccess
-
loc โ Source coordinates.; Type: SourceLocation
Returns
Type: None