1
2 package zeus.concepts;
3
4 public interface FIPAParserConstants {
5
6 int EOF = 0;
7 int LBRACKET = 6;
8 int RBRACKET = 7;
9 int ACCEPT = 8;
10 int AGREE = 9;
11 int CANCEL = 10;
12 int CFP = 11;
13 int CONFIRM = 12;
14 int DISCONFRIM = 13;
15 int FAILURE = 14;
16 int INFORM = 15;
17 int INFORM_IF = 16;
18 int INFORM_REF = 17;
19 int NOT_UNDERSTOOD = 18;
20 int PROPOSE = 19;
21 int QUERY_IF = 20;
22 int QUERY_REF = 21;
23 int REFUSE = 22;
24 int REJECT = 23;
25 int REQUEST = 24;
26 int REQUEST_WHEN = 25;
27 int REQUEST_WHENEVER = 26;
28 int REQUEST_FORWARD = 27;
29 int SUBSCRIBE = 28;
30 int SENDER = 29;
31 int RECEIVER = 30;
32 int CONTENT = 31;
33 int REPLY_WITH = 32;
34 int REPLY_BY = 33;
35 int IN_REPLY_TO = 34;
36 int REPLY_TO = 35;
37 int ENVELOPE = 36;
38 int LANGUAGE = 37;
39 int ONTOLOGY = 38;
40 int PROTOCOL = 39;
41 int ENCODING = 40;
42 int CONVERSATION_ID = 41;
43 int NAME = 42;
44 int ADDRESSES = 43;
45 int SET = 44;
46 int AGENT_IDENTIFIER = 45;
47 int SEQUENCE = 46;
48 int AMS_AGENT_DESC = 47;
49 int DF_AGENT_DESC = 48;
50 int AP_Description = 49;
51 int SEARCH_CONSTRAINTS = 50;
52 int OWNERSHIP = 51;
53 int STATE = 52;
54 int SERVICE_DESCRIPTION = 53;
55 int SERVICES = 54;
56 int PROPERTIES = 55;
57 int PROPERTY = 56;
58 int DYNAMIC = 57;
59 int MOBILITY = 58;
60 int TRANSPORT_PROFILE = 59;
61 int MAX_DEPTH = 60;
62 int MAX_RESULTS = 61;
63 int TYPE = 62;
64 int VALUE = 63;
65 int AP_TRANSPORT_DESCRIPTION = 64;
66 int AVAILABLE_MTS = 65;
67 int MTP_DESCRIPTION = 66;
68 int PROFILE = 67;
69 int MTP_NAME = 68;
70 int ALIAS_ADDRESS_OPEN = 69;
71 int ZEUS_NAME_OPEN = 70;
72 int AID_OPEN = 71;
73 int AID_CLOSE = 72;
74 int ZEUS_NAME_CLOSE = 73;
75 int ALIAS_ADDRESS_CLOSE = 74;
76 int TRANSPORT_CONFIGURATION = 75;
77 int TRANSPORT_NAME = 76;
78 int TRANSPORT_PORT = 77;
79 int TRANSPORT_CONFIGURATION_CLOSE = 78;
80 int TRANSPORT_NAME_CLOSE = 79;
81 int RESOLVERS = 80;
82 int TRANSPORT_PORT_CLOSE = 81;
83 int GET_DESCRIPTION = 82;
84 int REGISTER = 83;
85 int SEARCH = 84;
86 int DEREGISTER = 85;
87 int ONTOLOGIES = 86;
88 int LANGUAGES = 87;
89 int PROTOCOLS = 88;
90 int WORD = 89;
91 int INTEGER = 90;
92 int ADDR = 91;
93 int REAL = 92;
94 int DATE_TIME = 93;
95 int LITERAL = 94;
96 int EXPONENT = 95;
97 int LETTER = 96;
98 int DIGIT = 97;
99 int DECIMAL = 98;
100
101 int DEFAULT = 0;
102
103 String[] tokenImage = {
104 "<EOF>",
105 "\" \"",
106 "\"//t\"",
107 "\"//n\"",
108 "\"//r\"",
109 "\"//f\"",
110 "\"(\"",
111 "\")\"",
112 "\"accept-proposal\"",
113 "\"agree\"",
114 "\"cancel\"",
115 "\"cfp\"",
116 "\"confirm\"",
117 "\"disconfirm\"",
118 "\"failure\"",
119 "\"inform\"",
120 "\"inform-if\"",
121 "\"inform-ref\"",
122 "\"not-understood\"",
123 "\"propose\"",
124 "\"query-if\"",
125 "\"query-ref\"",
126 "\"refuse\"",
127 "\"reject-proposal\"",
128 "\"request\"",
129 "\"request-when\"",
130 "\"request-whenever\"",
131 "\"request-forward\"",
132 "\"subscribe\"",
133 "\":sender\"",
134 "\":receiver\"",
135 "\":content\"",
136 "\":reply-with\"",
137 "\":reply-by\"",
138 "\":in-reply-to\"",
139 "\":reply-to\"",
140 "\":envelope\"",
141 "\":language\"",
142 "\":ontology\"",
143 "\":protocol\"",
144 "\":encoding\"",
145 "\":conversation-id\"",
146 "\":name\"",
147 "\":addresses\"",
148 "\"set\"",
149 "\"agent-identifier\"",
150 "\"sequence\"",
151 "\"ams-agent-description\"",
152 "\"df-agent-description\"",
153 "\"ap-description\"",
154 "\"search-constraints\"",
155 "\":ownership\"",
156 "\":state\"",
157 "\"service-description\"",
158 "\":services\"",
159 "\":properties\"",
160 "\"property\"",
161 "\":dynamic\"",
162 "\":mobility\"",
163 "\":transport-profile\"",
164 "\":max-depth\"",
165 "\":max-results\"",
166 "\":type\"",
167 "\":value\"",
168 "\"ap-transport-description\"",
169 "\":available-mtps\"",
170 "\"mtp-description\"",
171 "\":profile\"",
172 "\":mtp-name\"",
173 "\"<alias_address>\"",
174 "\"<zeus_name>\"",
175 "\"<aid>\"",
176 "\"</aid>\"",
177 "\"</zeus_name>\"",
178 "\"</alias_address>\"",
179 "\"<transport_configuration>\"",
180 "<TRANSPORT_NAME>",
181 "<TRANSPORT_PORT>",
182 "\"</transport_configuration>\"",
183 "<TRANSPORT_NAME_CLOSE>",
184 "<RESOLVERS>",
185 "<TRANSPORT_PORT_CLOSE>",
186 "\"get-description\"",
187 "\"register\"",
188 "\"search\"",
189 "\"deregister\"",
190 "\":ontologies\"",
191 "\":languages\"",
192 "\":protocols\"",
193 "<WORD>",
194 "<INTEGER>",
195 "<ADDR>",
196 "<REAL>",
197 "<DATE_TIME>",
198 "<LITERAL>",
199 "<EXPONENT>",
200 "<LETTER>",
201 "<DIGIT>",
202 "<DECIMAL>",
203 };
204
205 }