| 1413 | } |
| 1414 | |
| 1415 | void StringFunctions::ParseUrlClose( |
| 1416 | FunctionContext* ctx, FunctionContext::FunctionStateScope scope) { |
| 1417 | if (scope != FunctionContext::FRAGMENT_LOCAL) return; |
| 1418 | UrlParser::UrlPart* url_part = |
| 1419 | reinterpret_cast<UrlParser::UrlPart*>(ctx->GetFunctionState(scope)); |
| 1420 | delete url_part; |
| 1421 | ctx->SetFunctionState(scope, nullptr); |
| 1422 | } |
| 1423 | |
| 1424 | StringVal StringFunctions::ParseUrlKey(FunctionContext* ctx, const StringVal& url, |
| 1425 | const StringVal& part, const StringVal& key) { |
nothing calls this directly
no test coverage detected