| 207 | // --------------------------------------------------------------------------------------------------------- |
| 208 | |
| 209 | bool UsingKeyword(const vector<string>& formula_tokens, const string& keyword) |
| 210 | { |
| 211 | return find(formula_tokens.begin(), formula_tokens.end(), keyword) != formula_tokens.end(); |
| 212 | // TODO: parse properly: ignore comments, not in string, etc. |
| 213 | } |
| 214 | |
| 215 | // ------------------------------------------------------------------------- |
no outgoing calls
no test coverage detected