1 /**
2 * AUTOHIT 2003
3 * Copyright Erich P Gatejen (c) 1989,1997,2003,2004
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or (at
8 * your option) any later version.
9 * This program is distributed in the hope that it will be useful, but
10 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
11 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
12 * more details.
13 *
14 * You should have received a copy of the GNU General Public License along
15 * with this program; if not, write to the Free Software Foundation, Inc.,
16 * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17 *
18 * Additional license information can be found in the documentation.
19 * @author Erich P Gatejen
20 */
21 package autohit.common;
22
23 /**
24 * AUTOHIT wide constants
25 *
26 * @author Erich P. Gatejen
27 * @version 1.0
28 * <i>Version History</i>
29 * <code>EPG - Rewrite - 9Apr03
30 *
31 */
32 public class Constants {
33
34 /**
35 * Character tokens
36 */
37 public static final char VARIABLE = '$';
38 public static final char UNIOBJECT = '|';
39 public static final char BUFFER = '{';
40
41 public static final char SEPERATOR = '~';
42
43 public static final String EMPTY_LEFT = "";
44 public static final String ZERO = "0";
45 public static final String TRUE = "true";
46 public static final String FALSE ="false";
47 public static final String UNKNOWN ="UNKNOWN";
48
49 public static final String VM_GENERIC_NAME = "anon";
50
51 public static final int NO_OWNER = -1;
52
53 public static final int CLEAN_FREE_PCBS_THRESHOLD = 5;
54
55 public static final String CRUDE_SEPERATOR = "\n";
56
57 public static final char ANAMESPACE_SEPERATOR = '/';
58
59 public static final char MATH_PLUS = '+';
60 public static final char MATH_DIVIDE = '/';
61 public static final char MATH_MULTIPLY = '*';
62 public static final char MATH_MINUS = '-';
63
64 /**
65 * Configuration
66 */
67 public static final char CONFIG_OPEN = '{';
68 public static final char CONFIG_CLOSE = '}';
69 public static final char CONFIG_DIR = 'd';
70 public static final char CONFIG_COMMENT = '#';
71 public static final char CONFIG_CHKPNT = 'c';
72 public static final char CONFIG_CONFIG_YES = 'y';
73 public static final char CONFIG_CONFIG_NO = 'n';
74 public static final char CONFIG_BLANK = ' ';
75
76 public static final char CHAR_BACKSPACE = '\b'; /* \u0008: backspace BS */
77 public static final char CHAR_HTAB = '\t'; /* \u0009: horizontal tab HT */
78 public static final char CHAR_LF = '\n'; /* \u000a: linefeed LF */
79 public static final char CHAR_FF = '\f'; /* \u000c: form feed FF */
80 public static final char CHAR_CR = '\r'; /* \u000d: carriage return CR */
81 public static final char CHAR_DQUOTE = '\"'; /* \u0022: double quote " */
82 public static final char CHAR_SQUOTE = '\''; /* \u0027: single quote ' */
83 public static final char CHAR_BACKSLASH = '\\'; /* \u005c: backslash \ */
84
85
86 }
|