1
2 package cz.cuni.amis.pogamut.sposh.elements;
3
4
5
6
7
8
9 public interface PoshParserConstants {
10
11
12 int EOF = 0;
13
14 int SINGLE_LINE_COMMENT = 5;
15
16 int LBRACE = 6;
17
18 int RBRACE = 7;
19
20 int DC = 8;
21
22 int AP = 9;
23
24 int AD = 10;
25
26 int COMPETENCE = 11;
27
28 int ELEMENTS = 12;
29
30 int GOAL = 13;
31
32 int HOURS = 14;
33
34 int MINUTES = 15;
35
36 int SECONDS = 16;
37
38 int HZ = 17;
39
40 int PM = 18;
41
42 int NONE = 19;
43
44 int TRIGGER = 20;
45
46 int NIL = 21;
47
48 int DRIVES = 22;
49
50 int DOCUMENTATION = 23;
51
52 int VARS = 24;
53
54 int COMMA = 25;
55
56 int EQUAL_SIGN = 26;
57
58 int TRUE = 27;
59
60 int FALSE = 28;
61
62 int PREDICATE = 29;
63
64 int NUMFLOAT = 30;
65
66 int NUMINT = 31;
67
68 int NAME = 32;
69
70 int JAVA_IDENTIFIER = 33;
71
72 int ENUM_VALUE = 34;
73
74 int COMMENT = 35;
75
76 int VARIABLE = 36;
77
78 int ERROR_CHARS = 37;
79
80
81 int DEFAULT = 0;
82
83
84 String[] tokenImage = {
85 "<EOF>",
86 "\" \"",
87 "\"\\t\"",
88 "\"\\n\"",
89 "\"\\r\"",
90 "<SINGLE_LINE_COMMENT>",
91 "\"(\"",
92 "\")\"",
93 "<DC>",
94 "\"AP\"",
95 "\"AD\"",
96 "\"C\"",
97 "\"elements\"",
98 "\"goal\"",
99 "\"hours\"",
100 "\"minutes\"",
101 "\"seconds\"",
102 "\"hz\"",
103 "\"pm\"",
104 "\"none\"",
105 "\"trigger\"",
106 "\"nil\"",
107 "\"drives\"",
108 "\"documentation\"",
109 "\"vars\"",
110 "\",\"",
111 "\"=\"",
112 "\"true\"",
113 "\"false\"",
114 "<PREDICATE>",
115 "<NUMFLOAT>",
116 "<NUMINT>",
117 "<NAME>",
118 "<JAVA_IDENTIFIER>",
119 "<ENUM_VALUE>",
120 "<COMMENT>",
121 "<VARIABLE>",
122 "<ERROR_CHARS>",
123 };
124
125 }