RexxConstants.hpp
Go to the documentation of this file.
1 /*----------------------------------------------------------------------------*/
2 /* */
3 /* Copyright (c) 1995, 2004 IBM Corporation. All rights reserved. */
4 /* Copyright (c) 2005-2009 Rexx Language Association. All rights reserved. */
5 /* */
6 /* This program and the accompanying materials are made available under */
7 /* the terms of the Common Public License v1.0 which accompanies this */
8 /* distribution. A copy is also available at the following address: */
9 /* http://www.oorexx.org/license.html */
10 /* */
11 /* Redistribution and use in source and binary forms, with or */
12 /* without modification, are permitted provided that the following */
13 /* conditions are met: */
14 /* */
15 /* Redistributions of source code must retain the above copyright */
16 /* notice, this list of conditions and the following disclaimer. */
17 /* Redistributions in binary form must reproduce the above copyright */
18 /* notice, this list of conditions and the following disclaimer in */
19 /* the documentation and/or other materials provided with the distribution. */
20 /* */
21 /* Neither the name of Rexx Language Association nor the names */
22 /* of its contributors may be used to endorse or promote products */
23 /* derived from this software without specific prior written permission. */
24 /* */
25 /* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS */
26 /* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT */
27 /* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS */
28 /* FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT */
29 /* OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, */
30 /* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED */
31 /* TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, */
32 /* OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY */
33 /* OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING */
34 /* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS */
35 /* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */
36 /* */
37 /*----------------------------------------------------------------------------*/
38 /******************************************************************************/
39 /* REXX Kernel RexxConstants.hpp */
40 /* */
41 /* Global Object REXX constants */
42 /* */
43 /******************************************************************************/
44 #ifndef Included_RexxConstants
45 #define Included_RexxConstants
46  /* macros for dual definition */
47  /* and external prototyping */
48 #ifdef DEFINING
49 #define CONSTCLASS
50 #define INIT
51 #define INITIAL(x) =x
52 #else
53 #define CONSTCLASS extern
54 #undef INIT
55 #define INITIAL(x)
56 #endif
57 
58 #define CHARCONSTANT(name, value) CONSTCLASS char CHAR_##name[] INITIAL(value)
59 
60 CHARCONSTANT(ACTIVITY, "ACTIVITY");
61 CHARCONSTANT(ACTIVATE, "ACTIVATE");
62 CHARCONSTANT(ADD, "ADD");
63 CHARCONSTANT(ADDCLASS, "ADDCLASS");
64 CHARCONSTANT(ADDROUTINE, "ADDROUTINE");
65 CHARCONSTANT(ADDPUBLICCLASS, "ADDPUBLICCLASS");
66 CHARCONSTANT(ADDPUBLICROUTINE, "ADDPUBLICROUTINE");
67 CHARCONSTANT(ADDPACKAGE, "ADDPACKAGE");
68 CHARCONSTANT(ADDITIONAL, "ADDITIONAL");
69 CHARCONSTANT(ALLAT, "ALLAT");
70 CHARCONSTANT(ALLINDEX, "ALLINDEX");
71 CHARCONSTANT(ALLINDEXES, "ALLINDEXES");
72 CHARCONSTANT(ALLITEMS, "ALLITEMS");
73 CHARCONSTANT(ANY, "ANY");
74 CHARCONSTANT(APPEND, "APPEND");
75 CHARCONSTANT(ARGUMENTS, "ARGUMENTS");
76 CHARCONSTANT(ARRAY, "ARRAY");
77 CHARCONSTANT(ARGS, "ARGS");
78 CHARCONSTANT(ARRAYSYM, "ARRAY");
79 CHARCONSTANT(AT, "AT");
80 CHARCONSTANT(ATTRIBUTE, "ATTRIBUTE");
81 CHARCONSTANT(AUTO, "AUTO");
82 CHARCONSTANT(AVAILABLE, "AVAILABLE");
83 CHARCONSTANT(BAD, "BAD");
84 CHARCONSTANT(BASECLASS, "BASECLASS");
85 CHARCONSTANT(BOOLEAN, "BOOLEAN");
86 CHARCONSTANT(BLANK, " ");
87 CHARCONSTANT(BUFFER, "BUFFER");
88 CHARCONSTANT(BYTE, "BYTE");
89 CHARCONSTANT(CALL, "CALL");
90 CHARCONSTANT(CALLWITH, "CALLWITH");
91 CHARCONSTANT(CASELESSCOMPARETO, "CASELESSCOMPARETO");
92 CHARCONSTANT(CASELESSCOMPARE, "CASELESSCOMPARE");
93 CHARCONSTANT(CASELESSEQUALS, "CASELESSEQUALS");
94 CHARCONSTANT(CASELESSLASTPOS, "CASELESSLASTPOS");
95 CHARCONSTANT(CASELESSMATCH, "CASELESSMATCH");
96 CHARCONSTANT(CASELESSMATCHCHAR, "CASELESSMATCHCHAR");
97 CHARCONSTANT(CASELESSPOS, "CASELESSPOS");
98 CHARCONSTANT(CHAR, "CHAR");
99 CHARCONSTANT(CLASS, "CLASS");
100 CHARCONSTANT(CLASSES, "CLASSES");
101 CHARCONSTANT(CLAUSER, "CLAUSER");
102 CHARCONSTANT(CLOSE, "CLOSE");
103 CHARCONSTANT(CODE, "CODE");
104 CHARCONSTANT(COMMAND, "COMMAND");
105 CHARCONSTANT(COMMANDS, "COMMANDS");
106 CHARCONSTANT(COMMON_RETRIEVERS, "COMMON_RETRIEVERS");
107 CHARCONSTANT(COMPARETO, "COMPARETO");
108 CHARCONSTANT(COMPARABLE, "COMPARABLE");
109 CHARCONSTANT(COMPLETED, "COMPLETED");
110 CHARCONSTANT(CONDITION, "CONDITION");
111 CHARCONSTANT(CONSTANT, "CONSTANT");
112 CHARCONSTANT(CONTEXT, "CONTEXT");
113 CHARCONSTANT(CONTINUE, "CONTINUE");
114 CHARCONSTANT(COPY, "COPY");
115 CHARCONSTANT(CSELF, "CSELF");
116 CHARCONSTANT(DEBUGINPUT, "DEBUGINPUT");
117 CHARCONSTANT(DECODEBASE64, "DECODEBASE64");
118 CHARCONSTANT(DEFAULTNAME, "DEFAULTNAME");
119 CHARCONSTANT(DEFINE, "DEFINE");
120 CHARCONSTANT(DEFINEDMETHODS, "DEFINEDMETHODS");
121 CHARCONSTANT(DEFINE_METHODS, "!DEFINE_METHODS");
122 CHARCONSTANT(DELAY, "DELAY");
123 CHARCONSTANT(DELETE, "DELETE");
124 CHARCONSTANT(DESCRIPTION, "DESCRIPTION");
125 CHARCONSTANT(DIMENSION, "DIMENSION");
126 CHARCONSTANT(DIRECTORY, "DIRECTORY");
127 CHARCONSTANT(DOUBLE, "DOUBLE");
128 CHARCONSTANT(EMPTY, "EMPTY");
129 CHARCONSTANT(ENCODEBASE64, "ENCODEBASE64");
130 CHARCONSTANT(ENCODING, "ENCODING");
131 CHARCONSTANT(ENDLOCAL, "ENDLOCAL");
132 CHARCONSTANT(ENGINEERING, "ENGINEERING");
133 CHARCONSTANT(ENHANCED, "ENHANCED");
134 CHARCONSTANT(ENTRY, "ENTRY");
135 CHARCONSTANT(ENVELOPE, "ENVELOPE");
136 CHARCONSTANT(ENVIRONMENT, "ENVIRONMENT");
137 CHARCONSTANT(ERROR, "ERROR");
138 CHARCONSTANT(EQUALS, "EQUALS");
139 CHARCONSTANT(ERRORTEXT, "ERRORTEXT");
140 CHARCONSTANT(ERRORCONDITION, "ERRORCONDITION");
141 CHARCONSTANT(EXECUTABLE, "EXECUTABLE");
142 CHARCONSTANT(EXCEPTION, "EXCEPTION");
143 CHARCONSTANT(EXIT, "EXIT");
144 CHARCONSTANT(EXMODE, "EXMODE");
145 CHARCONSTANT(EXTENSION, "EXTENSION");
146 CHARCONSTANT(EXTERNAL, "EXTERNAL");
147 CHARCONSTANT(FAILURENAME, "FAILURE");
148 CHARCONSTANT(FALSE, "FALSE");
149 CHARCONSTANT(FILE, "FILE");
150 CHARCONSTANT(FILESYSTEM, "FILESYSTEM");
151 CHARCONSTANT(FINDCLASS, "FINDCLASS");
152 CHARCONSTANT(FINDROUTINE, "FINDROUTINE");
153 CHARCONSTANT(FIRST, "FIRST");
154 CHARCONSTANT(FIRSTITEM, "FIRSTITEM");
155 CHARCONSTANT(FORWARD, "FORWARD");
156 CHARCONSTANT(FUNCTIONNAME, "FUNCTION");
157 CHARCONSTANT(FUNCTIONS, "FUNCTIONS");
158 CHARCONSTANT(GUARDED, "GUARDED");
159 CHARCONSTANT(GET, "GET");
160 CHARCONSTANT(GETBUFFERSIZE, "GETBUFFERSIZE");
161 CHARCONSTANT(GETDEFINEDMETHODS, "GETDEFINEDMETHODS");
162 CHARCONSTANT(GLOBAL_STRINGS, "GLOBAL_STRINGS");
163 CHARCONSTANT(HALT, "HALT");
164 CHARCONSTANT(HASENTRY, "HASENTRY");
165 CHARCONSTANT(HASERROR, "HASERROR");
166 CHARCONSTANT(HASINDEX, "HASINDEX");
167 CHARCONSTANT(HASITEM, "HASITEM");
168 CHARCONSTANT(HASMETHOD, "HASMETHOD");
169 CHARCONSTANT(ID, "ID");
170 CHARCONSTANT(IDENTITYTABLE, "IDENTITYTABLE");
171 CHARCONSTANT(IMPORTEDCLASSES, "IMPORTEDCLASSES");
172 CHARCONSTANT(IMPORTEDPACKAGES, "IMPORTEDPACKAGES");
173 CHARCONSTANT(IMPORTEDROUTINES, "IMPORTEDROUTINES");
174 CHARCONSTANT(INDEX, "INDEX");
175 CHARCONSTANT(INHERIT, "INHERIT");
176 CHARCONSTANT(INITINSTANCE, "INITINSTANCE");
177 CHARCONSTANT(INIT, "INIT");
178 CHARCONSTANT(INIT_EXTENDED, "INIT_EXTENDED");
180 CHARCONSTANT(INPUT, "INPUT");
181 CHARCONSTANT(INSTANCEMETHOD, "INSTANCEMETHOD");
182 CHARCONSTANT(INSTANCEMETHODS, "INSTANCEMETHODS");
183 CHARCONSTANT(INSTRUCTION, "INSTRUCTION");
184 CHARCONSTANT(INTERNALNAME, "INTERNALNAME");
185 CHARCONSTANT(INTEGER, "INTEGER");
186 CHARCONSTANT(ISA, "ISA");
187 CHARCONSTANT(ISABSTRACT, "ISABSTRACT");
188 CHARCONSTANT(ISASCII, "ISASCII");
189 CHARCONSTANT(ISBYTE, "ISBYTE");
190 CHARCONSTANT(ISCOMPATIBLEWITHBYTESTRING, "ISCOMPATIBLEWITHBYTESTRING");
191 CHARCONSTANT(ISEMPTY, "ISEMPTY");
192 CHARCONSTANT(ISGUARDED, "ISGUARDED");
193 CHARCONSTANT(ISMETACLASS, "ISMETACLASS");
194 CHARCONSTANT(ISNIL, "ISNIL");
195 CHARCONSTANT(ISNULL, "ISNULL");
196 CHARCONSTANT(ISPRIVATE, "ISPRIVATE");
197 CHARCONSTANT(ISPROTECTED, "ISPROTECTED");
198 CHARCONSTANT(ISSUBCLASSOF, "ISSUBCLASSOF");
199 CHARCONSTANT(ISINSTANCEOF, "ISINSTANCEOF");
200 CHARCONSTANT(ITEM, "ITEM");
201 CHARCONSTANT(ITEMS, "ITEMS");
202 CHARCONSTANT(KERNEL, "KERNEL");
203 CHARCONSTANT(KIND, "KIND");
204 CHARCONSTANT(LAST, "LAST");
205 CHARCONSTANT(LASTITEM, "LASTITEM");
206 CHARCONSTANT(LIBRARY, "LIBRARY");
207 CHARCONSTANT(LIST, "LIST");
208 CHARCONSTANT(LIT, "LIT");
209 CHARCONSTANT(LOCAL, "LOCAL");
210 CHARCONSTANT(LOADPACKAGE, "LOADPACKAGE");
211 CHARCONSTANT(LOSTDIGITS, "LOSTDIGITS");
212 CHARCONSTANT(MACROSPACE, "MACROSPACE");
213 CHARCONSTANT(MAKE, "MAKE");
214 CHARCONSTANT(MAKEARRAY, "MAKEARRAY");
215 CHARCONSTANT(MAKEINTEGER, "MAKEINTEGER");
216 CHARCONSTANT(MAKESTRING, "MAKESTRING");
217 CHARCONSTANT(MAPCOLLECTION, "MAPCOLLECTION");
218 CHARCONSTANT(MATCH, "MATCH");
219 CHARCONSTANT(MATCHCHAR, "MATCHCHAR");
220 CHARCONSTANT(MEMORY, "MEMORY");
221 CHARCONSTANT(MERGE, "MERGE");
222 CHARCONSTANT(MESSAGE, "MESSAGE");
223 CHARCONSTANT(MESSAGENAME, "MESSAGENAME");
224 CHARCONSTANT(METACLASS, "METACLASS");
225 CHARCONSTANT(METHOD, "METHOD");
226 CHARCONSTANT(METHODNAME, "METHOD");
227 CHARCONSTANT(METHODS, "METHODS");
228 CHARCONSTANT(MIXINCLASS, "MIXINCLASS");
229 CHARCONSTANT(DYNAMICTARGET, "DYNAMICTARGET");
230 CHARCONSTANT(MUTABLEBUFFER, "MUTABLEBUFFER");
232 CHARCONSTANT(NAME_STRINGS, "NAME_STRINGS");
233 CHARCONSTANT(NAMED, "NAMED");
234 CHARCONSTANT(Named, "Named");
235 CHARCONSTANT(named, "named");
236 CHARCONSTANT(NAMEDARGS, "NAMEDARGS");
237 CHARCONSTANT(NAMEDARGUMENTS, "NAMEDARGUMENTS");
238 CHARCONSTANT(NEW, "NEW");
239 CHARCONSTANT(NEWFILE, "NEWFILE");
240 CHARCONSTANT(NEXT, "NEXT");
241 CHARCONSTANT(NIL, "NIL");
242 CHARCONSTANT(NMETHOD, "NMETHOD");
243 CHARCONSTANT(NOCOMMANDS, "NOCOMMANDS");
244 CHARCONSTANT(NOEXMODE, "NOEXMODE");
245 CHARCONSTANT(NOMACROSPACE, "NOMACROSPACE");
246 CHARCONSTANT(NOMETHOD, "NOMETHOD");
247 CHARCONSTANT(NONE, "<none>");
248 CHARCONSTANT(NORMAL, "NORMAL");
249 CHARCONSTANT(NOSTRING, "NOSTRING");
250 CHARCONSTANT(NOTIFY, "NOTIFY");
251 CHARCONSTANT(NOVALUE, "NOVALUE");
252 CHARCONSTANT(NULLARRAY, "NULLARRAY");
253 CHARCONSTANT(NULLPOINTER, "NULLPOINTER");
254 CHARCONSTANT(NULLSTRING, "");
255 CHARCONSTANT(NUMBERSTRING, "NUMBERSTRING");
256 CHARCONSTANT(NUMERIC, "NUMERIC");
257 CHARCONSTANT(OBJECTSYM, "OBJECT");
258 CHARCONSTANT(OBJECTNAMEEQUALS, "OBJECTNAME=");
259 CHARCONSTANT(OBJECTNAME, "OBJECTNAME");
260 CHARCONSTANT(OF, "OF");
261 CHARCONSTANT(OFF, "OFF");
262 CHARCONSTANT(ON, "ON");
263 CHARCONSTANT(ORDEREDCOLLECTION, "ORDEREDCOLLECTION");
264 CHARCONSTANT(OUTPUT, "OUTPUT");
265 CHARCONSTANT(PACKAGE, "PACKAGE");
266 CHARCONSTANT(PARSE, "PARSE");
267 CHARCONSTANT(PARENTCONTEXT, "PARENTCONTEXT");
268 CHARCONSTANT(PEEK, "PEEK");
269 CHARCONSTANT(PERIOD, ".");
270 CHARCONSTANT(POINTER, "POINTER");
271 CHARCONSTANT(POSITION, "POSITION");
272 CHARCONSTANT(POSITIONAL, "POSITIONAL");
273 CHARCONSTANT(Positional, "Positional");
274 CHARCONSTANT(positional, "positional");
275 CHARCONSTANT(PREVIOUS, "PREVIOUS");
276 CHARCONSTANT(PROGRAM, "PROGRAM");
277 CHARCONSTANT(PROPAGATE, "PROPAGATE");
278 CHARCONSTANT(PROPAGATED, "PROPAGATED");
279 CHARCONSTANT(PROTECTED, "PROTECTED");
280 CHARCONSTANT(PUBLIC, "PUBLIC");
281 CHARCONSTANT(PUBLICCLASSES, "PUBLICCLASSES");
282 CHARCONSTANT(PUBLICROUTINES, "PUBLICROUTINES");
283 CHARCONSTANT(PUT, "PUT");
284 CHARCONSTANT(QUALIFY, "QUALIFY");
285 CHARCONSTANT(QUEUE, "QUEUE");
286 CHARCONSTANT(QUEUEEXIT, "!QUEUEEXIT");
287 CHARCONSTANT(QUERYMIXINCLASS, "QUERYMIXINCLASS");
288 CHARCONSTANT(QUERY, "QUERY");
289 CHARCONSTANT(RAWEXECUTABLE, "RAWEXECUTABLE");
290 CHARCONSTANT(RC, "RC");
291 CHARCONSTANT(RECLAIM, "RECLAIM");
292 CHARCONSTANT(REGISTERED, "REGISTERED");
293 CHARCONSTANT(RELATION, "RELATION");
294 CHARCONSTANT(REMOVE, "REMOVE");
295 CHARCONSTANT(REMOVEITEM, "REMOVEITEM");
296 CHARCONSTANT(REPLACEAT, "REPLACEAT");
297 CHARCONSTANT(REQUEST, "REQUEST");
298 CHARCONSTANT(REQUIRES, "REQUIRES");
299 CHARCONSTANT(RESULT, "RESULT");
300 CHARCONSTANT(REXXCONTEXT, "REXXCONTEXT");
301 CHARCONSTANT(REXXBLOCK, "REXXBLOCK");
302 CHARCONSTANT(REXXTEXT, "REXXTEXT");
303 CHARCONSTANT(REXX, "REXX");
304 CHARCONSTANT(REXXQUEUE, "STDQUE");
305 CHARCONSTANT(REXXUTIL, "rexxutil"); // NB: lower case for unix
306 CHARCONSTANT(ROUTINE, "ROUTINE");
307 CHARCONSTANT(ROUTINES, "ROUTINES");
308 CHARCONSTANT(ROUTINENAME, "SUBROUTINE");
309 CHARCONSTANT(RS, "RS");
310 CHARCONSTANT(RUN, "RUN");
311 CHARCONSTANT(RUNUNINIT, "RUNUNINIT");
312 CHARCONSTANT(RXFUNCADD, "RXFUNCADD");
313 CHARCONSTANT(RXFUNCDROP, "RXFUNCDROP");
314 CHARCONSTANT(RXFUNCQUERY, "RXFUNCQUERY");
315 CHARCONSTANT(SCIENTIFIC, "SCIENTIFIC");
316 CHARCONSTANT(SCRIPT, "SCRIPT");
317 CHARCONSTANT(SECURITYMANAGER, "SECURITYMANAGER");
318 CHARCONSTANT(SECTION, "SECTION");
319 CHARCONSTANT(SELF, "SELF");
320 CHARCONSTANT(SEND, "SEND");
321 CHARCONSTANT(SEQUENCE, "SEQUENCE");
322 CHARCONSTANT(SERVER, "SERVER");
323 CHARCONSTANT(SESSION, "SESSION");
325 CHARCONSTANT(SETARGS, "SETARGS");
326 CHARCONSTANT(SETBUFFERSIZE, "SETBUFFERSIZE");
327 CHARCONSTANT(SETDUMP, "SETDUMP");
328 CHARCONSTANT(SETENCODING, "SETENCODING");
329 CHARCONSTANT(SETENTRY, "SETENTRY");
330 CHARCONSTANT(SETGUARDED, "SETGUARDED");
331 CHARCONSTANT(SETINTERFACE, "SETINTERFACE");
332 CHARCONSTANT(SETLOCAL, "SETLOCAL");
333 CHARCONSTANT(SETMETHOD, "SETMETHOD");
334 CHARCONSTANT(SETPARMS, "SETPARMS");
335 CHARCONSTANT(SETPRIVATE, "SETPRIVATE");
336 CHARCONSTANT(SETPROTECTED, "SETPROTECTED");
337 CHARCONSTANT(SETSECURITYMANAGER, "SETSECURITYMANAGER");
338 CHARCONSTANT(SETUNGUARDED, "SETUNGUARDED");
339 CHARCONSTANT(SHRIEKREXXDEFINED, "!REXXDEFINED");
340 CHARCONSTANT(SHRIEK_DISPATCH, "!DISPATCH");
341 CHARCONSTANT(SIGL, "SIGL");
342 CHARCONSTANT(SIGNAL, "SIGNAL");
343 CHARCONSTANT(SIZE, "SIZE");
344 CHARCONSTANT(SORT, "SORT");
345 CHARCONSTANT(SORTWITH, "SORTWITH");
346 CHARCONSTANT(SOURCE, "SOURCE");
347 CHARCONSTANT(STABLESORT, "STABLESORT");
348 CHARCONSTANT(STABLESORTWITH, "STABLESORTWITH");
349 CHARCONSTANT(START, "START");
350 CHARCONSTANT(STARTAT, "STARTAT");
351 CHARCONSTANT(STATE, "STATE");
352 CHARCONSTANT(STATS, "STATS");
353 CHARCONSTANT(STDIN, "STDIN");
354 CHARCONSTANT(STDERR, "STDERR");
355 CHARCONSTANT(STDOUT, "STDOUT");
356 CHARCONSTANT(TRANSFORMSOURCE, "TRANSFORMSOURCE");
357 CHARCONSTANT(CSTDIN, "STDIN:"); /* standard streams with colon */
358 CHARCONSTANT(CSTDERR, "STDERR:"); /* standard streams with colon */
359 CHARCONSTANT(CSTDOUT, "STDOUT:"); /* standard streams with colon */
360 CHARCONSTANT(STACKFRAMES, "STACKFRAMES");
362 CHARCONSTANT(STREAMS, "STREAMS");
363 CHARCONSTANT(STRICT, "STRICT");
364 CHARCONSTANT(STRING, "STRING");
365 CHARCONSTANT(STRINGSYM, "STRING");
366 CHARCONSTANT(SUBCLASS, "SUBCLASS");
367 CHARCONSTANT(SUBCLASSES, "SUBCLASSES");
368 CHARCONSTANT(SUBROUTINE, "SUBROUTINE");
369 CHARCONSTANT(SUPER, "SUPER");
370 CHARCONSTANT(SUPERCLASS, "SUPERCLASS");
371 CHARCONSTANT(SUPERCLASSES, "SUPERCLASSES");
372 CHARCONSTANT(SUPPLIER, "SUPPLIER");
373 CHARCONSTANT(SYNTAX, "SYNTAX");
374 CHARCONSTANT(SYSTEM, "SYSTEM");
375 CHARCONSTANT(TABLE, "TABLE");
376 CHARCONSTANT(TARGET, "TARGET");
377 CHARCONSTANT(TEXT, "TEXT");
378 CHARCONSTANT(THREADLOCAL, "THREADLOCAL");
379 CHARCONSTANT(TOKENIZE_ONLY, "//T");
380 CHARCONSTANT(TODIRECTORY, "TODIRECTORY");
381 CHARCONSTANT(TOSTRING, "TOSTRING");
382 CHARCONSTANT(TRACEBACK, "TRACEBACK");
383 CHARCONSTANT(TRACE_is_dropped, "is dropped");
384 CHARCONSTANT(TRACEOUTPUT, "TRACEOUTPUT");
385 CHARCONSTANT(TRANSLATE, "TRANSLATE");
386 CHARCONSTANT(TRUE, "TRUE");
387 CHARCONSTANT(UNGUARDED, "UNGUARDED");
388 CHARCONSTANT(UNICODE, "UNICODE");
389 CHARCONSTANT(UNINHERIT, "UNINHERIT");
390 CHARCONSTANT(UNINIT, "UNINIT");
391 CHARCONSTANT(UNKNOWN, "UNKNOWN");
392 CHARCONSTANT(UNKNOWNDISABLED, "UNKNOWNDISABLED");
393 CHARCONSTANT(UNPACK, "UNPACK");
394 CHARCONSTANT(UNPROTECTED, "UNPROTECTED");
395 CHARCONSTANT(UNSETMETHOD, "UNSETMETHOD");
396 CHARCONSTANT(USER_BLANK, "USER ");
397 CHARCONSTANT(USERID, "USERID");
398 CHARCONSTANT(VALUES, "VALUES");
399 CHARCONSTANT(VAR, "VAR");
400 CHARCONSTANT(VARIABLE, "VARIABLE");
401 CHARCONSTANT(VARIABLES, "VARIABLES");
402 CHARCONSTANT(VERSION, "VERSION");
403 CHARCONSTANT(WEAKREFERENCE, "WEAKREFERENCE");
404 
405 
406 /* Language operators */
407 
408 CHARCONSTANT(AND, "&");
409 CHARCONSTANT(ASSIGNMENT_AND, "&=");
410 CHARCONSTANT(BACKSLASH, "\\");
411 CHARCONSTANT(BACKSLASH_EQUAL, "\\=");
412 CHARCONSTANT(BACKSLASH_GREATERTHAN, "\\>");
413 CHARCONSTANT(BACKSLASH_LESSTHAN, "\\<");
414 CHARCONSTANT(TILDE_ROUND_BRACKETS, "~()");
415 CHARCONSTANT(ROUND_BRACKETS, "()");
416 CHARCONSTANT(BRACKETS, "[]");
417 CHARCONSTANT(BRACKETSEQUAL, "[]=");
418 CHARCONSTANT(CONCATENATE, "||");
419 CHARCONSTANT(ASSIGNMENT_CONCATENATE, "||=");
420 CHARCONSTANT(DIVIDE, "/");
421 CHARCONSTANT(ASSIGNMENT_DIVIDE, "/=");
422 CHARCONSTANT(EQUAL, "=");
423 CHARCONSTANT(GREATERTHAN, ">");
424 CHARCONSTANT(GREATERTHAN_EQUAL, ">=");
425 CHARCONSTANT(GREATERTHAN_LESSTHAN, "><");
426 CHARCONSTANT(INTDIV, "%");
427 CHARCONSTANT(ASSIGNMENT_INTDIV, "%=");
428 CHARCONSTANT(LESSTHAN, "<");
429 CHARCONSTANT(LESSTHAN_EQUAL, "<=");
430 CHARCONSTANT(LESSTHAN_GREATERTHAN, "<>");
431 CHARCONSTANT(MULTIPLY, "*");
432 CHARCONSTANT(ASSIGNMENT_MULTIPLY, "*=");
433 CHARCONSTANT(OR, "|");
434 CHARCONSTANT(ASSIGNMENT_OR, "|=");
435 CHARCONSTANT(PLUS, "+");
436 CHARCONSTANT(ASSIGNMENT_PLUS, "+=");
437 CHARCONSTANT(POWER, "**");
438 CHARCONSTANT(ASSIGNMENT_POWER, "**=");
439 CHARCONSTANT(REMAINDER, "//");
440 CHARCONSTANT(ASSIGNMENT_REMAINDER, "//=");
441 CHARCONSTANT(STRICT_BACKSLASH_EQUAL, "\\==");
442 CHARCONSTANT(STRICT_BACKSLASH_GREATERTHAN, "\\>>");
443 CHARCONSTANT(STRICT_BACKSLASH_LESSTHAN, "\\<<");
444 CHARCONSTANT(STRICT_EQUAL, "==");
445 CHARCONSTANT(STRICT_GREATERTHAN, ">>");
446 CHARCONSTANT(STRICT_GREATERTHAN_EQUAL, ">>=");
447 CHARCONSTANT(STRICT_LESSTHAN, "<<");
448 CHARCONSTANT(STRICT_LESSTHAN_EQUAL, "<<=");
449 CHARCONSTANT(SUBTRACT, "-");
450 CHARCONSTANT(ASSIGNMENT_SUBTRACT, "-=");
451 CHARCONSTANT(XOR, "&&");
452 CHARCONSTANT(ASSIGNMENT_XOR, "&&=");
453 CHARCONSTANT(ELLIPSIS, "...");
454 
455 
456 /* Alternative operators */
457 
458 CHARCONSTANT(AND_RIGHT, "&OP:RIGHT");
459 CHARCONSTANT(BACKSLASH_RIGHT, "\\OP:RIGHT");
460 CHARCONSTANT(BACKSLASH_EQUAL_RIGHT, "\\=OP:RIGHT");
461 CHARCONSTANT(BACKSLASH_GREATERTHAN_RIGHT, "\\>OP:RIGHT");
462 CHARCONSTANT(BACKSLASH_LESSTHAN_RIGHT, "\\<OP:RIGHT");
463 CHARCONSTANT(BLANK_RIGHT, " OP:RIGHT");
464 CHARCONSTANT(CONCATENATE_RIGHT, "||OP:RIGHT");
465 CHARCONSTANT(DIVIDE_RIGHT, "/OP:RIGHT");
466 CHARCONSTANT(EQUAL_RIGHT, "=OP:RIGHT");
467 CHARCONSTANT(GREATERTHAN_RIGHT, ">OP:RIGHT");
468 CHARCONSTANT(GREATERTHAN_EQUAL_RIGHT, ">=OP:RIGHT");
469 CHARCONSTANT(GREATERTHAN_LESSTHAN_RIGHT, "><OP:RIGHT");
470 CHARCONSTANT(INTDIV_RIGHT, "%OP:RIGHT");
471 CHARCONSTANT(LESSTHAN_RIGHT, "<OP:RIGHT");
472 CHARCONSTANT(LESSTHAN_EQUAL_RIGHT, "<=OP:RIGHT");
473 CHARCONSTANT(LESSTHAN_GREATERTHAN_RIGHT, "<>OP:RIGHT");
474 CHARCONSTANT(MULTIPLY_RIGHT, "*OP:RIGHT");
475 CHARCONSTANT(NULLSTRING_RIGHT, "OP:RIGHT");
476 CHARCONSTANT(OR_RIGHT, "|OP:RIGHT");
477 CHARCONSTANT(PLUS_LEFT, "+OP:LEFT");
478 CHARCONSTANT(PLUS_RIGHT, "+OP:RIGHT");
479 CHARCONSTANT(POWER_RIGHT, "**OP:RIGHT");
480 CHARCONSTANT(REMAINDER_RIGHT, "//OP:RIGHT");
481 CHARCONSTANT(STRICT_BACKSLASH_EQUAL_RIGHT, "\\==OP:RIGHT");
482 CHARCONSTANT(STRICT_BACKSLASH_GREATERTHAN_RIGHT, "\\>>OP:RIGHT");
483 CHARCONSTANT(STRICT_BACKSLASH_LESSTHAN_RIGHT, "\\<<OP:RIGHT");
484 CHARCONSTANT(STRICT_EQUAL_RIGHT, "==OP:RIGHT");
485 CHARCONSTANT(STRICT_GREATERTHAN_RIGHT, ">>OP:RIGHT");
486 CHARCONSTANT(STRICT_GREATERTHAN_EQUAL_RIGHT, ">>=OP:RIGHT");
487 CHARCONSTANT(STRICT_LESSTHAN_RIGHT, "<<OP:RIGHT");
488 CHARCONSTANT(STRICT_LESSTHAN_EQUAL_RIGHT, "<<=OP:RIGHT");
489 CHARCONSTANT(SUBTRACT_LEFT, "-OP:LEFT");
490 CHARCONSTANT(SUBTRACT_RIGHT, "-OP:RIGHT");
491 CHARCONSTANT(XOR_RIGHT, "&&OP:RIGHT");
492 
493  /*now names for the builtin functions */
494 CHARCONSTANT(ABBREV, "ABBREV");
495 CHARCONSTANT(CASELESSABBREV, "CASELESSABBREV");
496 CHARCONSTANT(ABS, "ABS");
497 CHARCONSTANT(ABSTRACT, "ABSTRACT");
498 CHARCONSTANT(ADDRESS, "ADDRESS");
499 CHARCONSTANT(ARG, "ARG");
500 CHARCONSTANT(B2X, "B2X");
501 CHARCONSTANT(BITAND, "BITAND");
502 CHARCONSTANT(BITOR, "BITOR");
503 CHARCONSTANT(BITXOR, "BITXOR");
504 CHARCONSTANT(C2D, "C2D");
505 CHARCONSTANT(C2X, "C2X");
506 CHARCONSTANT(CENTER, "CENTER");
507 CHARCONSTANT(CENTRE, "CENTRE");
508 CHARCONSTANT(CHANGESTR, "CHANGESTR");
509 CHARCONSTANT(CASELESSCHANGESTR, "CASELESSCHANGESTR");
510 CHARCONSTANT(CHARIN, "CHARIN");
511 CHARCONSTANT(CHAROUT, "CHAROUT");
512 CHARCONSTANT(CHARS, "CHARS");
513 CHARCONSTANT(COMPARE, "COMPARE");
514 CHARCONSTANT(COPIES, "COPIES");
515 CHARCONSTANT(COUNTSTR, "COUNTSTR");
516 CHARCONSTANT(CASELESSCOUNTSTR, "CASELESSCOUNTSTR");
517 CHARCONSTANT(D2C, "D2C");
518 CHARCONSTANT(D2X, "D2X");
519 CHARCONSTANT(DATATYPE, "DATATYPE");
520 CHARCONSTANT(DATE, "DATE");
521 CHARCONSTANT(DELSTR, "DELSTR");
522 CHARCONSTANT(DELWORD, "DELWORD");
523 CHARCONSTANT(DIGITS, "DIGITS");
524 CHARCONSTANT(FORM, "FORM");
525 CHARCONSTANT(FORMAT, "FORMAT");
526 CHARCONSTANT(FUZZ, "FUZZ");
527 CHARCONSTANT(HASHCODE, "HASHCODE");
528 CHARCONSTANT(IDENTITYHASH, "IDENTITYHASH");
529 CHARCONSTANT(INSERT, "INSERT");
530 CHARCONSTANT(LASTPOS, "LASTPOS");
531 CHARCONSTANT(LEFT, "LEFT");
532 CHARCONSTANT(LENGTH, "LENGTH");
533 CHARCONSTANT(LINEIN, "LINEIN");
534 CHARCONSTANT(LINEOUT, "LINEOUT");
535 CHARCONSTANT(LINES, "LINES");
536 CHARCONSTANT(LINE, "LINE");
537 CHARCONSTANT(ORXMAX, "MAX");
538 CHARCONSTANT(ORXMIN, "MIN");
539 CHARCONSTANT(OVERLAY, "OVERLAY");
540 CHARCONSTANT(POS, "POS");
541 CHARCONSTANT(QUEUED, "QUEUED");
542 CHARCONSTANT(RANDOM, "RANDOM");
543 CHARCONSTANT(REVERSE, "REVERSE");
544 CHARCONSTANT(RIGHT, "RIGHT");
545 CHARCONSTANT(SAY, "SAY");
546 CHARCONSTANT(SIGN, "SIGN");
547 CHARCONSTANT(SOURCELINE, "SOURCELINE");
548 CHARCONSTANT(SOURCESIZE, "SOURCESIZE");
549 CHARCONSTANT(SPACE, "SPACE");
550 CHARCONSTANT(STREAM, "STREAM");
551 CHARCONSTANT(STRIP, "STRIP");
552 CHARCONSTANT(SUBCHAR, "SUBCHAR");
553 CHARCONSTANT(SUBSTR, "SUBSTR");
554 CHARCONSTANT(SUBWORD, "SUBWORD");
555 CHARCONSTANT(SYMBOL, "SYMBOL");
556 CHARCONSTANT(TIME, "TIME");
557 CHARCONSTANT(TRACE, "TRACE");
558 CHARCONSTANT(TRUNC, "TRUNC");
559 CHARCONSTANT(VALUE, "VALUE");
560 CHARCONSTANT(VERIFY, "VERIFY");
561 CHARCONSTANT(WORD, "WORD");
562 CHARCONSTANT(WORDINDEX, "WORDINDEX");
563 CHARCONSTANT(WORDLENGTH, "WORDLENGTH");
564 CHARCONSTANT(WORDPOS, "WORDPOS");
565 CHARCONSTANT(CASELESSWORDPOS, "CASELESSWORDPOS");
566 CHARCONSTANT(WORDS, "WORDS");
567 CHARCONSTANT(X2B, "X2B");
568 CHARCONSTANT(X2C, "X2C");
569 CHARCONSTANT(X2D, "X2D");
570 CHARCONSTANT(XRANGE, "XRANGE");
571 
572 
573 
574  /* Now KEYWORD string constants */
575 
576 CHARCONSTANT(BY, "BY");
577 CHARCONSTANT(CASELESS, "CASELESS");
578 CHARCONSTANT(DO, "DO");
579 CHARCONSTANT(DROP, "DROP");
580 CHARCONSTANT(ELSE, "ELSE");
581 CHARCONSTANT(END, "END");
582 CHARCONSTANT(EXPOSE, "EXPOSE");
583 CHARCONSTANT(FAILURE, "FAILURE");
584 CHARCONSTANT(FOR, "FOR");
585 CHARCONSTANT(FOREVER, "FOREVER");
586 CHARCONSTANT(GUARD, "GUARD");
587 CHARCONSTANT(IF, "IF");
588 CHARCONSTANT(INTERPRET, "INTERPRET");
589 CHARCONSTANT(ITERATE, "ITERATE");
590 CHARCONSTANT(PULL, "PULL");
591 CHARCONSTANT(PUSH, "PUSH");
592 CHARCONSTANT(LABEL, "LABEL");
593 CHARCONSTANT(LEAVE, "LEAVE");
594 CHARCONSTANT(LOOP, "LOOP");
595 CHARCONSTANT(LOWER, "LOWER");
596 CHARCONSTANT(NOP, "NOP");
597 CHARCONSTANT(NOTREADY, "NOTREADY");
598 CHARCONSTANT(OBJECT, "OBJECT");
599 CHARCONSTANT(OPTIONS, "OPTIONS");
600 CHARCONSTANT(OTHERWISE, "OTHERWISE");
601 CHARCONSTANT(OVER, "OVER");
602 CHARCONSTANT(PRIVATE, "PRIVATE");
603 CHARCONSTANT(PROCEDURE, "PROCEDURE");
604 CHARCONSTANT(RAISE, "RAISE");
605 CHARCONSTANT(REPLY, "REPLY");
606 CHARCONSTANT(RETURN, "RETURN");
607 CHARCONSTANT(SELECT, "SELECT");
608 CHARCONSTANT(THEN, "THEN");
609 CHARCONSTANT(TO, "TO");
610 CHARCONSTANT(UNTIL, "UNTIL");
611 CHARCONSTANT(UPPER, "UPPER");
612 CHARCONSTANT(USE, "USE");
613 CHARCONSTANT(USER, "USER");
614 CHARCONSTANT(WHEN, "WHEN");
615 CHARCONSTANT(WHILE, "WHILE");
616 CHARCONSTANT(WITH, "WITH");
617 
618 CHARCONSTANT(ZERO, "0");
619 
620 CHARCONSTANT(SIGTERM, "SIGTERM");
621 CHARCONSTANT(SIGINT, "SIGINT");
622 CHARCONSTANT(SIGHUP, "SIGHUP");
623 
624 CHARCONSTANT(PUBLIC_ROUTINES, "PUBLIC_ROUTINES"); /* Name for the directory that holds public routines */
625 #endif
#define INTERPRET
#define CHARCONSTANT(name, value)
@ START
Definition: RexxMisc.cpp:60
@ STEM
Definition: cmdparse.cpp:180
@ CONSTANT
Definition: cmdparse.cpp:177
void * BUFFER
Definition: oorexxapi.h:4330
void * CSELF
Definition: oorexxapi.h:4329
RexxClassObject SUPER
Definition: oorexxapi.h:4333
CSTRING NAME
Definition: oorexxapi.h:4334
#define SET
Definition: regexp.hpp:48
#define ANY
Definition: regexp.hpp:47
void * POINTER
Definition: rexx.h:79
#define SYSINITIALADDRESS
#define CASELESS
#define LOCAL