001/* Generated By:JavaCC: Do not edit this line. StyleSheetParserConstants.java */ 002/* 003 * Copyright 2006 - 2012 004 * Stefan Balev <stefan.balev@graphstream-project.org> 005 * Julien Baudry <julien.baudry@graphstream-project.org> 006 * Antoine Dutot <antoine.dutot@graphstream-project.org> 007 * Yoann Pigné <yoann.pigne@graphstream-project.org> 008 * Guilhelm Savin <guilhelm.savin@graphstream-project.org> 009 * 010 * This file is part of GraphStream <http://graphstream-project.org>. 011 * 012 * GraphStream is a library whose purpose is to handle static or dynamic 013 * graph, create them from scratch, file or any source and display them. 014 * 015 * This program is free software distributed under the terms of two licenses, the 016 * CeCILL-C license that fits European law, and the GNU Lesser General Public 017 * License. You can use, modify and/ or redistribute the software under the terms 018 * of the CeCILL-C license as circulated by CEA, CNRS and INRIA at the following 019 * URL <http://www.cecill.info> or under the terms of the GNU LGPL as published by 020 * the Free Software Foundation, either version 3 of the License, or (at your 021 * option) any later version. 022 * 023 * This program is distributed in the hope that it will be useful, but WITHOUT ANY 024 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 025 * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. 026 * 027 * You should have received a copy of the GNU Lesser General Public License 028 * along with this program. If not, see <http://www.gnu.org/licenses/>. 029 * 030 * The fact that you are presently reading this means that you have had 031 * knowledge of the CeCILL-C and LGPL licenses and that you accept their terms. 032 */ 033package org.graphstream.ui.graphicGraph.stylesheet.parser; 034 035 036/** 037 * Token literal values and constants. 038 * Generated by org.javacc.parser.OtherFilesGen#start() 039 */ 040public interface StyleSheetParserConstants { 041 042 /** End of File. */ 043 int EOF = 0; 044 /** RegularExpression Id. */ 045 int EOL = 5; 046 /** RegularExpression Id. */ 047 int DIGIT = 6; 048 /** RegularExpression Id. */ 049 int HEXDIGIT = 7; 050 /** RegularExpression Id. */ 051 int UNITS = 8; 052 /** RegularExpression Id. */ 053 int DOT = 9; 054 /** RegularExpression Id. */ 055 int LBRACE = 10; 056 /** RegularExpression Id. */ 057 int RBRACE = 11; 058 /** RegularExpression Id. */ 059 int LPAREN = 12; 060 /** RegularExpression Id. */ 061 int RPAREN = 13; 062 /** RegularExpression Id. */ 063 int SHARP = 14; 064 /** RegularExpression Id. */ 065 int COLON = 15; 066 /** RegularExpression Id. */ 067 int SEMICOLON = 16; 068 /** RegularExpression Id. */ 069 int COMA = 17; 070 /** RegularExpression Id. */ 071 int RGBA = 18; 072 /** RegularExpression Id. */ 073 int RGB = 19; 074 /** RegularExpression Id. */ 075 int HTMLCOLOR = 20; 076 /** RegularExpression Id. */ 077 int REAL = 21; 078 /** RegularExpression Id. */ 079 int STRING = 22; 080 /** RegularExpression Id. */ 081 int URL = 23; 082 /** RegularExpression Id. */ 083 int GRAPH = 24; 084 /** RegularExpression Id. */ 085 int EDGE = 25; 086 /** RegularExpression Id. */ 087 int NODE = 26; 088 /** RegularExpression Id. */ 089 int SPRITE = 27; 090 /** RegularExpression Id. */ 091 int FILLMODE = 28; 092 /** RegularExpression Id. */ 093 int FILLCOLOR = 29; 094 /** RegularExpression Id. */ 095 int FILLIMAGE = 30; 096 /** RegularExpression Id. */ 097 int STROKEMODE = 31; 098 /** RegularExpression Id. */ 099 int STROKECOLOR = 32; 100 /** RegularExpression Id. */ 101 int STROKEWIDTH = 33; 102 /** RegularExpression Id. */ 103 int SHADOWMODE = 34; 104 /** RegularExpression Id. */ 105 int SHADOWCOLOR = 35; 106 /** RegularExpression Id. */ 107 int SHADOWWIDTH = 36; 108 /** RegularExpression Id. */ 109 int SHADOWOFFSET = 37; 110 /** RegularExpression Id. */ 111 int TEXTMODE = 38; 112 /** RegularExpression Id. */ 113 int TEXTCOLOR = 39; 114 /** RegularExpression Id. */ 115 int TEXTSTYLE = 40; 116 /** RegularExpression Id. */ 117 int TEXTFONT = 41; 118 /** RegularExpression Id. */ 119 int TEXTSIZE = 42; 120 /** RegularExpression Id. */ 121 int TEXTVISIBILITYMODE = 43; 122 /** RegularExpression Id. */ 123 int TEXTVISIBILITY = 44; 124 /** RegularExpression Id. */ 125 int TEXTBACKGROUNDMODE = 45; 126 /** RegularExpression Id. */ 127 int TEXTBACKGROUNDCOLOR = 46; 128 /** RegularExpression Id. */ 129 int TEXTOFFSET = 47; 130 /** RegularExpression Id. */ 131 int TEXTPADDING = 48; 132 /** RegularExpression Id. */ 133 int ICONMODE = 49; 134 /** RegularExpression Id. */ 135 int ICON = 50; 136 /** RegularExpression Id. */ 137 int PADDING = 51; 138 /** RegularExpression Id. */ 139 int ZINDEX = 52; 140 /** RegularExpression Id. */ 141 int VISIBILITYMODE = 53; 142 /** RegularExpression Id. */ 143 int VISIBILITY = 54; 144 /** RegularExpression Id. */ 145 int SHAPE = 55; 146 /** RegularExpression Id. */ 147 int SIZE = 56; 148 /** RegularExpression Id. */ 149 int SIZEMODE = 57; 150 /** RegularExpression Id. */ 151 int SHAPEPOINTS = 58; 152 /** RegularExpression Id. */ 153 int TEXTALIGNMENT = 59; 154 /** RegularExpression Id. */ 155 int JCOMPONENT = 60; 156 /** RegularExpression Id. */ 157 int ARROWIMGURL = 61; 158 /** RegularExpression Id. */ 159 int ARROWSIZE = 62; 160 /** RegularExpression Id. */ 161 int ARROWSHAPE = 63; 162 /** RegularExpression Id. */ 163 int SPRITEORIENT = 64; 164 /** RegularExpression Id. */ 165 int CANVASCOLOR = 65; 166 /** RegularExpression Id. */ 167 int PLAIN = 66; 168 /** RegularExpression Id. */ 169 int DYNPLAIN = 67; 170 /** RegularExpression Id. */ 171 int DYNSIZE = 68; 172 /** RegularExpression Id. */ 173 int DYNICON = 69; 174 /** RegularExpression Id. */ 175 int DASHES = 70; 176 /** RegularExpression Id. */ 177 int DOTS = 71; 178 /** RegularExpression Id. */ 179 int DOUBLE = 72; 180 /** RegularExpression Id. */ 181 int GRADIENTDIAGONAL1 = 73; 182 /** RegularExpression Id. */ 183 int GRADIENTDIAGONAL2 = 74; 184 /** RegularExpression Id. */ 185 int GRADIENTHORIZONTAL = 75; 186 /** RegularExpression Id. */ 187 int GRADIENTRADIAL = 76; 188 /** RegularExpression Id. */ 189 int GRADIENTVERTICAL = 77; 190 /** RegularExpression Id. */ 191 int HIDDEN = 78; 192 /** RegularExpression Id. */ 193 int IMAGETILED = 79; 194 /** RegularExpression Id. */ 195 int IMAGESCALED = 80; 196 /** RegularExpression Id. */ 197 int IMAGESCALEDRATIOMAX = 81; 198 /** RegularExpression Id. */ 199 int IMAGESCALEDRATIOMIN = 82; 200 /** RegularExpression Id. */ 201 int NONE = 83; 202 /** RegularExpression Id. */ 203 int NORMAL = 84; 204 /** RegularExpression Id. */ 205 int TRUNCATED = 85; 206 /** RegularExpression Id. */ 207 int ZOOMRANGE = 86; 208 /** RegularExpression Id. */ 209 int ATZOOM = 87; 210 /** RegularExpression Id. */ 211 int UNDERZOOM = 88; 212 /** RegularExpression Id. */ 213 int OVERZOOM = 89; 214 /** RegularExpression Id. */ 215 int ZOOMS = 90; 216 /** RegularExpression Id. */ 217 int FIT = 91; 218 /** RegularExpression Id. */ 219 int BOLD = 92; 220 /** RegularExpression Id. */ 221 int BOLD_ITALIC = 93; 222 /** RegularExpression Id. */ 223 int ITALIC = 94; 224 /** RegularExpression Id. */ 225 int ALONG = 95; 226 /** RegularExpression Id. */ 227 int ATLEFT = 96; 228 /** RegularExpression Id. */ 229 int ATRIGHT = 97; 230 /** RegularExpression Id. */ 231 int CENTER = 98; 232 /** RegularExpression Id. */ 233 int LEFT = 99; 234 /** RegularExpression Id. */ 235 int RIGHT = 100; 236 /** RegularExpression Id. */ 237 int UNDER = 101; 238 /** RegularExpression Id. */ 239 int ABOVE = 102; 240 /** RegularExpression Id. */ 241 int JUSTIFY = 103; 242 /** RegularExpression Id. */ 243 int CIRCLE = 104; 244 /** RegularExpression Id. */ 245 int TRIANGLE = 105; 246 /** RegularExpression Id. */ 247 int FREEPLANE = 106; 248 /** RegularExpression Id. */ 249 int TEXTBOX = 107; 250 /** RegularExpression Id. */ 251 int TEXTROUNDEDBOX = 108; 252 /** RegularExpression Id. */ 253 int TEXTCIRCLE = 109; 254 /** RegularExpression Id. */ 255 int TEXTDIAMOND = 110; 256 /** RegularExpression Id. */ 257 int TEXTPARAGRAPH = 111; 258 /** RegularExpression Id. */ 259 int BOX = 112; 260 /** RegularExpression Id. */ 261 int ROUNDEDBOX = 113; 262 /** RegularExpression Id. */ 263 int CROSS = 114; 264 /** RegularExpression Id. */ 265 int DIAMOND = 115; 266 /** RegularExpression Id. */ 267 int POLYGON = 116; 268 /** RegularExpression Id. */ 269 int BUTTON = 117; 270 /** RegularExpression Id. */ 271 int TEXTFIELD = 118; 272 /** RegularExpression Id. */ 273 int PANEL = 119; 274 /** RegularExpression Id. */ 275 int LINE = 120; 276 /** RegularExpression Id. */ 277 int POLYLINE = 121; 278 /** RegularExpression Id. */ 279 int POLYLINESCALED = 122; 280 /** RegularExpression Id. */ 281 int ANGLE = 123; 282 /** RegularExpression Id. */ 283 int CUBICCURVE = 124; 284 /** RegularExpression Id. */ 285 int BLOB = 125; 286 /** RegularExpression Id. */ 287 int SQUARELINE = 126; 288 /** RegularExpression Id. */ 289 int LSQUARELINE = 127; 290 /** RegularExpression Id. */ 291 int HSQUARELINE = 128; 292 /** RegularExpression Id. */ 293 int VSQUARELINE = 129; 294 /** RegularExpression Id. */ 295 int ARROW = 130; 296 /** RegularExpression Id. */ 297 int FLOW = 131; 298 /** RegularExpression Id. */ 299 int PIECHART = 132; 300 /** RegularExpression Id. */ 301 int IMAGE = 133; 302 /** RegularExpression Id. */ 303 int IMAGES = 134; 304 /** RegularExpression Id. */ 305 int FROM = 135; 306 /** RegularExpression Id. */ 307 int NODE0 = 136; 308 /** RegularExpression Id. */ 309 int TO = 137; 310 /** RegularExpression Id. */ 311 int NODE1 = 138; 312 /** RegularExpression Id. */ 313 int PROJECTION = 139; 314 /** RegularExpression Id. */ 315 int CLICKED = 140; 316 /** RegularExpression Id. */ 317 int SELECTED = 141; 318 /** RegularExpression Id. */ 319 int IDENTIFIER = 142; 320 /** RegularExpression Id. */ 321 int COMMENT = 143; 322 323 /** Lexical state. */ 324 int DEFAULT = 0; 325 326 /** Literal token values. */ 327 String[] tokenImage = { 328 "<EOF>", 329 "\" \"", 330 "\"\\r\"", 331 "\"\\t\"", 332 "\"\\n\"", 333 "<EOL>", 334 "<DIGIT>", 335 "<HEXDIGIT>", 336 "<UNITS>", 337 "\".\"", 338 "\"{\"", 339 "\"}\"", 340 "\"(\"", 341 "\")\"", 342 "\"#\"", 343 "\":\"", 344 "\";\"", 345 "\",\"", 346 "\"rgba\"", 347 "\"rgb\"", 348 "<HTMLCOLOR>", 349 "<REAL>", 350 "<STRING>", 351 "\"url\"", 352 "\"graph\"", 353 "\"edge\"", 354 "\"node\"", 355 "\"sprite\"", 356 "\"fill-mode\"", 357 "\"fill-color\"", 358 "\"fill-image\"", 359 "\"stroke-mode\"", 360 "\"stroke-color\"", 361 "\"stroke-width\"", 362 "\"shadow-mode\"", 363 "\"shadow-color\"", 364 "\"shadow-width\"", 365 "\"shadow-offset\"", 366 "\"text-mode\"", 367 "\"text-color\"", 368 "\"text-style\"", 369 "\"text-font\"", 370 "\"text-size\"", 371 "\"text-visibility-mode\"", 372 "\"text-visibility\"", 373 "\"text-background-mode\"", 374 "\"text-background-color\"", 375 "\"text-offset\"", 376 "\"text-padding\"", 377 "\"icon-mode\"", 378 "\"icon\"", 379 "\"padding\"", 380 "\"z-index\"", 381 "\"visibility-mode\"", 382 "\"visibility\"", 383 "\"shape\"", 384 "\"size\"", 385 "\"size-mode\"", 386 "\"shape-points\"", 387 "\"text-alignment\"", 388 "\"jcomponent\"", 389 "\"arrow-image\"", 390 "\"arrow-size\"", 391 "\"arrow-shape\"", 392 "\"sprite-orientation\"", 393 "\"canvas-color\"", 394 "\"plain\"", 395 "\"dyn-plain\"", 396 "\"dyn-size\"", 397 "\"dyn-icon\"", 398 "\"dashes\"", 399 "\"dots\"", 400 "\"double\"", 401 "\"gradient-diagonal1\"", 402 "\"gradient-diagonal2\"", 403 "\"gradient-horizontal\"", 404 "\"gradient-radial\"", 405 "\"gradient-vertical\"", 406 "\"hidden\"", 407 "\"image-tiled\"", 408 "\"image-scaled\"", 409 "\"image-scaled-ratio-max\"", 410 "\"image-scaled-ratio-min\"", 411 "\"none\"", 412 "\"normal\"", 413 "\"truncated\"", 414 "\"zoom-range\"", 415 "\"at-zoom\"", 416 "\"under-zoom\"", 417 "\"over-zoom\"", 418 "\"zooms\"", 419 "\"fit\"", 420 "\"bold\"", 421 "\"bold-italic\"", 422 "\"italic\"", 423 "\"along\"", 424 "\"at-left\"", 425 "\"at-right\"", 426 "\"center\"", 427 "\"left\"", 428 "\"right\"", 429 "\"under\"", 430 "\"above\"", 431 "\"justify\"", 432 "\"circle\"", 433 "\"triangle\"", 434 "\"freeplane\"", 435 "\"text-box\"", 436 "\"text-rounded-box\"", 437 "\"text-circle\"", 438 "\"text-diamond\"", 439 "\"text-paragraph\"", 440 "\"box\"", 441 "\"rounded-box\"", 442 "\"cross\"", 443 "\"diamond\"", 444 "\"polygon\"", 445 "\"button\"", 446 "\"text-field\"", 447 "\"panel\"", 448 "\"line\"", 449 "\"polyline\"", 450 "\"polyline-scaled\"", 451 "\"angle\"", 452 "\"cubic-curve\"", 453 "\"blob\"", 454 "\"square-line\"", 455 "\"L-square-line\"", 456 "\"horizontal-square-line\"", 457 "\"vertical-square-line\"", 458 "\"arrow\"", 459 "\"flow\"", 460 "\"pie-chart\"", 461 "\"image\"", 462 "\"images\"", 463 "\"from\"", 464 "\"node0\"", 465 "\"to\"", 466 "\"node1\"", 467 "\"projection\"", 468 "\"clicked\"", 469 "\"selected\"", 470 "<IDENTIFIER>", 471 "<COMMENT>", 472 }; 473 474}