Debian Codegraph @

net/sf/saxon/expr/flwor/Tuple.java

raw symbols SCIP
1 ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
2 // Copyright (c) 2018 Saxonica Limited.
3 // This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
4 // If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
5 // This Source Code Form is "Incompatible With Secondary Licenses", as defined by the Mozilla Public License, v. 2.0.
6 ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
7
8 package net.sf.saxon.expr.flwor;
9
10 import net.sf.saxon.om.Item;
11 import net.sf.saxon.om.Sequence;
12 import net.sf.saxon.value.ObjectValue;
13
14 /**
15 * A tuple, as it appears in an XQuery tuple stream handled by extended FLWOR expressions.
16 */
17 public class Tuple extends ObjectValue<Sequence<?>[]> {
18
19 public Tuple(Sequence<?>[] members) {
20 super(members);
21 }
22
23 public Sequence<?>[] getMembers() {
24 return getObject();
25 }
26 }
27