(Arch, Cursor)
| 233 | return Arch |
| 234 | |
| 235 | def HandleVarDeclCursor(Arch, Cursor): |
| 236 | CursorName = Cursor.spelling |
| 237 | DeclType = Cursor.type |
| 238 | Def = Cursor.get_definition() |
| 239 | |
| 240 | VarDecl = VarDeclDefinition( |
| 241 | Name = CursorName, |
| 242 | Size = DeclType.get_size()) |
| 243 | Arch.VarDecls[VarDecl.Name] = HandleVarDeclElements(Arch, VarDecl, Cursor) |
| 244 | return Arch |
| 245 | |
| 246 | def HandleVarDeclElements(Arch, VarDecl, Cursor): |
| 247 | for Child in Cursor.get_children(): |
no test coverage detected