| 1248 | } |
| 1249 | |
| 1250 | bool HasElement( const Scope& sc, const std::string& index ) { |
| 1251 | const Element* el = sc[ index ]; |
| 1252 | if ( nullptr == el ) { |
| 1253 | return false; |
| 1254 | } |
| 1255 | |
| 1256 | return true; |
| 1257 | } |
| 1258 | |
| 1259 | // ------------------------------------------------------------------------------------------------ |
| 1260 | // extract a required element from a scope, abort if the element cannot be found |
no outgoing calls
no test coverage detected