astx.ffi
astx.ffi
Source: packages/astx/src/astx/ffi.py
title: ASTx public FFI AST types.
summary: >-
Provide the minimal pointer and opaque-handle type nodes that hosts can use
when targeting a stable public FFI layer.Classes
PointerType(AnyType)
title: Stable public FFI pointer type.
attributes:
pointee_type:
type: astx.DataType | NoneMethods
get_struct(self, simplified: bool=False) -> astx.base.ReprStruct
title: Build one repr structure for a pointer type.
parameters:
simplified:
type: bool
returns:
type: astx.base.ReprStructOpaqueHandleType(AnyType)
title: Stable public FFI opaque-handle type.
attributes:
handle_name:
type: strMethods
get_struct(self, simplified: bool=False) -> astx.base.ReprStruct
title: Build one repr structure for an opaque-handle type.
parameters:
simplified:
type: bool
returns:
type: astx.base.ReprStruct