1 /* Digital Mars DMDScript source code.
2  * Copyright (c) 2000-2002 by Chromium Communications
3  * D version Copyright (c) 2004-2010 by Digital Mars
4  * Distributed under the Boost Software License, Version 1.0.
5  * (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
6  * written by Walter Bright
7  * http://www.digitalmars.com
8  *
9  * DMDScript is implemented in the D Programming Language,
10  * http://www.digitalmars.com/d/
11  *
12  * For a C++ implementation of DMDScript, including COM support, see
13  * http://www.digitalmars.com/dscript/cppscript.html
14  */
15 
16 
17 module dmdscript.text;
18 
19 
20 enum string TEXT_ = "";
21 enum string TEXT_source = "source";
22 enum string TEXT_global = "global";
23 enum string TEXT_ignoreCase = "ignoreCase";
24 enum string TEXT_multiline = "multiline";
25 enum string TEXT_lastIndex = "lastIndex";
26 enum string TEXT_input = "input";
27 enum string TEXT_lastMatch = "lastMatch";
28 enum string TEXT_lastParen = "lastParen";
29 enum string TEXT_leftContext = "leftContext";
30 enum string TEXT_rightContext = "rightContext";
31 enum string TEXT_prototype = "prototype";
32 enum string TEXT_constructor = "constructor";
33 enum string TEXT_toString = "toString";
34 enum string TEXT_toLocaleString = "toLocaleString";
35 enum string TEXT_toSource = "toSource";
36 enum string TEXT_valueOf = "valueOf";
37 enum string TEXT_message = "message";
38 enum string TEXT_description = "description";
39 enum string TEXT_Error = "Error";
40 enum string TEXT_name = "name";
41 enum string TEXT_length = "length";
42 enum string TEXT_NaN = "NaN";
43 enum string TEXT_Infinity = "Infinity";
44 enum string TEXT_negInfinity = "-Infinity";
45 enum string TEXT_bobjectb = "[object]";
46 enum string TEXT_undefined = "undefined";
47 enum string TEXT_null = "null";
48 enum string TEXT_true = "true";
49 enum string TEXT_false = "false";
50 enum string TEXT_object = "object";
51 enum string TEXT_string = "enum string";
52 enum string TEXT_number = "number";
53 enum string TEXT_boolean = "boolean";
54 enum string TEXT_Object = "Object";
55 enum string TEXT_String = "String";
56 enum string TEXT_Number = "Number";
57 enum string TEXT_Boolean = "Boolean";
58 enum string TEXT_Date = "Date";
59 enum string TEXT_Array = "Array";
60 enum string TEXT_RegExp = "RegExp";
61 enum string TEXT_arity = "arity";
62 enum string TEXT_arguments = "arguments";
63 enum string TEXT_callee = "callee";
64 enum string TEXT_caller = "caller";                  // extension
65 enum string TEXT_EvalError = "EvalError";
66 enum string TEXT_RangeError = "RangeError";
67 enum string TEXT_ReferenceError = "ReferenceError";
68 enum string TEXT_SyntaxError = "SyntaxError";
69 enum string TEXT_TypeError = "TypeError";
70 enum string TEXT_URIError = "URIError";
71 enum string TEXT_this = "this";
72 enum string TEXT_fromCharCode = "fromCharCode";
73 enum string TEXT_charAt = "charAt";
74 enum string TEXT_charCodeAt = "charCodeAt";
75 enum string TEXT_concat = "concat";
76 enum string TEXT_indexOf = "indexOf";
77 enum string TEXT_lastIndexOf = "lastIndexOf";
78 enum string TEXT_localeCompare = "localeCompare";
79 enum string TEXT_match = "match";
80 enum string TEXT_replace = "replace";
81 enum string TEXT_search = "search";
82 enum string TEXT_slice = "slice";
83 enum string TEXT_split = "split";
84 enum string TEXT_substr = "substr";
85 enum string TEXT_substring = "substring";
86 enum string TEXT_toLowerCase = "toLowerCase";
87 enum string TEXT_toLocaleLowerCase = "toLocaleLowerCase";
88 enum string TEXT_toUpperCase = "toUpperCase";
89 enum string TEXT_toLocaleUpperCase = "toLocaleUpperCase";
90 enum string TEXT_hasOwnProperty = "hasOwnProperty";
91 enum string TEXT_isPrototypeOf = "isPrototypeOf";
92 enum string TEXT_propertyIsEnumerable = "propertyIsEnumerable";
93 enum string TEXT_dollar1 = "$1";
94 enum string TEXT_dollar2 = "$2";
95 enum string TEXT_dollar3 = "$3";
96 enum string TEXT_dollar4 = "$4";
97 enum string TEXT_dollar5 = "$5";
98 enum string TEXT_dollar6 = "$6";
99 enum string TEXT_dollar7 = "$7";
100 enum string TEXT_dollar8 = "$8";
101 enum string TEXT_dollar9 = "$9";
102 enum string TEXT_index = "index";
103 enum string TEXT_compile = "compile";
104 enum string TEXT_test = "test";
105 enum string TEXT_exec = "exec";
106 enum string TEXT_MAX_VALUE = "MAX_VALUE";
107 enum string TEXT_MIN_VALUE = "MIN_VALUE";
108 enum string TEXT_NEGATIVE_INFINITY = "NEGATIVE_INFINITY";
109 enum string TEXT_POSITIVE_INFINITY = "POSITIVE_INFINITY";
110 enum string TEXT_dash = "-";
111 enum string TEXT_toFixed = "toFixed";
112 enum string TEXT_toExponential = "toExponential";
113 enum string TEXT_toPrecision = "toPrecision";
114 enum string TEXT_abs = "abs";
115 enum string TEXT_acos = "acos";
116 enum string TEXT_asin = "asin";
117 enum string TEXT_atan = "atan";
118 enum string TEXT_atan2 = "atan2";
119 enum string TEXT_ceil = "ceil";
120 enum string TEXT_cos = "cos";
121 enum string TEXT_exp = "exp";
122 enum string TEXT_floor = "floor";
123 enum string TEXT_log = "log";
124 enum string TEXT_max = "max";
125 enum string TEXT_min = "min";
126 enum string TEXT_pow = "pow";
127 enum string TEXT_random = "random";
128 enum string TEXT_round = "round";
129 enum string TEXT_sin = "sin";
130 enum string TEXT_sqrt = "sqrt";
131 enum string TEXT_tan = "tan";
132 enum string TEXT_E = "E";
133 enum string TEXT_LN10 = "LN10";
134 enum string TEXT_LN2 = "LN2";
135 enum string TEXT_LOG2E = "LOG2E";
136 enum string TEXT_LOG10E = "LOG10E";
137 enum string TEXT_PI = "PI";
138 enum string TEXT_SQRT1_2 = "SQRT1_2";
139 enum string TEXT_SQRT2 = "SQRT2";
140 enum string TEXT_parse = "parse";
141 enum string TEXT_UTC = "UTC";
142 
143 enum string TEXT_getTime = "getTime";
144 enum string TEXT_getYear = "getYear";
145 enum string TEXT_getFullYear = "getFullYear";
146 enum string TEXT_getUTCFullYear = "getUTCFullYear";
147 enum string TEXT_getDate = "getDate";
148 enum string TEXT_getUTCDate = "getUTCDate";
149 enum string TEXT_getMonth = "getMonth";
150 enum string TEXT_getUTCMonth = "getUTCMonth";
151 enum string TEXT_getDay = "getDay";
152 enum string TEXT_getUTCDay = "getUTCDay";
153 enum string TEXT_getHours = "getHours";
154 enum string TEXT_getUTCHours = "getUTCHours";
155 enum string TEXT_getMinutes = "getMinutes";
156 enum string TEXT_getUTCMinutes = "getUTCMinutes";
157 enum string TEXT_getSeconds = "getSeconds";
158 enum string TEXT_getUTCSeconds = "getUTCSeconds";
159 enum string TEXT_getMilliseconds = "getMilliseconds";
160 enum string TEXT_getUTCMilliseconds = "getUTCMilliseconds";
161 enum string TEXT_getTimezoneOffset = "getTimezoneOffset";
162 enum string TEXT_getVarDate = "getVarDate";
163 
164 enum string TEXT_setTime = "setTime";
165 enum string TEXT_setYear = "setYear";
166 enum string TEXT_setFullYear = "setFullYear";
167 enum string TEXT_setUTCFullYear = "setUTCFullYear";
168 enum string TEXT_setDate = "setDate";
169 enum string TEXT_setUTCDate = "setUTCDate";
170 enum string TEXT_setMonth = "setMonth";
171 enum string TEXT_setUTCMonth = "setUTCMonth";
172 enum string TEXT_setDay = "setDay";
173 enum string TEXT_setUTCDay = "setUTCDay";
174 enum string TEXT_setHours = "setHours";
175 enum string TEXT_setUTCHours = "setUTCHours";
176 enum string TEXT_setMinutes = "setMinutes";
177 enum string TEXT_setUTCMinutes = "setUTCMinutes";
178 enum string TEXT_setSeconds = "setSeconds";
179 enum string TEXT_setUTCSeconds = "setUTCSeconds";
180 enum string TEXT_setMilliseconds = "setMilliseconds";
181 enum string TEXT_setUTCMilliseconds = "setUTCMilliseconds";
182 
183 enum string TEXT_toDateString = "toDateString";
184 enum string TEXT_toTimeString = "toTimeString";
185 enum string TEXT_toLocaleDateString = "toLocaleDateString";
186 enum string TEXT_toLocaleTimeString = "toLocaleTimeString";
187 enum string TEXT_toUTCString = "toUTCString";
188 enum string TEXT_toGMTString = "toGMTString";
189 
190 enum string TEXT_comma = ",";
191 enum string TEXT_join = "join";
192 enum string TEXT_pop = "pop";
193 enum string TEXT_push = "push";
194 enum string TEXT_reverse = "reverse";
195 enum string TEXT_shift = "shift";
196 enum string TEXT_sort = "sort";
197 enum string TEXT_splice = "splice";
198 enum string TEXT_unshift = "unshift";
199 enum string TEXT_apply = "apply";
200 enum string TEXT_call = "call";
201 enum string TEXT_function = "function";
202 
203 enum string TEXT_eval = "eval";
204 enum string TEXT_parseInt = "parseInt";
205 enum string TEXT_parseFloat = "parseFloat";
206 enum string TEXT_escape = "escape";
207 enum string TEXT_unescape = "unescape";
208 enum string TEXT_isNaN = "isNaN";
209 enum string TEXT_isFinite = "isFinite";
210 enum string TEXT_decodeURI = "decodeURI";
211 enum string TEXT_decodeURIComponent = "decodeURIComponent";
212 enum string TEXT_encodeURI = "encodeURI";
213 enum string TEXT_encodeURIComponent = "encodeURIComponent";
214 
215 enum string TEXT_print = "print";
216 enum string TEXT_println = "println";
217 enum string TEXT_readln = "readln";
218 enum string TEXT_getenv = "getenv";
219 enum string TEXT_assert = "assert";
220 
221 enum string TEXT_Function = "Function";
222 enum string TEXT_Math = "Math";
223 
224 enum string TEXT_0 = "0";
225 enum string TEXT_1 = "1";
226 enum string TEXT_2 = "2";
227 enum string TEXT_3 = "3";
228 enum string TEXT_4 = "4";
229 enum string TEXT_5 = "5";
230 enum string TEXT_6 = "6";
231 enum string TEXT_7 = "7";
232 enum string TEXT_8 = "8";
233 enum string TEXT_9 = "9";
234 
235 enum string TEXT_anchor = "anchor";
236 enum string TEXT_big = "big";
237 enum string TEXT_blink = "blink";
238 enum string TEXT_bold = "bold";
239 enum string TEXT_fixed = "fixed";
240 enum string TEXT_fontcolor = "fontcolor";
241 enum string TEXT_fontsize = "fontsize";
242 enum string TEXT_italics = "italics";
243 enum string TEXT_link = "link";
244 enum string TEXT_small = "small";
245 enum string TEXT_strike = "strike";
246 enum string TEXT_sub = "sub";
247 enum string TEXT_sup = "sup";
248 
249 enum string TEXT_Enumerator = "Enumerator";
250 enum string TEXT_item = "item";
251 enum string TEXT_atEnd = "atEnd";
252 enum string TEXT_moveNext = "moveNext";
253 enum string TEXT_moveFirst = "moveFirst";
254 
255 enum string TEXT_VBArray = "VBArray";
256 enum string TEXT_dimensions = "dimensions";
257 enum string TEXT_getItem = "getItem";
258 enum string TEXT_lbound = "lbound";
259 enum string TEXT_toArray = "toArray";
260 enum string TEXT_ubound = "ubound";
261 
262 enum string TEXT_ScriptEngine = "ScriptEngine";
263 enum string TEXT_ScriptEngineBuildVersion = "ScriptEngineBuildVersion";
264 enum string TEXT_ScriptEngineMajorVersion = "ScriptEngineMajorVersion";
265 enum string TEXT_ScriptEngineMinorVersion = "ScriptEngineMinorVersion";
266 enum string TEXT_DMDScript = "DMDScript";
267 
268 enum string TEXT_date = "date";
269 enum string TEXT_unknown = "unknown";