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

Method __init__

src/Def.py:149–153  ·  view source on GitHub ↗
(self, vtype: VariableType, off: int, is_local: bool = True, value: int = 0)

Source from the content-addressed store, hash-verified

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
156class PointerType(enum.Enum):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected