MCPcopy Create free account
hub / github.com/IENT/YUView / __init__

Method __init__

tools/standardTextToCode/parseTables.py:281–285  ·  view source on GitHub ↗
(self, parent)

Source from the content-addressed store, hash-verified

279
280class ContainerIf(Container):
281 def __init__(self, parent):
282 super().__init__(parent)
283 self.condition = None
284 self.isElseIf = False
285 self.isElse = False
286 def fromText(self, text : str):
287 if (not text.startswith("if") and not text.startswith("else if") and not text.startswith("} else") and not text.startswith("else")):
288 raise SyntaxError("If container does not start with if or else if")

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected