| 341 | |
| 342 | |
| 343 | aType TypeArray(aType b,aType a) |
| 344 | { // type of b[a] |
| 345 | aType r=map_type_of_map[make_pair(a->right(),b->right())]; |
| 346 | if (!r) { |
| 347 | cerr << "\nSorry is not possible to make a map "<< *b->right() << " [" << *a->right() << "]" << endl; |
| 348 | cerr << "in map_type_of_map , list: " << endl; |
| 349 | Map_type_of_map::const_iterator i; |
| 350 | for(i=map_type_of_map.begin();i!=map_type_of_map.end();i++) |
| 351 | cerr << "\t " << *i->first.second << " [" << *i->first.first << "]" << "=" << *i->second << endl; |
| 352 | CompileError(); |
| 353 | } |
| 354 | return r; |
| 355 | } |
| 356 | |
| 357 | aType TypeTemplate(aType b,aType a) |
| 358 | { // type of b[a] |
no test coverage detected