jaxp/src/com/sun/org/apache/xpath/internal/compiler/OpCodes.java
author lana
Tue, 18 Mar 2014 17:49:48 -0700
changeset 23377 2af1ddf102a4
parent 12457 c348e06f0e82
permissions -rw-r--r--
Merge
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
6
7f561c08de6b Initial load
duke
parents:
diff changeset
     1
/*
7f561c08de6b Initial load
duke
parents:
diff changeset
     2
 * reserved comment block
7f561c08de6b Initial load
duke
parents:
diff changeset
     3
 * DO NOT REMOVE OR ALTER!
7f561c08de6b Initial load
duke
parents:
diff changeset
     4
 */
7f561c08de6b Initial load
duke
parents:
diff changeset
     5
/*
7f561c08de6b Initial load
duke
parents:
diff changeset
     6
 * Copyright 1999-2004 The Apache Software Foundation.
7f561c08de6b Initial load
duke
parents:
diff changeset
     7
 *
7f561c08de6b Initial load
duke
parents:
diff changeset
     8
 * Licensed under the Apache License, Version 2.0 (the "License");
7f561c08de6b Initial load
duke
parents:
diff changeset
     9
 * you may not use this file except in compliance with the License.
7f561c08de6b Initial load
duke
parents:
diff changeset
    10
 * You may obtain a copy of the License at
7f561c08de6b Initial load
duke
parents:
diff changeset
    11
 *
7f561c08de6b Initial load
duke
parents:
diff changeset
    12
 *     http://www.apache.org/licenses/LICENSE-2.0
7f561c08de6b Initial load
duke
parents:
diff changeset
    13
 *
7f561c08de6b Initial load
duke
parents:
diff changeset
    14
 * Unless required by applicable law or agreed to in writing, software
7f561c08de6b Initial load
duke
parents:
diff changeset
    15
 * distributed under the License is distributed on an "AS IS" BASIS,
7f561c08de6b Initial load
duke
parents:
diff changeset
    16
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
7f561c08de6b Initial load
duke
parents:
diff changeset
    17
 * See the License for the specific language governing permissions and
7f561c08de6b Initial load
duke
parents:
diff changeset
    18
 * limitations under the License.
7f561c08de6b Initial load
duke
parents:
diff changeset
    19
 */
7f561c08de6b Initial load
duke
parents:
diff changeset
    20
/*
7f561c08de6b Initial load
duke
parents:
diff changeset
    21
 * $Id: OpCodes.java,v 1.1.2.1 2005/08/01 01:30:33 jeffsuttor Exp $
7f561c08de6b Initial load
duke
parents:
diff changeset
    22
 */
7f561c08de6b Initial load
duke
parents:
diff changeset
    23
package com.sun.org.apache.xpath.internal.compiler;
7f561c08de6b Initial load
duke
parents:
diff changeset
    24
7f561c08de6b Initial load
duke
parents:
diff changeset
    25
/**
7f561c08de6b Initial load
duke
parents:
diff changeset
    26
 * Operations codes for XPath.
7f561c08de6b Initial load
duke
parents:
diff changeset
    27
 *
7f561c08de6b Initial load
duke
parents:
diff changeset
    28
 * Code for the descriptions of the operations codes:
7f561c08de6b Initial load
duke
parents:
diff changeset
    29
 * [UPPER CASE] indicates a literal value,
7f561c08de6b Initial load
duke
parents:
diff changeset
    30
 * [lower case] is a description of a value,
7f561c08de6b Initial load
duke
parents:
diff changeset
    31
 *      ([length] always indicates the length of the operation,
7f561c08de6b Initial load
duke
parents:
diff changeset
    32
 *       including the operations code and the length integer.)
7f561c08de6b Initial load
duke
parents:
diff changeset
    33
 * {UPPER CASE} indicates the given production,
7f561c08de6b Initial load
duke
parents:
diff changeset
    34
 * {description} is the description of a new production,
7f561c08de6b Initial load
duke
parents:
diff changeset
    35
 *      (For instance, {boolean expression} means some expression
7f561c08de6b Initial load
duke
parents:
diff changeset
    36
 *       that should be resolved to a boolean.)
7f561c08de6b Initial load
duke
parents:
diff changeset
    37
 *  * means that it occurs zero or more times,
7f561c08de6b Initial load
duke
parents:
diff changeset
    38
 *  + means that it occurs one or more times,
7f561c08de6b Initial load
duke
parents:
diff changeset
    39
 *  ? means that it is optional.
7f561c08de6b Initial load
duke
parents:
diff changeset
    40
 *
7f561c08de6b Initial load
duke
parents:
diff changeset
    41
 * returns: indicates what the production should return.
7f561c08de6b Initial load
duke
parents:
diff changeset
    42
 */
7f561c08de6b Initial load
duke
parents:
diff changeset
    43
