| 41 | }; |
| 42 | |
| 43 | yaml_node_t *fxGetMappingValue(yaml_document_t* document, yaml_node_t* mapping, char* name) |
| 44 | { |
| 45 | yaml_node_pair_t* pair = mapping->data.mapping.pairs.start; |
| 46 | while (pair < mapping->data.mapping.pairs.top) { |
| 47 | yaml_node_t* key = yaml_document_get_node(document, pair->key); |
| 48 | if (!strcmp((char*)key->data.scalar.value, name)) { |
| 49 | return yaml_document_get_node(document, pair->value); |
| 50 | } |
| 51 | pair++; |
| 52 | } |
| 53 | return NULL; |
| 54 | } |
| 55 | |
| 56 | void Test262Context_getMetadata(xsMachine* the) |
| 57 | { |
no test coverage detected