1 /* 2 * Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved. 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 * 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\"", 80 "\"notAllowed\"", 81 "\"|\"", 82 "\"&\"", 83 "\",\"", 84 "\"+\"", 85 "\"?\"", 86 "\"*\"", 87 "\"element\"", 88 "\"attribute\"", 89 "\"(\"", 90 "\")\"", 91 "\"-\"", 92 "\"list\"", 93 "\"mixed\"", 94 "\"external\"", 95 "\"parent\"", 96 "\"string\"", 97 "\"token\"", 98 "<NEWLINE>", 99 "<NOT_NEWLINE>", 100 "<WS>", 101 "<DOCUMENTATION>", 102 "<DOCUMENTATION_CONTINUE>", 103 "<SINGLE_LINE_COMMENT>", 104 "<DOCUMENTATION_AFTER_SINGLE_LINE_COMMENT>", 105 "<SINGLE_LINE_COMMENT_CONTINUE>", 106 "<BASE_CHAR>", 107 "<IDEOGRAPHIC>", 108 "<LETTER>", 109 "<COMBINING_CHAR>", 110 "<DIGIT>", 111 "<EXTENDER>", 112 "<NMSTART>", 113 "<NMCHAR>", 114 "<NCNAME>", 115 "<IDENTIFIER>", 116 "<ESCAPED_IDENTIFIER>", 117 "<PREFIX_STAR>", 118 "<PREFIXED_NAME>", 119 "<LITERAL>", 120 "\">>\"", 121 "<ILLEGAL_CHAR>", 122 }; 123 124 }