API reference

python:astx:astx.BorrowDeclaration

class BorrowDeclaration

BorrowDeclaration(name: str, type_: DataType, source: Expr, access: BorrowAccess, *, mutability: MutabilityKind = MutabilityKind.mutable, loc: SourceLocation = NO_SOURCE_LOCATION)

Source: packages/astx/src/astx/borrows.py:33

Declared as: python:astx:astx.borrows.BorrowDeclaration

Declare a local borrow of a place.

Attributes

Methods

Attributes

Search documentation

Type to search.