public class OpCodes
7f561c08de6b Initial load
duke
parents:
diff changeset
    44
{
7f561c08de6b Initial load
duke
parents:
diff changeset
    45
7f561c08de6b Initial load
duke
parents:
diff changeset
    46
  /**
7f561c08de6b Initial load
duke
parents:
diff changeset
    47
   * [ENDOP]
7f561c08de6b Initial load
duke
parents:
diff changeset
    48
   * Some operators may like to have a terminator.
7f561c08de6b Initial load
duke
parents:
diff changeset
    49
   * @xsl.usage advanced
7f561c08de6b Initial load
duke
parents:
diff changeset
    50
   */
7f561c08de6b Initial load
duke
parents:
diff changeset
    51
  public static final int ENDOP = -1;
7f561c08de6b Initial load
duke
parents:
diff changeset
    52
7f561c08de6b Initial load
duke
parents:
diff changeset
    53
  /**
7f561c08de6b Initial load
duke
parents:
diff changeset
    54
   * [EMPTY]
7f561c08de6b Initial load
duke
parents:
diff changeset
    55
   * Empty slot to indicate NULL.
7f561c08de6b Initial load
duke
parents:
diff changeset
    56
   */
7f561c08de6b Initial load
duke
parents:
diff changeset
    57
  public static final int EMPTY = -2;
7f561c08de6b Initial load
duke
parents:
diff changeset
    58
7f561c08de6b Initial load
duke
parents:
diff changeset
    59
  /**
7f561c08de6b Initial load
duke
parents:
diff changeset
    60
   * [ELEMWILDCARD]
7f561c08de6b Initial load
duke
parents:
diff changeset
    61
   * Means ELEMWILDCARD ("*"), used instead
7f561c08de6b Initial load
duke
parents:
diff changeset
    62
   * of string index in some places.
7f561c08de6b Initial load
duke
parents:
diff changeset
    63
   * @xsl.usage advanced
7f561c08de6b Initial load
duke
parents:
diff changeset
    64
   */
7f561c08de6b Initial load
duke
parents:
diff changeset
    65
  public static final int ELEMWILDCARD = -3;
7f561c08de6b Initial load
duke
parents:
diff changeset
    66
7f561c08de6b Initial load
duke
parents:
diff changeset
    67
  /**
7f561c08de6b Initial load
duke
parents:
diff changeset
    68
   * [OP_XPATH]
7f561c08de6b Initial load
duke
parents:
diff changeset
    69
   * [length]
7f561c08de6b Initial load
duke
parents:
diff changeset
    70
   *  {expression}
7f561c08de6b Initial load
duke
parents:
diff changeset
    71
   *
7f561c08de6b Initial load
duke
parents:
diff changeset
    72
   * returns:
7f561c08de6b Initial load
duke
parents:
diff changeset
    73
   *  XNodeSet
7f561c08de6b Initial load
duke
parents:
diff changeset
    74
   *  XNumber
7f561c08de6b Initial load
duke
parents:
diff changeset
    75
   *  XString
7f561c08de6b Initial load
duke
parents:
diff changeset
    76
   *  XBoolean
7f561c08de6b Initial load
duke
parents:
diff changeset
    77
   *  XRTree
7f561c08de6b Initial load
duke
parents:
diff changeset
    78
   *  XObject
7f561c08de6b Initial load
duke
parents:
diff changeset
    79
   * @xsl.usage advanced
7f561c08de6b Initial load
duke
parents:
diff changeset
    80
   */
7f561c08de6b Initial load
duke
parents:
diff changeset
    81
  public static final int OP_XPATH = 1;
7f561c08de6b Initial load
duke
parents:
diff changeset
    82
7f561c08de6b Initial load
duke
parents:
diff changeset
    83
  /**
7f561c08de6b Initial load
duke
parents:
diff changeset
    84
   * [OP_OR]
7f561c08de6b Initial load
duke
parents:
diff changeset
    85
   * [length]
7f561c08de6b Initial load
duke
parents:
diff changeset
    86
   *  {boolean expression}
7f561c08de6b Initial load
duke
parents:
diff changeset
    87
   *  {boolean expression}
7f561c08de6b Initial load
duke
parents:
diff changeset
    88
   *
7f561c08de6b Initial load
duke
parents:
diff changeset
    89
   * returns:
7f561c08de6b Initial load
duke
parents:
diff changeset
    90
   *  XBoolean
7f561c08de6b Initial load
duke
parents:
diff changeset
    91
   * @xsl.usage advanced
7f561c08de6b Initial load
duke
parents:
diff changeset
    92
   */
7f561c08de6b Initial load
duke
parents:
diff changeset
    93
  public static final int OP_OR = 2;
7f561c08de6b Initial load
duke
parents:
diff changeset
    94
7f561c08de6b Initial load
duke
parents:
diff changeset
    95
  /**
7f561c08de6b Initial load
duke
parents:
diff changeset
    96
   * [OP_AND]
7f561c08de6b Initial load
duke
parents:
diff changeset
    97
   * [length]
7f561c08de6b Initial load
duke
parents:
diff changeset
    98
   *  {boolean expression}
7f561c08de6b Initial load
duke
parents:
diff changeset
    99
   *  {boolean expression}
7f561c08de6b Initial load
duke
parents:
diff changeset
   100
   *
7f561c08de6b Initial load
duke
parents:
diff changeset
   101
   * returns:
7f561c08de6b Initial load
duke
parents:
diff changeset
   102
   *  XBoolean
7f561c08de6b Initial load
duke
parents:
diff changeset
   103
   * @xsl.usage advanced
7f561c08de6b Initial load
duke
parents:
diff changeset
   104
   */
7f561c08de6b Initial load
duke
parents:
diff changeset
   105
  public static final int OP_AND = 3;
7f561c08de6b Initial load
duke
parents:
diff changeset
   106
7f561c08de6b Initial load
duke
parents:
diff changeset
   107
  /**
7f561c08de6b Initial load
duke
parents:
diff changeset
   108
   * [OP_NOTEQUALS]
7f561c08de6b Initial load
duke
parents:
diff changeset
   109
   * [length]
7f561c08de6b Initial load
duke
parents:
diff changeset
   110
   *  {expression}
7f561c08de6b Initial load
duke
parents:
diff changeset
   111
   *  {expression}
7f561c08de6b Initial load
duke
parents:
diff changeset
   112
   *
7f561c08de6b Initial load
duke
parents:
diff changeset
   113
   * returns:
7f561c08de6b Initial load
duke
parents:
diff changeset
   114
   *  XBoolean
7f561c08de6b Initial load
duke
parents:
diff changeset
   115
   * @xsl.usage advanced
7f561c08de6b Initial load
duke
parents:
diff changeset
   116
   */
7f561c08de6b Initial load
duke
parents:
diff changeset
   117
  public static final int OP_NOTEQUALS = 4;
7f561c08de6b Initial load
duke
parents:
diff changeset
   118
7f561c08de6b Initial load
duke
parents:
diff changeset
   119
  /**
7f561c08de6b Initial load
duke
parents:
diff changeset
   120
   * [OP_EQUALS]
7f561c08de6b Initial load
duke
parents:
diff changeset
   121
   * [length]
7f561c08de6b Initial load
duke
parents:
diff changeset
   122
   *  {expression}
7f561c08de6b Initial load
duke
parents:
diff changeset
   123
   *  {expression}
7f561c08de6b Initial load
duke
parents:
diff changeset
   124
   *
7f561c08de6b Initial load
duke
parents:
diff changeset
   125
   * returns:
7f561c08de6b Initial load
duke
parents:
diff changeset
   126
   *  XBoolean
7f561c08de6b Initial load
duke
parents:
diff changeset
   127
   * @xsl.usage advanced
7f561c08de6b Initial load
duke
parents:
diff changeset
   128
   */
7f561c08de6b Initial load
duke
parents:
diff changeset
   129
  public static final int OP_EQUALS = 5;
7f561c08de6b Initial load
duke
parents:
diff changeset
   130
7f561c08de6b Initial load
duke
parents:
diff changeset
   131
  /**
7f561c08de6b Initial load
duke
parents:
diff changeset
   132
   * [OP_LTE] (less-than-or-equals)
7f561c08de6b Initial load
duke
parents:
diff changeset
   133
   * [length]
7f561c08de6b Initial load
duke
parents:
diff changeset
   134
   *  {number expression}
7f561c08de6b Initial load
duke
parents:
diff changeset
   135
   *  {number expression}
7f561c08de6b Initial load
duke
parents:
diff changeset
   136
   *
7f561c08de6b Initial load
duke
parents:
diff changeset
   137
   * returns:
7f561c08de6b Initial load
duke
parents:
diff changeset
   138
   *  XBoolean
7f561c08de6b Initial load
duke
parents:
diff changeset
   139
   * @xsl.usage advanced
7f561c08de6b Initial load
duke
parents:
diff changeset
   140
   */
7f561c08de6b Initial load
duke
parents:
diff changeset
   141
  public static final int OP_LTE = 6;
7f561c08de6b Initial load
duke
parents:
diff changeset
   142
7f561c08de6b Initial load
duke
parents:
diff changeset
   143
  /**
7f561c08de6b Initial load
duke
parents:
diff changeset
   144
   * [OP_LT] (less-than)
7f561c08de6b Initial load
duke
parents:
diff changeset
   145
   * [length]
7f561c08de6b Initial load
duke
parents:
diff changeset
   146
   *  {number expression}
7f561c08de6b Initial load
duke
parents:
diff changeset
   147
   *  {number expression}
7f561c08de6b Initial load
duke
parents:
diff changeset
   148
   *
7f561c08de6b Initial load
duke
parents:
diff changeset
   149
   * returns:
7f561c08de6b Initial load
duke
parents:
diff changeset
   150
   *  XBoolean
7f561c08de6b Initial load
duke
parents:
diff changeset
   151
   * @xsl.usage advanced
7f561c08de6b Initial load
duke
parents:
diff changeset
   152
   */
7f561c08de6b Initial load
duke
parents:
diff changeset
   153
  public static final int OP_LT = 7;
7f561c08de6b Initial load
duke
parents:
diff changeset
   154
7f561c08de6b Initial load
duke
parents:
diff changeset
   155
  /**
7f561c08de6b Initial load
duke
parents:
diff changeset
   156
   * [OP_GTE] (greater-than-or-equals)
7f561c08de6b Initial load
duke
parents:
diff changeset
   157
   * [length]
7f561c08de6b Initial load
duke
parents:
diff changeset
   158
   *  {number expression}
7f561c08de6b Initial load
duke
parents:
diff changeset
   159
   *  {number expression}
7f561c08de6b Initial load
duke
parents:
diff changeset
   160
   *
7f561c08de6b Initial load
duke
parents:
diff changeset
   161
   * returns:
7f561c08de6b Initial load
duke
parents:
diff changeset
   162
   *  XBoolean
7f561c08de6b Initial load
duke
parents:
diff changeset
   163
   * @xsl.usage advanced
7f561c08de6b Initial load
duke
parents:
diff changeset
   164
   */
7f561c08de6b Initial load
duke
parents:
diff changeset
   165
  public static final int OP_GTE = 8;
7f561c08de6b Initial load
duke
parents:
diff changeset
   166
7f561c08de6b Initial load
duke
parents:
diff changeset
   167
  /**
7f561c08de6b Initial load
duke
parents:
diff changeset
   168
   * [OP_GT] (greater-than)
7f561c08de6b Initial load
duke
parents:
diff changeset
   169
   * [length]
7f561c08de6b Initial load
duke
parents:
diff changeset
   170
   *  {number expression}
7f561c08de6b Initial load
duke
parents:
diff changeset
   171
   *  {number expression}
7f561c08de6b Initial load
duke
parents:
diff changeset
   172
   *
7f561c08de6b Initial load
duke
parents:
diff changeset
   173
   * returns:
7f561c08de6b Initial load
duke
parents:
diff changeset
   174
   *  XBoolean
7f561c08de6b Initial load
duke
parents:
diff changeset
   175
   * @xsl.usage advanced
7f561c08de6b Initial load
duke
parents:
diff changeset
   176
   */
7f561c08de6b Initial load
duke
parents:
diff changeset
   177
  public static final int OP_GT = 9;
7f561c08de6b Initial load
duke
parents:
diff changeset
   178
7f561c08de6b Initial load
duke
parents:
diff changeset
   179
  /**
7f561c08de6b Initial load
duke
parents:
diff changeset
   180
   * [OP_PLUS]
7f561c08de6b Initial load
duke
parents:
diff changeset
   181
   * [length]
7f561c08de6b Initial load
duke
parents:
diff changeset
   182
   *  {number expression}
7f561c08de6b Initial load
duke
parents:
diff changeset
   183
   *  {number expression}
7f561c08de6b Initial load
duke
parents:
diff changeset
   184
   *
7f561c08de6b Initial load
duke
parents:
diff changeset
   185
   * returns:
7f561c08de6b Initial load
duke
parents:
diff changeset
   186
   *  XNumber
7f561c08de6b Initial load
duke
parents:
diff changeset
   187
   * @xsl.usage advanced
7f561c08de6b Initial load
duke
parents:
diff changeset
   188
   */
7f561c08de6b Initial load
duke
parents:
diff changeset
   189
  public static final int OP_PLUS = 10;
7f561c08de6b Initial load
duke
parents:
diff changeset
   190
7f561c08de6b Initial load
duke
parents:
diff changeset
   191
  /**
7f561c08de6b Initial load
duke
parents:
diff changeset
   192
   * [OP_MINUS]
7f561c08de6b Initial load
duke
parents:
diff changeset
   193
   * [length]
7f561c08de6b Initial load
duke
parents:
diff changeset
   194
   *  {number expression}
7f561c08de6b Initial load
duke
parents:
diff changeset
   195
   *  {number expression}
7f561c08de6b Initial load
duke
parents:
diff changeset
   196
   *
7f561c08de6b Initial load
duke
parents:
diff changeset
   197
   * returns:
7f561c08de6b Initial load
duke
parents:
diff changeset
   198
   *  XNumber
7f561c08de6b Initial load
duke
parents:
diff changeset
   199
   * @xsl.usage advanced
7f561c08de6b Initial load
duke
parents:
diff changeset
   200
   */
7f561c08de6b Initial load
duke
parents:
diff changeset
   201
  public static final int OP_MINUS = 11;
7f561c08de6b Initial load
duke
parents:
diff changeset
   202
7f561c08de6b Initial load
duke
parents:
diff changeset
   203
  /**
7f561c08de6b Initial load
duke
parents:
diff changeset
   204
   * [OP_MULT]
7f561c08de6b Initial load
duke
parents:
diff changeset
   205
   * [length]
7f561c08de6b Initial load
duke
parents:
diff changeset
   206
   *  {number expression}
7f561c08de6b Initial load
duke
parents:
diff changeset
   207
   *  {number expression}
7f561c08de6b Initial load
duke
parents:
diff changeset
   208
   *
7f561c08de6b Initial load
duke
parents:
diff changeset
   209
   * returns:
7f561c08de6b Initial load
duke
parents:
diff changeset
   210
   *  XNumber
7f561c08de6b Initial load
duke
parents:
diff changeset
   211
   * @xsl.usage advanced
7f561c08de6b Initial load
duke
parents:
diff changeset
   212
   */
7f561c08de6b Initial load
duke
parents:
diff changeset
   213
  public static final int OP_MULT = 12;
7f561c08de6b Initial load
duke
parents:
diff changeset
   214
7f561c08de6b Initial load
duke
parents:
diff changeset
   215
  /**
7f561c08de6b Initial load
duke
parents:
diff changeset
   216
   * [OP_DIV]
7f561c08de6b Initial load
duke
parents:
diff changeset
   217
   * [length]
7f561c08de6b Initial load
duke
parents:
diff changeset
   218
   *  {number expression}
7f561c08de6b Initial load
duke
parents:
diff changeset
   219
   *  {number expression}
7f561c08de6b Initial load
duke
parents:
diff changeset
   220
   *
7f561c08de6b Initial load
duke
parents:
diff changeset
   221
   * returns:
7f561c08de6b Initial load
duke
parents:
diff changeset
   222
   *  XNumber
7f561c08de6b Initial load
duke
parents:
diff changeset
   223
   * @xsl.usage advanced
7f561c08de6b Initial load
duke
parents:
diff changeset
   224
   */
7f561c08de6b Initial load
duke
parents:
diff changeset
   225
  public static final int OP_DIV = 13;
7f561c08de6b Initial load
duke
parents:
diff changeset
   226
7f561c08de6b Initial load
duke
parents:
diff changeset
   227
  /**
7f561c08de6b Initial load
duke
parents:
diff changeset
   228
   * [OP_MOD]
7f561c08de6b Initial load
duke
parents:
diff changeset
   229
   * [length]
7f561c08de6b Initial load
duke
parents:
diff changeset
   230
   *  {number expression}
7f561c08de6b Initial load
duke
parents:
diff changeset
   231
   *  {number expression}
7f561c08de6b Initial load
duke
parents:
diff changeset
   232
   *
7f561c08de6b Initial load
duke
parents:
diff changeset
   233
   * returns:
7f561c08de6b Initial load
duke
parents:
diff changeset
   234
   *  XNumber
7f561c08de6b Initial load
duke
parents:
diff changeset
   235
   * @xsl.usage advanced
7f561c08de6b Initial load
duke
parents:
diff changeset
   236
   */
7f561c08de6b Initial load
duke
parents:
diff changeset
   237
  public static final int OP_MOD = 14;
7f561c08de6b Initial load
duke
parents:
diff changeset
   238
7f561c08de6b Initial load
duke
parents:
diff changeset
   239
  /**
7f561c08de6b Initial load
duke
parents:
diff changeset
   240
   * [OP_QUO]
7f561c08de6b Initial load
duke
parents:
diff changeset
   241
   * [length]
7f561c08de6b Initial load
duke
parents:
diff changeset
   242
   *  {number expression}
7f561c08de6b Initial load
duke
parents:
diff changeset
   243
   *  {number expression}
7f561c08de6b Initial load
duke
parents:
diff changeset
   244
   *
7f561c08de6b Initial load
duke
parents:
diff changeset
   245
   * returns:
7f561c08de6b Initial load
duke
parents:
diff changeset
   246
   *  XNumber
7f561c08de6b Initial load
duke
parents:
diff changeset
   247
   * @xsl.usage advanced
7f561c08de6b Initial load
duke
parents:
diff changeset
   248
   */
7f561c08de6b Initial load
duke
parents:
diff changeset
   249
  public static final int OP_QUO = 15;
7f561c08de6b Initial load
duke
parents:
diff changeset
   250
7f561c08de6b Initial load
duke
parents:
diff changeset
   251
  /**
7f561c08de6b Initial load
duke
parents:
diff changeset
   252
   * [OP_NEG]
7f561c08de6b Initial load
duke
parents:
diff changeset
   253
   * [length]
7f561c08de6b Initial load
duke
parents:
diff changeset
   254
   *  {number expression}
7f561c08de6b Initial load
duke
parents:
diff changeset
   255
   *
7f561c08de6b Initial load
duke
parents:
diff changeset
   256
   * returns:
7f561c08de6b Initial load
duke
parents:
diff changeset
   257
   *  XNumber
7f561c08de6b Initial load
duke
parents:
diff changeset
   258
   * @xsl.usage advanced
7f561c08de6b Initial load
duke
parents:
diff changeset
   259
   */
7f561c08de6b Initial load
duke
parents:
diff changeset
   260
  public static final int OP_NEG = 16;
7f561c08de6b Initial load
duke
parents:
diff changeset
   261
7f561c08de6b Initial load
duke
parents:
diff changeset
   262
  /**
7f561c08de6b Initial load
duke
parents:
diff changeset
   263
   * [OP_STRING] (cast operation)
7f561c08de6b Initial load
duke
parents:
diff changeset
   264
   * [length]
7f561c08de6b Initial load
duke
parents:
diff changeset
   265
   *  {expression}
7f561c08de6b Initial load
duke
parents:
diff changeset
   266
   *
7f561c08de6b Initial load
duke
parents:
diff changeset
   267
   * returns:
7f561c08de6b Initial load
duke
parents:
diff changeset
   268
   *  XString
7f561c08de6b Initial load
duke
parents:
diff changeset
   269
   * @xsl.usage advanced
7f561c08de6b Initial load
duke
parents:
diff changeset
   270
   */
7f561c08de6b Initial load
duke
parents:
diff changeset
   271
  public static final int OP_STRING = 17;
7f561c08de6b Initial load
duke
parents:
diff changeset
   272
7f561c08de6b Initial load
duke
parents:
diff changeset
   273
  /**
7f561c08de6b Initial load
duke
parents:
diff changeset
   274
   * [OP_BOOL] (cast operation)
7f561c08de6b Initial load
duke
parents:
diff changeset
   275
   * [length]
7f561c08de6b Initial load
duke
parents:
diff changeset
   276
   *  {expression}
7f561c08de6b Initial load
duke
parents:
diff changeset
   277
   *
7f561c08de6b Initial load
duke
parents:
diff changeset
   278
   * returns:
7f561c08de6b Initial load
duke
parents:
diff changeset
   279
   *  XBoolean
7f561c08de6b Initial load
duke
parents:
diff changeset
   280
   * @xsl.usage advanced
7f561c08de6b Initial load
duke
parents:
diff changeset
   281
   */
7f561c08de6b Initial load
duke
parents:
diff changeset
   282
  public static final int OP_BOOL = 18;
7f561c08de6b Initial load
duke
parents:
diff changeset
   283
7f561c08de6b Initial load
duke
parents:
diff changeset
   284
  /**
7f561c08de6b Initial load
duke
parents:
diff changeset
   285
   * [OP_NUMBER] (cast operation)
7f561c08de6b Initial load
duke
parents:
diff changeset
   286
   * [length]
7f561c08de6b Initial load
duke
parents:
diff changeset
   287
   *  {expression}
7f561c08de6b Initial load
duke
parents:
diff changeset
   288
   *
7f561c08de6b Initial load
duke
parents:
diff changeset
   289
   * returns:
7f561c08de6b Initial load
duke
parents:
diff changeset
   290
   *  XBoolean
7f561c08de6b Initial load
duke
parents:
diff changeset
   291
   * @xsl.usage advanced
7f561c08de6b Initial load
duke
parents:
diff changeset
   292
   */
7f561c08de6b Initial load
duke
parents:
diff changeset
   293
  public static final int OP_NUMBER = 19;
7f561c08de6b Initial load
duke
parents:
diff changeset
   294
7f561c08de6b Initial load
duke
parents:
diff changeset
   295
  /**
7f561c08de6b Initial load
duke
parents:
diff changeset
   296
   * [OP_UNION]
7f561c08de6b Initial load
duke
parents:
diff changeset
   297
   * [length]
7f561c08de6b Initial load
duke
parents:
diff changeset
   298
   *  {PathExpr}+
7f561c08de6b Initial load
duke
parents:
diff changeset
   299
   *
7f561c08de6b Initial load
duke
parents:
diff changeset
   300
   * returns:
7f561c08de6b Initial load
duke
parents:
diff changeset
   301
   *  XNodeSet
7f561c08de6b Initial load
duke
parents:
diff changeset
   302
   * @xsl.usage advanced
7f561c08de6b Initial load
duke
parents:
diff changeset
   303
   */
7f561c08de6b Initial load
duke
parents:
diff changeset
   304
  public static final int OP_UNION = 20;
7f561c08de6b Initial load
duke
parents:
diff changeset
   305
7f561c08de6b Initial load
duke
parents:
diff changeset
   306
  /**
7f561c08de6b Initial load
duke
parents:
diff changeset
   307
   * [OP_LITERAL]
7f561c08de6b Initial load
duke
parents:
diff changeset
   308
   * [3]
7f561c08de6b Initial load
duke
parents:
diff changeset
   309
   * [index to token]
7f561c08de6b Initial load
duke
parents:
diff changeset
   310
   *
7f561c08de6b Initial load
duke
parents:
diff changeset
   311
   * returns:
7f561c08de6b Initial load
duke
parents:
diff changeset
   312
   *  XString
7f561c08de6b Initial load
duke
parents:
diff changeset
   313
   * @xsl.usage advanced
7f561c08de6b Initial load
duke
parents:
diff changeset
   314
   */
7f561c08de6b Initial load
duke
parents:
diff changeset
   315
  public static final int OP_LITERAL = 21;
7f561c08de6b Initial load
duke
parents:
diff changeset
   316
7f561c08de6b Initial load
duke
parents:
diff changeset
   317
  /** The low opcode for nodesets, needed by getFirstPredicateOpPos and
7f561c08de6b Initial load
duke
parents:
diff changeset
   318
   *  getNextStepPos.          */
7f561c08de6b Initial load
duke
parents:
diff changeset
   319
  static final int FIRST_NODESET_OP = 22;
7f561c08de6b Initial load
duke
parents:
diff changeset
   320
7f561c08de6b Initial load
duke
parents:
diff changeset
   321
  /**
7f561c08de6b Initial load
duke
parents:
diff changeset
   322
   * [OP_VARIABLE]
7f561c08de6b Initial load
duke
parents:
diff changeset
   323
   * [4]
7f561c08de6b Initial load
duke
parents:
diff changeset
   324
   * [index to namespace token, or EMPTY]
7f561c08de6b Initial load
duke
parents:
diff changeset
   325
   * [index to function name token]
7f561c08de6b Initial load
duke
parents:
diff changeset
   326
   *
7f561c08de6b Initial load
duke
parents:
diff changeset
   327
   * returns:
7f561c08de6b Initial load
duke
parents:
diff changeset
   328
   *  XString
7f561c08de6b Initial load
duke
parents:
diff changeset
   329
   * @xsl.usage advanced
7f561c08de6b Initial load
duke
parents:
diff changeset
   330
   */
7f561c08de6b Initial load
duke
parents:
diff changeset
   331
  public static final int OP_VARIABLE = 22;
7f561c08de6b Initial load
duke
parents:
diff changeset
   332
7f561c08de6b Initial load
duke
parents:
diff changeset
   333
  /**
7f561c08de6b Initial load
duke
parents:
diff changeset
   334
   * [OP_GROUP]
7f561c08de6b Initial load
duke
parents:
diff changeset
   335
   * [length]
7f561c08de6b Initial load
duke
parents:
diff changeset
   336
   *  {expression}
7f561c08de6b Initial load
duke
parents:
diff changeset
   337
   *
7f561c08de6b Initial load
duke
parents:
diff changeset
   338
   * returns:
7f561c08de6b Initial load
duke
parents:
diff changeset
   339
   *  XNodeSet
7f561c08de6b Initial load
duke
parents:
diff changeset
   340
   *  XNumber
7f561c08de6b Initial load
duke
parents:
diff changeset
   341
   *  XString
7f561c08de6b Initial load
duke
parents:
diff changeset
   342
   *  XBoolean
7f561c08de6b Initial load
duke
parents:
diff changeset
   343
   *  XRTree
7f561c08de6b Initial load
duke
parents:
diff changeset
   344
   *  XObject
7f561c08de6b Initial load
duke
parents:
diff changeset
   345
   * @xsl.usage advanced
7f561c08de6b Initial load
duke
parents:
diff changeset
   346
   */
7f561c08de6b Initial load
duke
parents:
diff changeset
   347
  public static final int OP_GROUP = 23;
7f561c08de6b Initial load
duke
parents:
diff changeset
   348
7f561c08de6b Initial load
duke
parents:
diff changeset
   349
  /**
7f561c08de6b Initial load
duke
parents:
diff changeset
   350
   * [OP_EXTFUNCTION] (Extension function.)
7f561c08de6b Initial load
duke
parents:
diff changeset
   351
   * [length]
7f561c08de6b Initial load
duke
parents:
diff changeset
   352
   * [index to namespace token]
7f561c08de6b Initial load
duke
parents:
diff changeset
   353
   * [index to function name token]
7f561c08de6b Initial load
duke
parents:
diff changeset
   354
   *  {OP_ARGUMENT}
7f561c08de6b Initial load
duke
parents:
diff changeset
   355
   *
7f561c08de6b Initial load
duke
parents:
diff changeset
   356
   * returns:
7f561c08de6b Initial load
duke
parents:
diff changeset
   357
   *  XNodeSet
7f561c08de6b Initial load
duke
parents:
diff changeset
   358
   *  XNumber
7f561c08de6b Initial load
duke
parents:
diff changeset
   359
   *  XString
7f561c08de6b Initial load
duke
parents:
diff changeset
   360
   *  XBoolean
7f561c08de6b Initial load
duke
parents:
diff changeset
   361
   *  XRTree
7f561c08de6b Initial load
duke
parents:
diff changeset
   362
   *  XObject
7f561c08de6b Initial load
duke
parents:
diff changeset
   363
   * @xsl.usage advanced
7f561c08de6b Initial load
duke
parents:
diff changeset
   364
   */
7f561c08de6b Initial load
duke
parents:
diff changeset
   365
  public static final int OP_EXTFUNCTION = 24;
7f561c08de6b Initial load
duke
parents:
diff changeset
   366
7f561c08de6b Initial load
duke
parents:
diff changeset
   367
  /**
7f561c08de6b Initial load
duke
parents:
diff changeset
   368
   * [OP_FUNCTION]
7f561c08de6b Initial load
duke
parents:
diff changeset
   369
   * [length]
7f561c08de6b Initial load
duke
parents:
diff changeset
   370
   * [FUNC_name]
7f561c08de6b Initial load
duke
parents:
diff changeset
   371
   *  {OP_ARGUMENT}
7f561c08de6b Initial load
duke
parents:
diff changeset
   372
   * [ENDOP]
7f561c08de6b Initial load
duke
parents:
diff changeset
   373
   *
7f561c08de6b Initial load
duke
parents:
diff changeset
   374
   * returns:
7f561c08de6b Initial load
duke
parents:
diff changeset
   375
   *  XNodeSet
7f561c08de6b Initial load
duke
parents:
diff changeset
   376
   *  XNumber
7f561c08de6b Initial load
duke
parents:
diff changeset
   377
   *  XString
7f561c08de6b Initial load
duke
parents:
diff changeset
   378
   *  XBoolean
7f561c08de6b Initial load
duke
parents:
diff changeset
   379
   *  XRTree
7f561c08de6b Initial load
duke
parents:
diff changeset
   380
   *  XObject
7f561c08de6b Initial load
duke
parents:
diff changeset
   381
   * @xsl.usage advanced
7f561c08de6b Initial load
duke
parents:
diff changeset
   382
   */
7f561c08de6b Initial load
duke
parents:
diff changeset
   383
  public static final int OP_FUNCTION = 25;
7f561c08de6b Initial load
duke
parents:
diff changeset
   384
7f561c08de6b Initial load
duke
parents:
diff changeset
   385
  /** The last opcode for stuff that can be a nodeset.         */
7f561c08de6b Initial load
duke
parents:
diff changeset
   386
  static final int LAST_NODESET_OP = 25;
7f561c08de6b Initial load
duke
parents:
diff changeset
   387
7f561c08de6b Initial load
duke
parents:
diff changeset
   388
  /**
7f561c08de6b Initial load
duke
parents:
diff changeset
   389
   * [OP_ARGUMENT] (Function argument.)
7f561c08de6b Initial load
duke
parents:
diff changeset
   390
   * [length]
7f561c08de6b Initial load
duke
parents:
diff changeset
   391
   *  {expression}
7f561c08de6b Initial load
duke
parents:
diff changeset
   392
   *
7f561c08de6b Initial load
duke
parents:
diff changeset
   393
   * returns:
7f561c08de6b Initial load
duke
parents:
diff changeset
   394
   *  XNodeSet
7f561c08de6b Initial load
duke
parents:
diff changeset
   395
   *  XNumber
7f561c08de6b Initial load
duke
parents:
diff changeset
   396
   *  XString
7f561c08de6b Initial load
duke
parents:
diff changeset
   397
   *  XBoolean
7f561c08de6b Initial load
duke
parents:
diff changeset
   398
   *  XRTree
7f561c08de6b Initial load
duke
parents:
diff changeset
   399
   *  XObject
7f561c08de6b Initial load
duke
parents:
diff changeset
   400
   * @xsl.usage advanced
7f561c08de6b Initial load
duke
parents:
diff changeset
   401
   */
7f561c08de6b Initial load
duke
parents:
diff changeset
   402
  public static final int OP_ARGUMENT = 26;
7f561c08de6b Initial load
duke
parents:
diff changeset
   403
7f561c08de6b Initial load
duke
parents:
diff changeset
   404
  /**
7f561c08de6b Initial load
duke
parents:
diff changeset
   405
   * [OP_NUMBERLIT] (Number literal.)
7f561c08de6b Initial load
duke
parents:
diff changeset
   406
   * [3]
7f561c08de6b Initial load
duke
parents:
diff changeset
   407
   * [index to token]
7f561c08de6b Initial load
duke
parents:
diff changeset
   408
   *
7f561c08de6b Initial load
duke
parents:
diff changeset
   409
   * returns:
7f561c08de6b Initial load
duke
parents:
diff changeset
   410
   *  XString
7f561c08de6b Initial load
duke
parents:
diff changeset
   411
   * @xsl.usage advanced
7f561c08de6b Initial load
duke
parents:
diff changeset
   412
   */
7f561c08de6b Initial load
duke
parents:
diff changeset
   413
  public static final int OP_NUMBERLIT = 27;
7f561c08de6b Initial load
duke
parents:
diff changeset
   414
7f561c08de6b Initial load
duke
parents:
diff changeset
   415
  /**
7f561c08de6b Initial load
duke
parents:
diff changeset
   416
   * [OP_LOCATIONPATH]
7f561c08de6b Initial load
duke
parents:
diff changeset
   417
   * [length]
7f561c08de6b Initial load
duke
parents:
diff changeset
   418
   *   {FROM_stepType}
7f561c08de6b Initial load
duke
parents:
diff changeset
   419
   * | {function}
7f561c08de6b Initial load
duke
parents:
diff changeset
   420
   * {predicate}
7f561c08de6b Initial load
duke
parents:
diff changeset
   421
   * [ENDOP]
7f561c08de6b Initial load
duke
parents:
diff changeset
   422
   *
7f561c08de6b Initial load
duke
parents:
diff changeset
   423
   * (Note that element and attribute namespaces and
7f561c08de6b Initial load
duke
parents:
diff changeset
   424
   * names can be wildcarded '*'.)
7f561c08de6b Initial load
duke
parents:
diff changeset
   425
   *
7f561c08de6b Initial load
duke
parents:
diff changeset
   426
   * returns:
7f561c08de6b Initial load
duke
parents:
diff changeset
   427
   *  XNodeSet
7f561c08de6b Initial load
duke
parents:
diff changeset
   428
   * @xsl.usage advanced
7f561c08de6b Initial load
duke
parents:
diff changeset
   429
   */
7f561c08de6b Initial load
duke
parents:
diff changeset
   430
  public static final int OP_LOCATIONPATH = 28;
7f561c08de6b Initial load
duke
parents:
diff changeset
   431
7f561c08de6b Initial load
duke
parents:
diff changeset
   432
  // public static final int LOCATIONPATHEX_MASK = 0x0000FFFF;
7f561c08de6b Initial load
duke
parents:
diff changeset
   433
  // public static final int LOCATIONPATHEX_ISSIMPLE = 0x00010000;
7f561c08de6b Initial load
duke
parents:
diff changeset
   434
  // public static final int OP_LOCATIONPATH_EX = (28 | 0x00010000);
7f561c08de6b Initial load
duke
parents:
diff changeset
   435
7f561c08de6b Initial load
duke
parents:
diff changeset
   436
  /**
7f561c08de6b Initial load
duke
parents:
diff changeset
   437
   * [OP_PREDICATE]
7f561c08de6b Initial load
duke
parents:
diff changeset
   438
   * [length]
7f561c08de6b Initial load
duke
parents:
diff changeset
   439
   *  {expression}
7f561c08de6b Initial load
duke
parents:
diff changeset
   440
   * [ENDOP] (For safety)
7f561c08de6b Initial load
duke
parents:
diff changeset
   441
   *
7f561c08de6b Initial load
duke
parents:
diff changeset
   442
   * returns:
7f561c08de6b Initial load
duke
parents:
diff changeset
   443
   *  XBoolean or XNumber
7f561c08de6b Initial load
duke
parents:
diff changeset
   444
   * @xsl.usage advanced
7f561c08de6b Initial load
duke
parents:
diff changeset
   445
   */
7f561c08de6b Initial load
duke
parents:
diff changeset
   446
  public static final int OP_PREDICATE = 29;
7f561c08de6b Initial load
duke
parents:
diff changeset
   447
7f561c08de6b Initial load
duke
parents:
diff changeset
   448
  /**
7f561c08de6b Initial load
duke
parents:
diff changeset
   449
   * [OP_MATCHPATTERN]
7f561c08de6b Initial load
duke
parents:
diff changeset
   450
   * [length]
7f561c08de6b Initial load
duke
parents:
diff changeset
   451
   *  {PathExpr}+
7f561c08de6b Initial load
duke
parents:
diff changeset
   452
   *
7f561c08de6b Initial load
duke
parents:
diff changeset
   453
   * returns:
7f561c08de6b Initial load
duke
parents:
diff changeset
   454
   *  XNodeSet
7f561c08de6b Initial load
duke
parents:
diff changeset
   455
   * @xsl.usage advanced
7f561c08de6b Initial load
duke
parents:
diff changeset
   456
   */
7f561c08de6b Initial load
duke
parents:
diff changeset
   457
  public static final int OP_MATCHPATTERN = 30;
7f561c08de6b Initial load
duke
parents:
diff changeset
   458
7f561c08de6b Initial load
duke
parents:
diff changeset
   459
  /**
7f561c08de6b Initial load
duke
parents:
diff changeset
   460
   * [OP_LOCATIONPATHPATTERN]
7f561c08de6b Initial load
duke
parents:
diff changeset
   461
   * [length]
7f561c08de6b Initial load
duke
parents:
diff changeset
   462
   *   {FROM_stepType}
7f561c08de6b Initial load
duke
parents:
diff changeset
   463
   * | {function}{predicate}
7f561c08de6b Initial load
duke
parents:
diff changeset
   464
   * [ENDOP]
7f561c08de6b Initial load
duke
parents:
diff changeset
   465
   * returns:
7f561c08de6b Initial load
duke
parents:
diff changeset
   466
   *  XNodeSet
7f561c08de6b Initial load
duke
parents:
diff changeset
   467
   * @xsl.usage advanced
7f561c08de6b Initial load
duke
parents:
diff changeset
   468
   */
7f561c08de6b Initial load
duke
parents:
diff changeset
   469
  public static final int OP_LOCATIONPATHPATTERN = 31;
7f561c08de6b Initial load
duke
parents:
diff changeset
   470
7f561c08de6b Initial load
duke
parents:
diff changeset
   471
  /**
7f561c08de6b Initial load
duke
parents:
diff changeset
   472
   * [NODETYPE_COMMENT]
7f561c08de6b Initial load
duke
parents:
diff changeset
   473
   * No size or arguments.
7f561c08de6b Initial load
duke
parents:
diff changeset
   474
   * Note: must not overlap function OP number!
7f561c08de6b Initial load
duke
parents:
diff changeset
   475
   *
7f561c08de6b Initial load
duke
parents:
diff changeset
   476
   * returns:
7f561c08de6b Initial load
duke
parents:
diff changeset
   477
   *  XBoolean
7f561c08de6b Initial load
duke
parents:
diff changeset
   478
   * @xsl.usage advanced
7f561c08de6b Initial load
duke
parents:
diff changeset
   479
   */
7f561c08de6b Initial load
duke
parents:
diff changeset
   480
  public static final int NODETYPE_COMMENT = 1030;
7f561c08de6b Initial load
duke
parents:
diff changeset
   481
7f561c08de6b Initial load
duke
parents:
diff changeset
   482
  /**
7f561c08de6b Initial load
duke
parents:
diff changeset
   483
   * [NODETYPE_TEXT]
7f561c08de6b Initial load
duke
parents:
diff changeset
   484
   * No size or arguments.
7f561c08de6b Initial load
duke
parents:
diff changeset
   485
   * Note: must not overlap function OP number!
7f561c08de6b Initial load
duke
parents:
diff changeset
   486
   *
7f561c08de6b Initial load
duke
parents:
diff changeset
   487
   * returns:
7f561c08de6b Initial load
duke
parents:
diff changeset
   488
   *  XBoolean
7f561c08de6b Initial load
duke
parents:
diff changeset
   489
   * @xsl.usage advanced
7f561c08de6b Initial load
duke
parents:
diff changeset
   490
   */
7f561c08de6b Initial load
duke
parents:
diff changeset
   491
  public static final int NODETYPE_TEXT = 1031;
7f561c08de6b Initial load
duke
parents:
diff changeset
   492
7f561c08de6b Initial load
duke
parents:
diff changeset
   493
  /**
7f561c08de6b Initial load
duke
parents:
diff changeset
   494
   * [NODETYPE_PI]
7f561c08de6b Initial load
duke
parents:
diff changeset
   495
   * [index to token]
7f561c08de6b Initial load
duke
parents:
diff changeset
   496
   * Note: must not overlap function OP number!
7f561c08de6b Initial load
duke
parents:
diff changeset
   497
   *
7f561c08de6b Initial load
duke
parents:
diff changeset
   498
   * returns:
7f561c08de6b Initial load
duke
parents:
diff changeset
   499
   *  XBoolean
7f561c08de6b Initial load
duke
parents:
diff changeset
   500
   * @xsl.usage advanced
7f561c08de6b Initial load
duke
parents:
diff changeset
   501
   */
7f561c08de6b Initial load
duke
parents:
diff changeset
   502
  public static final int NODETYPE_PI = 1032;
7f561c08de6b Initial load
duke
parents:
diff changeset
   503
7f561c08de6b Initial load
duke
parents:
diff changeset
   504
  /**
7f561c08de6b Initial load
duke
parents:
diff changeset
   505
   * [NODETYPE_NODE]
7f561c08de6b Initial load
duke
parents:
diff changeset
   506
   * No size or arguments.
7f561c08de6b Initial load
duke
parents:
diff changeset
   507
   * Note: must not overlap function OP number!
7f561c08de6b Initial load
duke
parents:
diff changeset
   508
   *
7f561c08de6b Initial load
duke
parents:
diff changeset
   509
   * returns:
7f561c08de6b Initial load
duke
parents:
diff changeset
   510
   *  XBoolean
7f561c08de6b Initial load
duke
parents:
diff changeset
   511
   * @xsl.usage advanced
7f561c08de6b Initial load
duke
parents:
diff changeset
   512
   */
7f561c08de6b Initial load
duke
parents:
diff changeset
   513
  public static final int NODETYPE_NODE = 1033;
7f561c08de6b Initial load
duke
parents:
diff changeset
   514
7f561c08de6b Initial load
duke
parents:
diff changeset
   515
  /**
7f561c08de6b Initial load
duke
parents:
diff changeset
   516
   * [NODENAME]
7f561c08de6b Initial load
duke
parents:
diff changeset
   517
   * [index to ns token or EMPTY]
7f561c08de6b Initial load
duke
parents:
diff changeset
   518
   * [index to name token]
7f561c08de6b Initial load
duke
parents:
diff changeset
   519
   *
7f561c08de6b Initial load
duke
parents:
diff changeset
   520
   * returns:
7f561c08de6b Initial load
duke
parents:
diff changeset
   521
   *  XBoolean
7f561c08de6b Initial load
duke
parents:
diff changeset
   522
   * @xsl.usage advanced
7f561c08de6b Initial load
duke
parents:
diff changeset
   523
   */
7f561c08de6b Initial load
duke
parents:
diff changeset
   524
  public static final int NODENAME = 34;
7f561c08de6b Initial load
duke
parents:
diff changeset
   525
7f561c08de6b Initial load
duke
parents:
diff changeset
   526
  /**
7f561c08de6b Initial load
duke
parents:
diff changeset
   527
   * [NODETYPE_ROOT]
7f561c08de6b Initial load
duke
parents:
diff changeset
   528
   * No size or arguments.
7f561c08de6b Initial load
duke
parents:
diff changeset
   529
   *
7f561c08de6b Initial load
duke
parents:
diff changeset
   530
   * returns:
7f561c08de6b Initial load
duke
parents:
diff changeset
   531
   *  XBoolean
7f561c08de6b Initial load
duke
parents:
diff changeset
   532
   * @xsl.usage advanced
7f561c08de6b Initial load
duke
parents:
diff changeset
   533
   */
7f561c08de6b Initial load
duke
parents:
diff changeset
   534
  public static final int NODETYPE_ROOT = 35;
7f561c08de6b Initial load
duke
parents:
diff changeset
   535
7f561c08de6b Initial load
duke
parents:
diff changeset
   536
  /**
7f561c08de6b Initial load
duke
parents:
diff changeset
   537
   * [NODETYPE_ANY]
7f561c08de6b Initial load
duke
parents:
diff changeset
   538
   * No size or arguments.
7f561c08de6b Initial load
duke
parents:
diff changeset
   539
   *
7f561c08de6b Initial load
duke
parents:
diff changeset
   540
   * returns:
7f561c08de6b Initial load
duke
parents:
diff changeset
   541
   *  XBoolean
7f561c08de6b Initial load
duke
parents:
diff changeset
   542
   * @xsl.usage advanced
7f561c08de6b Initial load
duke
parents:
diff changeset
   543
   */
7f561c08de6b Initial load
duke
parents:
diff changeset
   544
  public static final int NODETYPE_ANYELEMENT = 36;
7f561c08de6b Initial load
duke
parents:
diff changeset
   545
7f561c08de6b Initial load
duke
parents:
diff changeset
   546
  /**
7f561c08de6b Initial load
duke
parents:
diff changeset
   547
   * [NODETYPE_ANY]
7f561c08de6b Initial load
duke
parents:
diff changeset
   548
   * No size or arguments.
7f561c08de6b Initial load
duke
parents:
diff changeset
   549
   *
7f561c08de6b Initial load
duke
parents:
diff changeset
   550
   * returns:
7f561c08de6b Initial load
duke
parents:
diff changeset
   551
   *  XBoolean
7f561c08de6b Initial load
duke
parents:
diff changeset
   552
   * @xsl.usage advanced
7f561c08de6b Initial load
duke
parents:
diff changeset
   553
   */
7f561c08de6b Initial load
duke
parents:
diff changeset
   554
  public static final int NODETYPE_FUNCTEST = 1034;
7f561c08de6b Initial load
duke
parents:
diff changeset
   555
7f561c08de6b Initial load
duke
parents:
diff changeset
   556
  /**
7f561c08de6b Initial load
duke
parents:
diff changeset
   557
   * [FROM_stepType]
7f561c08de6b Initial load
duke
parents:
diff changeset
   558
   * [length, including predicates]
7f561c08de6b Initial load
duke
parents:
diff changeset
   559
   * [length of just the step, without the predicates]
7f561c08de6b Initial load
duke
parents:
diff changeset
   560
   * {node test}
7f561c08de6b Initial load
duke
parents:
diff changeset
   561
   * {predicates}?
7f561c08de6b Initial load
duke
parents:
diff changeset
   562
   *
7f561c08de6b Initial load
duke
parents:
diff changeset
   563
   * returns:
7f561c08de6b Initial load
duke
parents:
diff changeset
   564
   *  XBoolean
7f561c08de6b Initial load
duke
parents:
diff changeset
   565
   * @xsl.usage advanced
7f561c08de6b Initial load
duke
parents:
diff changeset
   566
   */
7f561c08de6b Initial load
duke
parents:
diff changeset
   567
  public static final int AXES_START_TYPES = 37;
7f561c08de6b Initial load
duke
parents:
diff changeset
   568
7f561c08de6b Initial load
duke
parents:
diff changeset
   569
  /** ancestor axes opcode.         */
7f561c08de6b Initial load
duke
parents:
diff changeset
   570
  public static final int FROM_ANCESTORS = 37;
7f561c08de6b Initial load
duke
parents:
diff changeset
   571
7f561c08de6b Initial load
duke
parents:
diff changeset
   572
  /** ancestor-or-self axes opcode.         */
7f561c08de6b Initial load
duke
parents:
diff changeset
   573
  public static final int FROM_ANCESTORS_OR_SELF = 38;
7f561c08de6b Initial load
duke
parents:
diff changeset
   574
7f561c08de6b Initial load
duke
parents:
diff changeset
   575
  /** attribute axes opcode.         */
7f561c08de6b Initial load
duke
parents:
diff changeset
   576
  public static final int FROM_ATTRIBUTES = 39;
7f561c08de6b Initial load
duke
parents:
diff changeset
   577
7f561c08de6b Initial load
duke
parents:
diff changeset
   578
  /** children axes opcode.         */
7f561c08de6b Initial load
duke
parents:
diff changeset
   579
  public static final int FROM_CHILDREN = 40;
7f561c08de6b Initial load
duke
parents:
diff changeset
   580
7f561c08de6b Initial load
duke
parents:
diff changeset
   581
  /** descendants axes opcode.         */
7f561c08de6b Initial load
duke
parents:
diff changeset
   582
  public static final int FROM_DESCENDANTS = 41;
7f561c08de6b Initial load
duke
parents:
diff changeset
   583
7f561c08de6b Initial load
duke
parents:
diff changeset
   584
  /** descendants-of-self axes opcode.         */
7f561c08de6b Initial load
duke
parents:
diff changeset
   585
  public static final int FROM_DESCENDANTS_OR_SELF = 42;
7f561c08de6b Initial load
duke
parents:
diff changeset
   586
7f561c08de6b Initial load
duke
parents:
diff changeset
   587
  /** following axes opcode.         */
7f561c08de6b Initial load
duke
parents:
diff changeset
   588
  public static final int FROM_FOLLOWING = 43;
7f561c08de6b Initial load
duke
parents:
diff changeset
   589
7f561c08de6b Initial load
duke
parents:
diff changeset
   590
  /** following-siblings axes opcode.         */
7f561c08de6b Initial load
duke
parents:
diff changeset
   591
  public static final int FROM_FOLLOWING_SIBLINGS = 44;
7f561c08de6b Initial load
duke
parents:
diff changeset
   592
7f561c08de6b Initial load
duke
parents:
diff changeset
   593
  /** parent axes opcode.         */
7f561c08de6b Initial load
duke
parents:
diff changeset
   594
  public static final int FROM_PARENT = 45;
7f561c08de6b Initial load
duke
parents:
diff changeset
   595
7f561c08de6b Initial load
duke
parents:
diff changeset
   596
  /** preceding axes opcode.         */
7f561c08de6b Initial load
duke
parents:
diff changeset
   597
  public static final int FROM_PRECEDING = 46;
7f561c08de6b Initial load
duke
parents:
diff changeset
   598
7f561c08de6b Initial load
duke
parents:
diff changeset
   599
  /** preceding-sibling axes opcode.         */
7f561c08de6b Initial load
duke
parents:
diff changeset
   600
  public static final int FROM_PRECEDING_SIBLINGS = 47;
7f561c08de6b Initial load
duke
parents:
diff changeset
   601
7f561c08de6b Initial load
duke
parents:
diff changeset
   602
  /** self axes opcode.         */
7f561c08de6b Initial load
duke
parents:
diff changeset
   603
  public static final int FROM_SELF = 48;
7f561c08de6b Initial load
duke
parents:
diff changeset
   604
7f561c08de6b Initial load
duke
parents:
diff changeset
   605
  /** namespace axes opcode.         */
7f561c08de6b Initial load
duke
parents:
diff changeset
   606
  public static final int FROM_NAMESPACE = 49;
7f561c08de6b Initial load
duke
parents:
diff changeset
   607
7f561c08de6b Initial load
duke
parents:
diff changeset
   608
  /** '/' axes opcode.         */
7f561c08de6b Initial load
duke
parents:
diff changeset
   609
  public static final int FROM_ROOT = 50;
7f561c08de6b Initial load
duke
parents:
diff changeset
   610
7f561c08de6b Initial load
duke
parents:
diff changeset
   611
  /**
7f561c08de6b Initial load
duke
parents:
diff changeset
   612
   * For match patterns.
7f561c08de6b Initial load
duke
parents:
diff changeset
   613
   * @xsl.usage advanced
7f561c08de6b Initial load
duke
parents:
diff changeset
   614
   */
7f561c08de6b Initial load
duke
parents:
diff changeset
   615
  public static final int MATCH_ATTRIBUTE = 51;
7f561c08de6b Initial load
duke
parents:
diff changeset
   616
7f561c08de6b Initial load
duke
parents:
diff changeset
   617
  /**
7f561c08de6b Initial load
duke
parents:
diff changeset
   618
   * For match patterns.
7f561c08de6b Initial load
duke
parents:
diff changeset
   619
   * @xsl.usage advanced
7f561c08de6b Initial load
duke
parents:
diff changeset
   620
   */
7f561c08de6b Initial load
duke
parents:
diff changeset
   621
  public static final int MATCH_ANY_ANCESTOR = 52;
7f561c08de6b Initial load
duke
parents:
diff changeset
   622
7f561c08de6b Initial load
duke
parents:
diff changeset
   623
  /**
7f561c08de6b Initial load
duke
parents:
diff changeset
   624
   * For match patterns.
7f561c08de6b Initial load
duke
parents:
diff changeset
   625
   * @xsl.usage advanced
7f561c08de6b Initial load
duke
parents:
diff changeset
   626
   */
7f561c08de6b Initial load
duke
parents:
diff changeset
   627
  public static final int MATCH_IMMEDIATE_ANCESTOR = 53;
7f561c08de6b Initial load
duke
parents:
diff changeset
   628
7f561c08de6b Initial load
duke
parents:
diff changeset
   629
  /** The end of the axes types.    */
7f561c08de6b Initial load
duke
parents:
diff changeset
   630
  public static final int AXES_END_TYPES = 53;
7f561c08de6b Initial load
duke
parents:
diff changeset
   631
7f561c08de6b Initial load
duke
parents:
diff changeset
   632
  /** The next free ID.  Please keep this up to date.  */
7f561c08de6b Initial load
duke
parents:
diff changeset
   633
  private static final int NEXT_FREE_ID = 99;
7f561c08de6b Initial load
duke
parents:
diff changeset
   634
}