API reference
python:astx:astx.buffer.BufferViewDescriptor
class BufferViewDescriptor
BufferViewDescriptor(metadata: Any, element_type: astx.DataType | None = None)
Source: packages/astx/src/astx/buffer.py:69
Internal low-level buffer view descriptor literal.
Attributes
-
metadata — Metadata associated with the operation.; Type: Any
-
type_ — Type associated with this expression.; Type: BufferViewType
-
loc — Type: SourceLocation
-
kind — Type: ASTKind
-
comment — Type: str
-
parent — Type: Optional[ASTNodes]
-
ref — Type: str
-
nbytes — Type: int
-
name — Type: str
-
_tmp_id — Type: int
Methods
-
__init__ — Initialize one buffer view descriptor.
-
get_struct — Return the structured representation.