5 * This code is free software; you can redistribute it and/or modify it 6 * under the terms of the GNU General Public License version 2 only, as 7 * published by the Free Software Foundation. Oracle designates this 8 * particular file as subject to the "Classpath" exception as provided 9 * by Oracle in the LICENSE file that accompanied this code. 10 * 11 * This code is distributed in the hope that it will be useful, but WITHOUT 12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 13 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 14 * version 2 for more details (a copy is included in the LICENSE file that 15 * accompanied this code). 16 * 17 * You should have received a copy of the GNU General Public License version 18 * 2 along with this work; if not, write to the Free Software Foundation, 19 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 20 * 21 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 22 * or visit www.oracle.com if you need additional information or have any 23 * questions. 24 */ 25 /* 26 * Copyright (C) 2004-2011 27 * 28 * Permission is hereby granted, free of charge, to any person obtaining a copy 29 * of this software and associated documentation files (the "Software"), to deal 30 * in the Software without restriction, including without limitation the rights 31 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 32 * copies of the Software, and to permit persons to whom the Software is 33 * furnished to do so, subject to the following conditions: 34 * 35 * The above copyright notice and this permission notice shall be included in 36 * all copies or substantial portions of the Software. 37 * 38 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 39 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 40 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 41 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 42 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 43 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 44 * THE SOFTWARE. 45 */ 46 /* Generated By:JavaCC: Do not edit this line. CompactSyntaxConstants.java */ 47 package com.sun.xml.internal.rngom.parse.compact; 48 49 50 /** 51 * Token literal values and constants. 52 * Generated by org.javacc.parser.OtherFilesGen#start() 53 */ 54 public interface CompactSyntaxConstants { 55 56 /** End of File. */ 57 int EOF = 0; 58 /** RegularExpression Id. */ 59 int NEWLINE = 37; 60 /** RegularExpression Id. */ 61 int NOT_NEWLINE = 38; 62 /** RegularExpression Id. */ 63 int WS = 39; 64 /** RegularExpression Id. */ 65 int DOCUMENTATION = 40; 66 /** RegularExpression Id. */ 67 int DOCUMENTATION_CONTINUE = 41; 68 /** RegularExpression Id. */ 69 int SINGLE_LINE_COMMENT = 42; 70 /** RegularExpression Id. */ 71 int DOCUMENTATION_AFTER_SINGLE_LINE_COMMENT = 43; 72 /** RegularExpression Id. */ 73 int SINGLE_LINE_COMMENT_CONTINUE = 44; 74 /** RegularExpression Id. */ 75 int BASE_CHAR = 45; 76 /** RegularExpression Id. */ 77 int IDEOGRAPHIC = 46; 78 /** RegularExpression Id. */ 79 int LETTER = 47; 80 /** RegularExpression Id. */ 81 int COMBINING_CHAR = 48; 82 /** RegularExpression Id. */ 83 int DIGIT = 49; 84 /** RegularExpression Id. */ 85 int EXTENDER = 50; 86 /** RegularExpression Id. */ 87 int NMSTART = 51; 88 /** RegularExpression Id. */ 89 int NMCHAR = 52; 90 /** RegularExpression Id. */ 91 int NCNAME = 53; 92 /** RegularExpression Id. */ 93 int IDENTIFIER = 54; 94 /** RegularExpression Id. */ 95 int ESCAPED_IDENTIFIER = 55; 96 /** RegularExpression Id. */ 97 int PREFIX_STAR = 56; 98 /** RegularExpression Id. */ 99 int PREFIXED_NAME = 57; 100 /** RegularExpression Id. */ 101 int LITERAL = 58; 102 /** RegularExpression Id. */ 103 int FANNOTATE = 59; 104 /** RegularExpression Id. */ 105 int ILLEGAL_CHAR = 60; 106 107 /** Lexical state. */ 108 int DEFAULT = 0; 109 /** Lexical state. */ 110 int AFTER_SINGLE_LINE_COMMENT = 1; 111 /** Lexical state. */ 112 int AFTER_DOCUMENTATION = 2; 113 114 /** Literal token values. */ 115 String[] tokenImage = { 116 "<EOF>", 117 "\"[\"", 118 "\"=\"", 119 "\"&=\"", 120 "\"|=\"", 121 "\"start\"", 122 "\"div\"", 123 "\"include\"", 124 "\"~\"", 125 "\"]\"", 126 "\"grammar\"", 127 "\"{\"", 128 "\"}\"", 129 "\"namespace\"", 130 "\"default\"", 131 "\"inherit\"", 132 "\"datatypes\"", 133 "\"empty\"", 134 "\"text\"", | 5 * This code is free software; you can redistribute it and/or modify it 6 * under the terms of the GNU General Public License version 2 only, as 7 * published by the Free Software Foundation. Oracle designates this 8 * particular file as subject to the "Classpath" exception as provided 9 * by Oracle in the LICENSE file that accompanied this code. 10 * 11 * This code is distributed in the hope that it will be useful, but WITHOUT 12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 13 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 14 * version 2 for more details (a copy is included in the LICENSE file that 15 * accompanied this code). 16 * 17 * You should have received a copy of the GNU General Public License version 18 * 2 along with this work; if not, write to the Free Software Foundation, 19 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 20 * 21 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 22 * or visit www.oracle.com if you need additional information or have any 23 * questions. 24 */ 25 /* Generated By:JavaCC: Do not edit this line. CompactSyntaxConstants.java */ 26 package com.sun.xml.internal.rngom.parse.compact; 27 28 public interface CompactSyntaxConstants { 29 30 int EOF = 0; 31 int NEWLINE = 37; 32 int NOT_NEWLINE = 38; 33 int WS = 39; 34 int DOCUMENTATION = 40; 35 int DOCUMENTATION_CONTINUE = 41; 36 int SINGLE_LINE_COMMENT = 42; 37 int DOCUMENTATION_AFTER_SINGLE_LINE_COMMENT = 43; 38 int SINGLE_LINE_COMMENT_CONTINUE = 44; 39 int BASE_CHAR = 45; 40 int IDEOGRAPHIC = 46; 41 int LETTER = 47; 42 int COMBINING_CHAR = 48; 43 int DIGIT = 49; 44 int EXTENDER = 50; 45 int NMSTART = 51; 46 int NMCHAR = 52; 47 int NCNAME = 53; 48 int IDENTIFIER = 54; 49 int ESCAPED_IDENTIFIER = 55; 50 int PREFIX_STAR = 56; 51 int PREFIXED_NAME = 57; 52 int LITERAL = 58; 53 int FANNOTATE = 59; 54 int ILLEGAL_CHAR = 60; 55 56 int DEFAULT = 0; 57 int AFTER_SINGLE_LINE_COMMENT = 1; 58 int AFTER_DOCUMENTATION = 2; 59 60 String[] tokenImage = { 61 "<EOF>", 62 "\"[\"", 63 "\"=\"", 64 "\"&=\"", 65 "\"|=\"", 66 "\"start\"", 67 "\"div\"", 68 "\"include\"", 69 "\"~\"", 70 "\"]\"", 71 "\"grammar\"", 72 "\"{\"", 73 "\"}\"", 74 "\"namespace\"", 75 "\"default\"", 76 "\"inherit\"", 77 "\"datatypes\"", 78 "\"empty\"", 79 "\"text\"", |