| 48 | //////////////////////////////////////////////////////////////////////////////// |
| 49 | |
| 50 | Value *Annotation::getValueObject() |
| 51 | { |
| 52 | if (hasValue()) |
| 53 | { |
| 54 | return m_value; |
| 55 | } |
| 56 | else |
| 57 | { |
| 58 | throw semantic_error(format_string("Missing value for annotation named '%s' on line '%d'", m_name.c_str(), |
| 59 | m_location.m_firstLine)); |
| 60 | } |
| 61 | } |
| 62 | |
| 63 | string Symbol::printAnnotations() |
| 64 | { |
no test coverage detected