| 168 | } |
| 169 | |
| 170 | Builder::ConstPropertyIndex |
| 171 | get_property( |
| 172 | const Builder::PropertySeq& seq, |
| 173 | const std::string& name, Builder::PropertyValueKind kind) |
| 174 | { |
| 175 | for (uint32_t i = 0; i < seq.length(); ++i) { |
| 176 | if (name == seq[i].name.in()) { |
| 177 | if (seq[i].value._d() == kind) { |
| 178 | return ConstPropertyIndex(seq, i); |
| 179 | } else { |
| 180 | return ConstPropertyIndex(); |
| 181 | } |
| 182 | } |
| 183 | } |
| 184 | return ConstPropertyIndex(); |
| 185 | } |
| 186 | |
| 187 | int |
| 188 | NullStream::overflow(int c) |
no test coverage detected