MCPcopy Create free account
hub / github.com/NICUP14/MiniLang / __init__

Method __init__

src/Def.py:167–174  ·  view source on GitHub ↗
(self, name: str, elem_cnt: int, elem_type: VariableType, off: int, ptr_type: PointerType, is_local: bool = False, value: int = 0)

Source from the content-addressed store, hash-verified

165 """
166
167 def __init__(self, name: str, elem_cnt: int, elem_type: VariableType, off: int, ptr_type: PointerType, is_local: bool = False, value: int = 0):
168 self.name = name
169 self.elem_cnt = elem_cnt
170 self.elem_type = elem_type
171 self.off = off
172 self.ptr_type = ptr_type
173 self.is_local = is_local
174 self.value = value
175
176
177@dataclass

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected