1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 package org.seasar.tuigwaa.cms.core.wiki.engine;
18
19 public interface WikiParserConstants {
20
21 int EOF = 0;
22 int ALPHABET = 3;
23 int HEX = 4;
24 int DIGIT = 5;
25 int NOASCII = 6;
26 int HOSTNAME = 7;
27 int PLUGINNAME = 8;
28 int NL = 9;
29 int TILDE = 10;
30 int SEMICOLON = 11;
31 int LPAREN = 12;
32 int RPAREN = 13;
33 int LBRACKET = 14;
34 int RBRACKET = 15;
35 int LBRACE = 16;
36 int RBRACE = 17;
37 int SLASH = 18;
38 int LT = 19;
39 int EXCERPT1 = 20;
40 int EXCERPT2 = 21;
41 int EXCERPT3 = 22;
42 int LIST1 = 23;
43 int LIST2 = 24;
44 int LIST3 = 25;
45 int NLIST1 = 26;
46 int NLIST2 = 27;
47 int NLIST3 = 28;
48 int PRESHAPED = 29;
49 int HEADING1 = 30;
50 int HEADING2 = 31;
51 int HEADING3 = 32;
52 int ALIGN1 = 33;
53 int ALIGN2 = 34;
54 int ALIGN3 = 35;
55 int FALIGN1 = 36;
56 int FALIGN2 = 37;
57 int HORIZONTAL = 38;
58 int BLOCKPLUGIN = 39;
59 int COLORWORD = 40;
60 int BGCOLORWORD = 41;
61 int SIZEWORD = 42;
62 int COLSPAN = 43;
63 int TABLE = 44;
64 int DLIST = 45;
65 int CTABLE = 46;
66 int PIPE = 47;
67 int COLON = 48;
68 int COMMA = 49;
69 int TABLEDEL = 50;
70 int NTABCOLSPAN = 51;
71 int NTABROWSPAN = 52;
72 int CTABLEDEL = 53;
73 int ANCHORNAME = 54;
74 int URL = 55;
75 int EMAIL = 56;
76 int NAME = 57;
77 int PLUGINARG = 58;
78 int DELETELINE = 59;
79 int STRONGITALIC = 60;
80 int WIKINAME = 61;
81 int NATIVELINK = 62;
82 int ANCHOR = 63;
83 int PAGENAME = 64;
84 int LINK = 65;
85 int INTERWIKI = 66;
86 int ALIASLINK = 67;
87 int ALIAS = 68;
88 int IDENTIFIER = 69;
89 int ARGS = 70;
90 int INLINEPLUGIN = 71;
91 int ANYOTHER = 72;
92
93 int CTAB = 0;
94 int NTAB = 1;
95 int DEFAULT = 2;
96
97 String[] tokenImage = {
98 "<EOF>",
99 "\"//r\"",
100 "<token of kind 2>",
101 "<ALPHABET>",
102 "<HEX>",
103 "<DIGIT>",
104 "<NOASCII>",
105 "<HOSTNAME>",
106 "<PLUGINNAME>",
107 "\"//n\"",
108 "\"~\"",
109 "\";\"",
110 "\"(\"",
111 "\")\"",
112 "\"[\"",
113 "\"]\"",
114 "\"{\"",
115 "\"}\"",
116 "\"/\"",
117 "\"<\"",
118 "\">\"",
119 "\">>\"",
120 "\">>>\"",
121 "\"-\"",
122 "\"--\"",
123 "\"---\"",
124 "\"+\"",
125 "\"++\"",
126 "\"+++\"",
127 "\" \"",
128 "\"*\"",
129 "\"**\"",
130 "\"***\"",
131 "\"LEFT:\"",
132 "\"CENTER:\"",
133 "\"RIGHT:\"",
134 "<FALIGN1>",
135 "<FALIGN2>",
136 "\"----\"",
137 "<BLOCKPLUGIN>",
138 "<COLORWORD>",
139 "<BGCOLORWORD>",
140 "<SIZEWORD>",
141 "\"==\"",
142 "\"//n|\"",
143 "\"//n:\"",
144 "\"//n,\"",
145 "\"|\"",
146 "\":\"",
147 "\",\"",
148 "\"|\"",
149 "\">|\"",
150 "\"~|\"",
151 "\",\"",
152 "<ANCHORNAME>",
153 "<URL>",
154 "<EMAIL>",
155 "<NAME>",
156 "<PLUGINARG>",
157 "\"%%\"",
158 "<STRONGITALIC>",
159 "<WIKINAME>",
160 "<NATIVELINK>",
161 "<ANCHOR>",
162 "<PAGENAME>",
163 "<LINK>",
164 "<INTERWIKI>",
165 "<ALIASLINK>",
166 "<ALIAS>",
167 "<IDENTIFIER>",
168 "<ARGS>",
169 "<INLINEPLUGIN>",
170 "<ANYOTHER>",
171 "\"((\"",
172 "\"))\"",
173 };
174
175 }