microprobe.code.var.VariableArray
- class VariableArray(name: str, vartype: str, size: int, align: int | None = None, value=None, address: Address | None = None)[source]
Bases:
Variable
- __init__(name: str, vartype: str, size: int, align: int | None = None, value=None, address: Address | None = None)[source]
- Parameters:
name
vartype
size
align – (Default value = 16)
value – (Default value = None)
Methods
__init__
(name, vartype, size[, align, ...])- param name:
array
()Return if the variable is an array.
set_address
(address)Set variable address.
Attributes
Variable address (
Address
).Variable alignment (
int
).Number of elements in the variable array (
int
).Variable name (
str
).Variable size in bytes (:
int
).Variable type (
str
).Variable value.
- property value
Variable value.