< prev index next >

src/com/sun/org/apache/xerces/internal/impl/xpath/regex/RegexParser.java

Print this page
rev 2127 : 8048021: Remove @version tag in jaxp repo
Reviewed-by: joehw


  14  * Unless required by applicable law or agreed to in writing, software
  15  * distributed under the License is distributed on an "AS IS" BASIS,
  16  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  17  * See the License for the specific language governing permissions and
  18  * limitations under the License.
  19  */
  20 
  21 package com.sun.org.apache.xerces.internal.impl.xpath.regex;
  22 
  23 import com.sun.org.apache.xerces.internal.utils.SecuritySupport;
  24 import java.util.Locale;
  25 import java.util.MissingResourceException;
  26 import java.util.ResourceBundle;
  27 import java.util.Vector;
  28 
  29 /**
  30  * A Regular Expression Parser.
  31  *
  32  * @xerces.internal
  33  *
  34  * @version $Id: RegexParser.java,v 1.8 2010-11-01 04:39:54 joehw Exp $
  35  */
  36 class RegexParser {
  37     static final int T_CHAR = 0;
  38     static final int T_EOF = 1;
  39     static final int T_OR = 2;                  // '|'
  40     static final int T_STAR = 3;                // '*'
  41     static final int T_PLUS = 4;                // '+'
  42     static final int T_QUESTION = 5;            // '?'
  43     static final int T_LPAREN = 6;              // '('
  44     static final int T_RPAREN = 7;              // ')'
  45     static final int T_DOT = 8;                 // '.'
  46     static final int T_LBRACKET = 9;            // '['
  47     static final int T_BACKSOLIDUS = 10;        // '\'
  48     static final int T_CARET = 11;              // '^'
  49     static final int T_DOLLAR = 12;             // '$'
  50     static final int T_LPAREN2 = 13;            // '(?:'
  51     static final int T_LOOKAHEAD = 14;          // '(?='
  52     static final int T_NEGATIVELOOKAHEAD = 15;  // '(?!'
  53     static final int T_LOOKBEHIND = 16;         // '(?<='
  54     static final int T_NEGATIVELOOKBEHIND = 17; // '(?<!'




  14  * Unless required by applicable law or agreed to in writing, software
  15  * distributed under the License is distributed on an "AS IS" BASIS,
  16  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  17  * See the License for the specific language governing permissions and
  18  * limitations under the License.
  19  */
  20 
  21 package com.sun.org.apache.xerces.internal.impl.xpath.regex;
  22 
  23 import com.sun.org.apache.xerces.internal.utils.SecuritySupport;
  24 import java.util.Locale;
  25 import java.util.MissingResourceException;
  26 import java.util.ResourceBundle;
  27 import java.util.Vector;
  28 
  29 /**
  30  * A Regular Expression Parser.
  31  *
  32  * @xerces.internal
  33  *

  34  */
  35 class RegexParser {
  36     static final int T_CHAR = 0;
  37     static final int T_EOF = 1;
  38     static final int T_OR = 2;                  // '|'
  39     static final int T_STAR = 3;                // '*'
  40     static final int T_PLUS = 4;                // '+'
  41     static final int T_QUESTION = 5;            // '?'
  42     static final int T_LPAREN = 6;              // '('
  43     static final int T_RPAREN = 7;              // ')'
  44     static final int T_DOT = 8;                 // '.'
  45     static final int T_LBRACKET = 9;            // '['
  46     static final int T_BACKSOLIDUS = 10;        // '\'
  47     static final int T_CARET = 11;              // '^'
  48     static final int T_DOLLAR = 12;             // '$'
  49     static final int T_LPAREN2 = 13;            // '(?:'
  50     static final int T_LOOKAHEAD = 14;          // '(?='
  51     static final int T_NEGATIVELOOKAHEAD = 15;  // '(?!'
  52     static final int T_LOOKBEHIND = 16;         // '(?<='
  53     static final int T_NEGATIVELOOKBEHIND = 17; // '(?<!'


< prev index next >