| 130 | return f"{s} --> {self.coding}" |
| 131 | |
| 132 | class CommentEntry(ParsingItem): |
| 133 | def __init__(self, parent): |
| 134 | super().__init__(parent) |
| 135 | self.text = None |
| 136 | def fromText(self, text : str): |
| 137 | self.text = cleanComment(text) |
| 138 | def __str__(self): |
| 139 | s = "" |
| 140 | for _ in range(self.parent.depth): |
| 141 | s += " " |
| 142 | return f"{s}//{self.text}" |
| 143 | |
| 144 | class FunctionCall(ParsingItem): |
| 145 | def __init__(self, parent): |