| 1551 | |
| 1552 | |
| 1553 | JavascriptProcessor::SnippetDocument * JavascriptProcessor::getSnippet(const Identifier& id) |
| 1554 | { |
| 1555 | for (int i = 0; i < getNumSnippets(); i++) |
| 1556 | { |
| 1557 | if (getSnippet(i)->getCallbackName() == id) return getSnippet(i); |
| 1558 | } |
| 1559 | |
| 1560 | return nullptr; |
| 1561 | } |
| 1562 | |
| 1563 | const JavascriptProcessor::SnippetDocument * JavascriptProcessor::getSnippet(const Identifier& id) const |
| 1564 | { |
no test coverage detected