Debian Codegraph @

net/sf/saxon/expr/LocalBinding.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;
9
10 /**
11 * Binding for local variables and parameters: anything that is allocated a slot on the XPathContext
12 * stack frame.
13 */
14 public interface LocalBinding extends Binding {
15
16 /**
17 * Return the slot number of the variable held on the local stack frame
18 *
19 * @return the slot number on the local stack frame
20 */
21
22 int getLocalSlotNumber();
23
24 /**
25 * Say that the bound value has the potential to be indexed
26 */
27
28 void setIndexedVariable();
29
30 /**
31 * Ask whether the binding is to be indexed
32 *
33 * @return true if the variable value can be indexed
34 */
35
36 boolean isIndexedVariable();
37 }
38