| 52 | } |
| 53 | |
| 54 | Annotation * TypeDecl::isPointerToAnnotation() const { |
| 55 | if ( baseType!=Type::tPointer || !firstType || firstType->baseType!=Type::tHandle ) { |
| 56 | return nullptr; |
| 57 | } else { |
| 58 | return firstType->annotation; |
| 59 | } |
| 60 | } |
| 61 | |
| 62 | // auto or generic type conversion |
| 63 |