| 98 | |
| 99 | @dataclass |
| 100 | class ArchDB: |
| 101 | Parsed: bool |
| 102 | ArchName: str |
| 103 | NamespaceScope: list |
| 104 | CurrentNamespace: str |
| 105 | TU: TranslationUnit |
| 106 | Structs: dict |
| 107 | Unions: dict |
| 108 | VarDecls: dict |
| 109 | FieldDecls: list |
| 110 | def __init__(self, ArchName): |
| 111 | self.Parsed = True |
| 112 | self.ArchName = ArchName |
| 113 | self.NamespaceScope = [] |
| 114 | self.CurrentNamespace = "" |
| 115 | self.TU = None |
| 116 | self.Structs = {} |
| 117 | self.Unions = {} |
| 118 | self.VarDecls = {} |
| 119 | self.FieldDecls = [] |
| 120 | |
| 121 | @dataclass |
| 122 | class FunctionDecl: |