001/* Generated By:JavaCC: Do not edit this line. MapCSSParserConstants.java */ 002package org.openstreetmap.josm.gui.mappaint.mapcss.parsergen; 003 004 005/** 006 * Token literal values and constants. 007 * Generated by org.javacc.parser.OtherFilesGen#start() 008 */ 009public interface MapCSSParserConstants { 010 011 /** End of File. */ 012 int EOF = 0; 013 /** RegularExpression Id. */ 014 int PP_AND = 1; 015 /** RegularExpression Id. */ 016 int PP_OR = 2; 017 /** RegularExpression Id. */ 018 int PP_NOT = 3; 019 /** RegularExpression Id. */ 020 int PP_SUPPORTS = 4; 021 /** RegularExpression Id. */ 022 int PP_NEWLINECHAR = 5; 023 /** RegularExpression Id. */ 024 int PP_WHITESPACE = 6; 025 /** RegularExpression Id. */ 026 int PP_COMMENT_START = 7; 027 /** RegularExpression Id. */ 028 int PP_COMMENT_END = 8; 029 /** RegularExpression Id. */ 030 int SET = 10; 031 /** RegularExpression Id. */ 032 int IDENT = 11; 033 /** RegularExpression Id. */ 034 int UINT = 12; 035 /** RegularExpression Id. */ 036 int STRING = 13; 037 /** RegularExpression Id. */ 038 int PREDEFINED = 14; 039 /** RegularExpression Id. */ 040 int REGEX_CHAR_WITHOUT_STAR = 15; 041 /** RegularExpression Id. */ 042 int REGEX = 16; 043 /** RegularExpression Id. */ 044 int LBRACE = 17; 045 /** RegularExpression Id. */ 046 int RBRACE = 18; 047 /** RegularExpression Id. */ 048 int LPAR = 19; 049 /** RegularExpression Id. */ 050 int RPAR = 20; 051 /** RegularExpression Id. */ 052 int COMMA = 21; 053 /** RegularExpression Id. */ 054 int COLON = 22; 055 /** RegularExpression Id. */ 056 int PP_SOMETHING_ELSE = 23; 057 /** RegularExpression Id. */ 058 int UFLOAT = 24; 059 /** RegularExpression Id. */ 060 int H = 25; 061 /** RegularExpression Id. */ 062 int HEXCOLOR = 26; 063 /** RegularExpression Id. */ 064 int S = 27; 065 /** RegularExpression Id. */ 066 int STAR = 28; 067 /** RegularExpression Id. */ 068 int SLASH = 29; 069 /** RegularExpression Id. */ 070 int LSQUARE = 30; 071 /** RegularExpression Id. */ 072 int RSQUARE = 31; 073 /** RegularExpression Id. */ 074 int GREATER_EQUAL = 32; 075 /** RegularExpression Id. */ 076 int LESS_EQUAL = 33; 077 /** RegularExpression Id. */ 078 int GREATER = 34; 079 /** RegularExpression Id. */ 080 int LESS = 35; 081 /** RegularExpression Id. */ 082 int EQUAL = 36; 083 /** RegularExpression Id. */ 084 int EXCLAMATION = 37; 085 /** RegularExpression Id. */ 086 int TILDE = 38; 087 /** RegularExpression Id. */ 088 int DCOLON = 39; 089 /** RegularExpression Id. */ 090 int SEMICOLON = 40; 091 /** RegularExpression Id. */ 092 int PIPE = 41; 093 /** RegularExpression Id. */ 094 int PIPE_Z = 42; 095 /** RegularExpression Id. */ 096 int PLUS = 43; 097 /** RegularExpression Id. */ 098 int MINUS = 44; 099 /** RegularExpression Id. */ 100 int AMPERSAND = 45; 101 /** RegularExpression Id. */ 102 int QUESTION = 46; 103 /** RegularExpression Id. */ 104 int DOLLAR = 47; 105 /** RegularExpression Id. */ 106 int CARET = 48; 107 /** RegularExpression Id. */ 108 int FULLSTOP = 49; 109 /** RegularExpression Id. */ 110 int DEG = 50; 111 /** RegularExpression Id. */ 112 int SUBSET_OR_EQUAL = 51; 113 /** RegularExpression Id. */ 114 int NOT_SUBSET_OR_EQUAL = 52; 115 /** RegularExpression Id. */ 116 int SUPERSET_OR_EQUAL = 53; 117 /** RegularExpression Id. */ 118 int NOT_SUPERSET_OR_EQUAL = 54; 119 /** RegularExpression Id. */ 120 int CROSSING = 55; 121 /** RegularExpression Id. */ 122 int PERCENT = 56; 123 /** RegularExpression Id. */ 124 int COMMENT_START = 57; 125 /** RegularExpression Id. */ 126 int UNEXPECTED_CHAR = 58; 127 /** RegularExpression Id. */ 128 int COMMENT_END = 59; 129 130 /** Lexical state. */ 131 int PREPROCESSOR = 0; 132 /** Lexical state. */ 133 int PP_COMMENT = 1; 134 /** Lexical state. */ 135 int DEFAULT = 2; 136 /** Lexical state. */ 137 int COMMENT = 3; 138 139 /** Literal token values. */ 140 String[] tokenImage = { 141 "<EOF>", 142 "\"and\"", 143 "\"or\"", 144 "\"not\"", 145 "\"@supports\"", 146 "<PP_NEWLINECHAR>", 147 "<PP_WHITESPACE>", 148 "\"/*\"", 149 "\"*/\"", 150 "<token of kind 9>", 151 "\"set\"", 152 "<IDENT>", 153 "<UINT>", 154 "<STRING>", 155 "<PREDEFINED>", 156 "<REGEX_CHAR_WITHOUT_STAR>", 157 "<REGEX>", 158 "\"{\"", 159 "\"}\"", 160 "\"(\"", 161 "\")\"", 162 "\",\"", 163 "\":\"", 164 "<PP_SOMETHING_ELSE>", 165 "<UFLOAT>", 166 "<H>", 167 "<HEXCOLOR>", 168 "<S>", 169 "\"*\"", 170 "\"/\"", 171 "\"[\"", 172 "\"]\"", 173 "\">=\"", 174 "\"<=\"", 175 "\">\"", 176 "\"<\"", 177 "\"=\"", 178 "\"!\"", 179 "\"~\"", 180 "\"::\"", 181 "\";\"", 182 "\"|\"", 183 "\"|z\"", 184 "\"+\"", 185 "\"-\"", 186 "\"&\"", 187 "\"?\"", 188 "\"$\"", 189 "\"^\"", 190 "\".\"", 191 "\"\\u00b0\"", 192 "<SUBSET_OR_EQUAL>", 193 "\"\\u2288\"", 194 "\"\\u2287\"", 195 "\"\\u2289\"", 196 "\"\\u29c9\"", 197 "\"%\"", 198 "\"/*\"", 199 "<UNEXPECTED_CHAR>", 200 "\"*/\"", 201 "<token of kind 60>", 202 }; 203 204}