1
2 package zeus.concepts;
3
4 public interface PerformativeParserConstants {
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 CONVERSATION_ID = 40;
42 int NAME = 41;
43 int ADDRESSES = 42;
44 int WORD = 43;
45 int INTEGER = 44;
46 int REAL = 45;
47 int DATE_TIME = 46;
48 int LITERAL = 47;
49 int EXPONENT = 48;
50 int LETTER = 49;
51 int DIGIT = 50;
52 int DECIMAL = 51;
53
54 int DEFAULT = 0;
55
56 String[] tokenImage = {
57 "<EOF>",
58 "\" \"",
59 "\"//t\"",
60 "\"//n\"",
61 "\"//r\"",
62 "\"//f\"",
63 "\"(\"",
64 "\")\"",
65 "\"accept-proposal\"",
66 "\"agree\"",
67 "\"cancel\"",
68 "\"cfp\"",
69 "\"confirm\"",
70 "\"disconfirm\"",
71 "\"failure\"",
72 "\"inform\"",
73 "\"inform-if\"",
74 "\"inform-ref\"",
75 "\"not-understood\"",
76 "\"propose\"",
77 "\"query-if\"",
78 "\"query-ref\"",
79 "\"refuse\"",
80 "\"reject-proposal\"",
81 "\"request\"",
82 "\"request-when\"",
83 "\"request-whenever\"",
84 "\"request-forward\"",
85 "\"subscribe\"",
86 "\":sender\"",
87 "\":receiver\"",
88 "\":content\"",
89 "\":reply-with\"",
90 "\":reply-by\"",
91 "\":in-reply-to\"",
92 "\":reply-to\"",
93 "\":envelope\"",
94 "\":language\"",
95 "\":ontology\"",
96 "\":protocol\"",
97 "\":conversation-id\"",
98 "\":name\"",
99 "\":addresses\"",
100 "<WORD>",
101 "<INTEGER>",
102 "<REAL>",
103 "<DATE_TIME>",
104 "<LITERAL>",
105 "<EXPONENT>",
106 "<LETTER>",
107 "<DIGIT>",
108 "<DECIMAL>",
109 "\"@\"",
110 };
111
112 }