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

Method __init__

src/Def.py:325–331  ·  view source on GitHub ↗
(self, kind: NodeKind, ntype: VariableType, value: str, left: Optional[Node] = None, right: Optional[Node] = None, middle: Optional[Node] = None)

Source from the content-addressed store, hash-verified

323 """
324
325 def __init__(self, kind: NodeKind, ntype: VariableType, value: str, left: Optional[Node] = None, right: Optional[Node] = None, middle: Optional[Node] = None):
326 self.kind = kind
327 self.ntype = ntype
328 self.value = value
329 self.left = left
330 self.right = right
331 self.middle = middle
332
333 def __str__(self) -> str:
334 attrs = []

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected