Contains the meta-data of a primitive type.
| 141 | |
| 142 | |
| 143 | class Variable: |
| 144 | """ |
| 145 | Contains the meta-data of a primitive type. |
| 146 | """ |
| 147 | |
| 148 | # ? The value field is used to initialize global variables |
| 149 | def __init__(self, vtype: VariableType, off: int, is_local: bool = True, value: int = 0): |
| 150 | self.vtype = vtype |
| 151 | self.off = off |
| 152 | self.is_local = is_local |
| 153 | self.value = value |
| 154 | |
| 155 | |
| 156 | class PointerType(enum.Enum): |
no outgoing calls
no test coverage detected