(self, parent)
| 308 | |
| 309 | class ContainerWhile(Container): |
| 310 | def __init__(self, parent): |
| 311 | super().__init__(parent) |
| 312 | self.condition = None |
| 313 | def fromText(self, text : str): |
| 314 | if (not text.startswith("while")): |
| 315 | raise SyntaxError("While container does not start with while") |