2
* Copyright 2006-2008 The FLWOR Foundation.
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
* you may not use this file except in compliance with the License.
6
* You may obtain a copy of the License at
8
* http://www.apache.org/licenses/LICENSE-2.0
10
* Unless required by applicable law or agreed to in writing, software
11
* distributed under the License is distributed on an "AS IS" BASIS,
12
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
* See the License for the specific language governing permissions and
14
* limitations under the License.
17
// ******************************************
19
// * THIS IS A GENERATED FILE. DO NOT EDIT! *
20
// * SEE .xml FILE WITH SAME NAME *
22
// ******************************************
26
#include "runtime/uris/uris.h"
27
#include "functions/func_uris.h"
34
PlanIter_t fn_zorba_uri_decode::codegen(
38
std::vector<PlanIter_t>& argv,
41
return new DecodeURIIterator(sctx, loc, argv);
44
void populate_context_uris(static_context* sctx)
49
DECL_WITH_KIND(sctx, fn_zorba_uri_decode,
50
(createQName("http://www.zorba-xquery.com/modules/uri","","decode"),
51
GENV_TYPESYSTEM.STRING_TYPE_ONE,
52
GENV_TYPESYSTEM.BOOLEAN_TYPE_ONE,
53
GENV_TYPESYSTEM.STRING_TYPE_ONE,
54
GENV_TYPESYSTEM.STRING_TYPE_ONE),
55
FunctionConsts::FN_ZORBA_URI_DECODE_3);