source: josm/trunk/src/org/openstreetmap/josm/gui/mappaint/mapcss/parser/MapCSSParserConstants.java@ 3856

Last change on this file since 3856 was 3856, checked in by bastiK, 13 years ago

improve mapcss support

  • Property svn:eol-style set to native
File size: 2.4 KB
Line 
1/* Generated By:JavaCC: Do not edit this line. MapCSSParserConstants.java */
2package org.openstreetmap.josm.gui.mappaint.mapcss.parser;
3
4
5/**
6 * Token literal values and constants.
7 * Generated by org.javacc.parser.OtherFilesGen#start()
8 */
9public interface MapCSSParserConstants {
10
11 /** End of File. */
12 int EOF = 0;
13 /** RegularExpression Id. */
14 int IDENT = 1;
15 /** RegularExpression Id. */
16 int UINT = 2;
17 /** RegularExpression Id. */
18 int UFLOAT = 3;
19 /** RegularExpression Id. */
20 int STRING = 4;
21 /** RegularExpression Id. */
22 int H = 5;
23 /** RegularExpression Id. */
24 int HEXCOLOR = 6;
25 /** RegularExpression Id. */
26 int S = 7;
27 /** RegularExpression Id. */
28 int STAR = 8;
29 /** RegularExpression Id. */
30 int SLASH = 9;
31 /** RegularExpression Id. */
32 int LBRACE = 10;
33 /** RegularExpression Id. */
34 int RBRACE = 11;
35 /** RegularExpression Id. */
36 int LSQUARE = 12;
37 /** RegularExpression Id. */
38 int RSQUARE = 13;
39 /** RegularExpression Id. */
40 int LPAR = 14;
41 /** RegularExpression Id. */
42 int RPAR = 15;
43 /** RegularExpression Id. */
44 int EQUAL = 16;
45 /** RegularExpression Id. */
46 int EXCLAMATION = 17;
47 /** RegularExpression Id. */
48 int EXCLAMATION_EQUAL = 18;
49 /** RegularExpression Id. */
50 int COLON = 19;
51 /** RegularExpression Id. */
52 int DCOLON = 20;
53 /** RegularExpression Id. */
54 int SEMICOLON = 21;
55 /** RegularExpression Id. */
56 int COMMA = 22;
57 /** RegularExpression Id. */
58 int PIPE = 23;
59 /** RegularExpression Id. */
60 int PIPE_Z = 24;
61 /** RegularExpression Id. */
62 int PLUS = 25;
63 /** RegularExpression Id. */
64 int MINUS = 26;
65 /** RegularExpression Id. */
66 int AMPERSAND = 27;
67 /** RegularExpression Id. */
68 int QUESTION = 28;
69 /** RegularExpression Id. */
70 int COMMENT_START = 29;
71 /** RegularExpression Id. */
72 int UNEXPECTED_CHAR = 30;
73 /** RegularExpression Id. */
74 int COMMENT_END = 31;
75
76 /** Lexical state. */
77 int DEFAULT = 0;
78 /** Lexical state. */
79 int COMMENT = 1;
80
81 /** Literal token values. */
82 String[] tokenImage = {
83 "<EOF>",
84 "<IDENT>",
85 "<UINT>",
86 "<UFLOAT>",
87 "<STRING>",
88 "<H>",
89 "<HEXCOLOR>",
90 "<S>",
91 "\"*\"",
92 "\"/\"",
93 "\"{\"",
94 "\"}\"",
95 "\"[\"",
96 "\"]\"",
97 "\"(\"",
98 "\")\"",
99 "\"=\"",
100 "\"!\"",
101 "\"!=\"",
102 "\":\"",
103 "\"::\"",
104 "\";\"",
105 "\",\"",
106 "\"|\"",
107 "\"|z\"",
108 "\"+\"",
109 "\"-\"",
110 "\"&\"",
111 "\"?\"",
112 "\"/*\"",
113 "<UNEXPECTED_CHAR>",
114 "\"*/\"",
115 "<token of kind 32>",
116 };
117
118}
Note: See TracBrowser for help on using the repository browser.