00001
00002
00003 using namespace KJS;
00004
00005 namespace KJS {
00006
00007 static const char DOMEventTableStrings[] = {
00008 "\0"
00009 "currentTarget\0"
00010 "cancelBubble\0"
00011 "returnValue\0"
00012 "cancelable\0"
00013 "eventPhase\0"
00014 "srcElement\0"
00015 "timeStamp\0"
00016 "bubbles\0"
00017 "target\0"
00018 "type\0"
00019 };
00020
00021
00022 static const struct HashEntry DOMEventTableEntries[] = {
00023 { 1, DOMEvent::CurrentTarget, DontDelete|ReadOnly, 0, 7 },
00024 { 0, 0, 0, 0, -1 },
00025 { 98, DOMEvent::Type, DontDelete|ReadOnly, 0, -1 },
00026 { 91, DOMEvent::Target, DontDelete|ReadOnly, 0, 9 },
00027 { 0, 0, 0, 0, -1 },
00028 { 28, DOMEvent::ReturnValue, DontDelete, 0, 11 },
00029 { 62, DOMEvent::SrcElement, DontDelete|ReadOnly, 0, -1 },
00030 { 51, DOMEvent::EventPhase, DontDelete|ReadOnly, 0, 8 },
00031 { 83, DOMEvent::Bubbles, DontDelete|ReadOnly, 0, -1 },
00032 { 40, DOMEvent::Cancelable, DontDelete|ReadOnly, 0, 10 },
00033 { 73, DOMEvent::TimeStamp, DontDelete|ReadOnly, 0, -1 },
00034 { 15, DOMEvent::CancelBubble, DontDelete, 0, -1 }
00035 };
00036
00037 const struct HashTable DOMEventTable = { 2, 12, DOMEventTableEntries, 7, DOMEventTableStrings};
00038
00039 }
00040
00041 using namespace KJS;
00042
00043 namespace KJS {
00044
00045 static const char DOMEventProtoTableStrings[] = {
00046 "\0"
00047 "stopPropagation\0"
00048 "preventDefault\0"
00049 "initEvent\0"
00050 };
00051
00052
00053 static const struct HashEntry DOMEventProtoTableEntries[] = {
00054 { 0, 0, 0, 0, -1 },
00055 { 0, 0, 0, 0, -1 },
00056 { 1, DOMEvent::StopPropagation, DontDelete|Function, 0, 3 },
00057 { 17, DOMEvent::PreventDefault, DontDelete|Function, 0, 4 },
00058 { 32, DOMEvent::InitEvent, DontDelete|Function, 3, -1 }
00059 };
00060
00061 const struct HashTable DOMEventProtoTable = { 2, 5, DOMEventProtoTableEntries, 3, DOMEventProtoTableStrings};
00062
00063 }
00064
00065 using namespace KJS;
00066
00067 namespace KJS {
00068
00069 static const char EventConstantsTableStrings[] = {
00070 "\0"
00071 "CAPTURING_PHASE\0"
00072 "BUBBLING_PHASE\0"
00073 "AT_TARGET\0"
00074 "MOUSEDOWN\0"
00075 "MOUSEDRAG\0"
00076 "MOUSEMOVE\0"
00077 "MOUSEOVER\0"
00078 "DBLCLICK\0"
00079 "DRAGDROP\0"
00080 "KEYPRESS\0"
00081 "MOUSEOUT\0"
00082 "KEYDOWN\0"
00083 "MOUSEUP\0"
00084 "CHANGE\0"
00085 "SELECT\0"
00086 "FOCUS\0"
00087 "KEYUP\0"
00088 "BLUR\0"
00089 };
00090
00091
00092 static const struct HashEntry EventConstantsTableEntries[] = {
00093 { 0, 0, 0, 0, -1 },
00094 { 0, 0, 0, 0, -1 },
00095 { 0, 0, 0, 0, -1 },
00096 { 0, 0, 0, 0, -1 },
00097 { 0, 0, 0, 0, -1 },
00098 { 0, 0, 0, 0, -1 },
00099 { 126, 2, DontDelete|ReadOnly, 0, -1 },
00100 { 154, 512, DontDelete|ReadOnly, 0, -1 },
00101 { 134, 32768, DontDelete|ReadOnly, 0, -1 },
00102 { 32, DOM::Event::AT_TARGET, DontDelete|ReadOnly, 0, 24 },
00103 { 17, DOM::Event::BUBBLING_PHASE, DontDelete|ReadOnly, 0, 27 },
00104 { 141, 16384, DontDelete|ReadOnly, 0, -1 },
00105 { 52, 32, DontDelete|ReadOnly, 0, -1 },
00106 { 85, 64, DontDelete|ReadOnly, 0, -1 },
00107 { 62, 16, DontDelete|ReadOnly, 0, -1 },
00108 { 42, 1, DontDelete|ReadOnly, 0, -1 },
00109 { 82, 128, DontDelete|ReadOnly, 0, 23 },
00110 { 0, 0, 0, 0, -1 },
00111 { 0, 0, 0, 0, -1 },
00112 { 72, 4, DontDelete|ReadOnly, 0, -1 },
00113 { 109, 8, DontDelete|ReadOnly, 0, 25 },
00114 { 0, 0, 0, 0, -1 },
00115 { 1, DOM::Event::CAPTURING_PHASE, DontDelete|ReadOnly, 0, -1 },
00116 { 118, 256, DontDelete|ReadOnly, 0, 26 },
00117 { 100, 1024, DontDelete|ReadOnly, 0, -1 },
00118 { 91, 2048, DontDelete|ReadOnly, 0, -1 },
00119 { 148, 4096, DontDelete|ReadOnly, 0, -1 },
00120 { 160, 8192, DontDelete|ReadOnly, 0, -1 }
00121 };
00122
00123 const struct HashTable EventConstantsTable = { 2, 28, EventConstantsTableEntries, 23, EventConstantsTableStrings};
00124
00125 }
00126
00127 using namespace KJS;
00128
00129 namespace KJS {
00130
00131 static const char EventExceptionConstructorTableStrings[] = {
00132 "\0"
00133 "UNSPECIFIED_EVENT_TYPE_ERR\0"
00134 };
00135
00136
00137 static const struct HashEntry EventExceptionConstructorTableEntries[] = {
00138 { 1, DOM::EventException::UNSPECIFIED_EVENT_TYPE_ERR, DontDelete|ReadOnly, 0, -1 }
00139 };
00140
00141 const struct HashTable EventExceptionConstructorTable = { 2, 1, EventExceptionConstructorTableEntries, 1, EventExceptionConstructorTableStrings};
00142
00143 }
00144
00145 using namespace KJS;
00146
00147 namespace KJS {
00148
00149 static const char DOMUIEventTableStrings[] = {
00150 "\0"
00151 "charCode\0"
00152 "keyCode\0"
00153 "detail\0"
00154 "layerX\0"
00155 "layerY\0"
00156 "pageX\0"
00157 "pageY\0"
00158 "which\0"
00159 "view\0"
00160 };
00161
00162
00163 static const struct HashEntry DOMUIEventTableEntries[] = {
00164 { 32, DOMUIEvent::LayerY, DontDelete|ReadOnly, 0, -1 },
00165 { 10, DOMUIEvent::KeyCode, DontDelete|ReadOnly, 0, -1 },
00166 { 57, DOMUIEvent::View, DontDelete|ReadOnly, 0, 7 },
00167 { 0, 0, 0, 0, -1 },
00168 { 18, DOMUIEvent::Detail, DontDelete|ReadOnly, 0, 8 },
00169 { 45, DOMUIEvent::PageY, DontDelete|ReadOnly, 0, -1 },
00170 { 25, DOMUIEvent::LayerX, DontDelete|ReadOnly, 0, 9 },
00171 { 1, DOMUIEvent::CharCode, DontDelete|ReadOnly, 0, -1 },
00172 { 39, DOMUIEvent::PageX, DontDelete|ReadOnly, 0, -1 },
00173 { 51, DOMUIEvent::Which, DontDelete|ReadOnly, 0, -1 }
00174 };
00175
00176 const struct HashTable DOMUIEventTable = { 2, 10, DOMUIEventTableEntries, 7, DOMUIEventTableStrings};
00177
00178 }
00179
00180 using namespace KJS;
00181
00182 namespace KJS {
00183
00184 static const char DOMUIEventProtoTableStrings[] = {
00185 "\0"
00186 "initUIEvent\0"
00187 };
00188
00189
00190 static const struct HashEntry DOMUIEventProtoTableEntries[] = {
00191 { 1, DOMUIEvent::InitUIEvent, DontDelete|Function, 5, -1 }
00192 };
00193
00194 const struct HashTable DOMUIEventProtoTable = { 2, 1, DOMUIEventProtoTableEntries, 1, DOMUIEventProtoTableStrings};
00195
00196 }
00197
00198 using namespace KJS;
00199
00200 namespace KJS {
00201
00202 static const char DOMMouseEventTableStrings[] = {
00203 "\0"
00204 "relatedTarget\0"
00205 "fromElement\0"
00206 "toElement\0"
00207 "shiftKey\0"
00208 "clientX\0"
00209 "clientY\0"
00210 "ctrlKey\0"
00211 "metaKey\0"
00212 "offsetX\0"
00213 "offsetY\0"
00214 "screenX\0"
00215 "screenY\0"
00216 "altKey\0"
00217 "button\0"
00218 "x\0"
00219 };
00220
00221
00222 static const struct HashEntry DOMMouseEventTableEntries[] = {
00223 { 94, DOMMouseEvent::ScreenX, DontDelete|ReadOnly, 0, 3 },
00224 { 102, DOMMouseEvent::ScreenY, DontDelete|ReadOnly, 0, 2 },
00225 { 46, DOMMouseEvent::ClientX, DontDelete|ReadOnly, 0, 5 },
00226 { 124, DOMMouseEvent::X, DontDelete|ReadOnly, 0, 4 },
00227 { 54, DOMMouseEvent::ClientY, DontDelete|ReadOnly, 0, 7 },
00228 { 115, DOMMouseEvent::Y, DontDelete|ReadOnly, 0, 6 },
00229 { 78, DOMMouseEvent::OffsetX, DontDelete|ReadOnly, 0, 9 },
00230 { 86, DOMMouseEvent::OffsetY, DontDelete|ReadOnly, 0, 8 },
00231 { 62, DOMMouseEvent::CtrlKey, DontDelete|ReadOnly, 0, 10 },
00232 { 37, DOMMouseEvent::ShiftKey, DontDelete|ReadOnly, 0, 15 },
00233 { 110, DOMMouseEvent::AltKey, DontDelete|ReadOnly, 0, 11 },
00234 { 70, DOMMouseEvent::MetaKey, DontDelete|ReadOnly, 0, 12 },
00235 { 117, DOMMouseEvent::Button, DontDelete|ReadOnly, 0, 13 },
00236 { 1, DOMMouseEvent::RelatedTarget, DontDelete|ReadOnly, 0, 14 },
00237 { 15, DOMMouseEvent::FromElement, DontDelete|ReadOnly, 0, -1 },
00238 { 27, DOMMouseEvent::ToElement, DontDelete|ReadOnly, 0, -1 }
00239 };
00240
00241 const struct HashTable DOMMouseEventTable = { 2, 16, DOMMouseEventTableEntries, 2, DOMMouseEventTableStrings};
00242
00243 }
00244
00245 using namespace KJS;
00246
00247 namespace KJS {
00248
00249 static const char DOMMouseEventProtoTableStrings[] = {
00250 "\0"
00251 "initMouseEvent\0"
00252 };
00253
00254
00255 static const struct HashEntry DOMMouseEventProtoTableEntries[] = {
00256 { 1, DOMMouseEvent::InitMouseEvent, DontDelete|Function, 15, -1 }
00257 };
00258
00259 const struct HashTable DOMMouseEventProtoTable = { 2, 1, DOMMouseEventProtoTableEntries, 1, DOMMouseEventProtoTableStrings};
00260
00261 }
00262
00263 using namespace KJS;
00264
00265 namespace KJS {
00266
00267 static const char DOMKeyEventBaseTableStrings[] = {
00268 "\0"
00269 "virtKeyVal\0"
00270 "shiftKey\0"
00271 "ctrlKey\0"
00272 "altKey\0"
00273 "keyVal\0"
00274 };
00275
00276
00277 static const struct HashEntry DOMKeyEventBaseTableEntries[] = {
00278 { 36, DOMKeyEventBase::Key, DontDelete|ReadOnly, 0, -1 },
00279 { 1, DOMKeyEventBase::VirtKey, DontDelete|ReadOnly, 0, -1 },
00280 { 0, 0, 0, 0, -1 },
00281 { 29, DOMKeyEventBase::AltKey, DontDelete|ReadOnly, 0, 6 },
00282 { 21, DOMKeyEventBase::CtrlKey, DontDelete|ReadOnly, 0, 5 },
00283 { 12, DOMKeyEventBase::ShiftKey, DontDelete|ReadOnly, 0, -1 },
00284 { 29, DOMKeyEventBase::AltKey, DontDelete|ReadOnly, 0, -1 }
00285 };
00286
00287 const struct HashTable DOMKeyEventBaseTable = { 2, 7, DOMKeyEventBaseTableEntries, 5, DOMKeyEventBaseTableStrings};
00288
00289 }
00290
00291 using namespace KJS;
00292
00293 namespace KJS {
00294
00295 static const char DOMTextEventTableStrings[] = {
00296 "\0"
00297 "data\0"
00298 };
00299
00300
00301 static const struct HashEntry DOMTextEventTableEntries[] = {
00302 { 1, DOMTextEvent::Data, DontDelete|ReadOnly, 0, -1 }
00303 };
00304
00305 const struct HashTable DOMTextEventTable = { 2, 1, DOMTextEventTableEntries, 1, DOMTextEventTableStrings};
00306
00307 }
00308
00309 using namespace KJS;
00310
00311 namespace KJS {
00312
00313 static const char DOMTextEventProtoTableStrings[] = {
00314 "\0"
00315 "initTextEvent\0"
00316 };
00317
00318
00319 static const struct HashEntry DOMTextEventProtoTableEntries[] = {
00320 { 1, DOMTextEvent::InitTextEvent, DontDelete|Function, 5, -1 }
00321 };
00322
00323 const struct HashTable DOMTextEventProtoTable = { 2, 1, DOMTextEventProtoTableEntries, 1, DOMTextEventProtoTableStrings};
00324
00325 }
00326
00327 using namespace KJS;
00328
00329 namespace KJS {
00330
00331 static const char DOMKeyboardEventTableStrings[] = {
00332 "\0"
00333 "keyIdentifier\0"
00334 "keyLocation\0"
00335 };
00336
00337
00338 static const struct HashEntry DOMKeyboardEventTableEntries[] = {
00339 { 1, DOMKeyboardEvent::KeyIdentifier, DontDelete|ReadOnly, 0, 2 },
00340 { 0, 0, 0, 0, -1 },
00341 { 15, DOMKeyboardEvent::KeyLocation, DontDelete|ReadOnly, 0, -1 }
00342 };
00343
00344 const struct HashTable DOMKeyboardEventTable = { 2, 3, DOMKeyboardEventTableEntries, 2, DOMKeyboardEventTableStrings};
00345
00346 }
00347
00348 using namespace KJS;
00349
00350 namespace KJS {
00351
00352 static const char DOMKeyboardEventProtoTableStrings[] = {
00353 "\0"
00354 "initKeyboardEvent\0"
00355 "getModifierState\0"
00356 };
00357
00358
00359 static const struct HashEntry DOMKeyboardEventProtoTableEntries[] = {
00360 { 19, DOMKeyboardEvent::GetModifierState, DontDelete|Function, 1, -1 },
00361 { 1, DOMKeyboardEvent::InitKeyboardEvent, DontDelete|Function, 7, -1 }
00362 };
00363
00364 const struct HashTable DOMKeyboardEventProtoTable = { 2, 2, DOMKeyboardEventProtoTableEntries, 2, DOMKeyboardEventProtoTableStrings};
00365
00366 }
00367
00368 using namespace KJS;
00369
00370 namespace KJS {
00371
00372 static const char KeyboardEventConstructorTableStrings[] = {
00373 "\0"
00374 "DOM_KEY_LOCATION_STANDARD\0"
00375 "DOM_KEY_LOCATION_NUMPAD\0"
00376 "DOM_KEY_LOCATION_RIGHT\0"
00377 "DOM_KEY_LOCATION_LEFT\0"
00378 };
00379
00380
00381 static const struct HashEntry KeyboardEventConstructorTableEntries[] = {
00382 { 1, DOM::KeyboardEventImpl::DOM_KEY_LOCATION_STANDARD, DontDelete|ReadOnly, 0, 4 },
00383 { 51, DOM::KeyboardEventImpl::DOM_KEY_LOCATION_RIGHT, DontDelete|ReadOnly, 0, -1 },
00384 { 74, DOM::KeyboardEventImpl::DOM_KEY_LOCATION_LEFT, DontDelete|ReadOnly, 0, -1 },
00385 { 0, 0, 0, 0, -1 },
00386 { 27, DOM::KeyboardEventImpl::DOM_KEY_LOCATION_NUMPAD, DontDelete|ReadOnly, 0, -1 }
00387 };
00388
00389 const struct HashTable KeyboardEventConstructorTable = { 2, 5, KeyboardEventConstructorTableEntries, 4, KeyboardEventConstructorTableStrings};
00390
00391 }
00392
00393 using namespace KJS;
00394
00395 namespace KJS {
00396
00397 static const char MutationEventConstructorTableStrings[] = {
00398 "\0"
00399 "MODIFICATION\0"
00400 "ADDITION\0"
00401 "REMOVAL\0"
00402 };
00403
00404
00405 static const struct HashEntry MutationEventConstructorTableEntries[] = {
00406 { 14, DOM::MutationEvent::ADDITION, DontDelete|ReadOnly, 0, 3 },
00407 { 1, DOM::MutationEvent::MODIFICATION, DontDelete|ReadOnly, 0, -1 },
00408 { 0, 0, 0, 0, -1 },
00409 { 23, DOM::MutationEvent::REMOVAL, DontDelete|ReadOnly, 0, -1 }
00410 };
00411
00412 const struct HashTable MutationEventConstructorTable = { 2, 4, MutationEventConstructorTableEntries, 3, MutationEventConstructorTableStrings};
00413
00414 }
00415
00416 using namespace KJS;
00417
00418 namespace KJS {
00419
00420 static const char DOMMutationEventTableStrings[] = {
00421 "\0"
00422 "relatedNode\0"
00423 "attrChange\0"
00424 "prevValue\0"
00425 "attrName\0"
00426 "newValue\0"
00427 };
00428
00429
00430 static const struct HashEntry DOMMutationEventTableEntries[] = {
00431 { 13, DOMMutationEvent::AttrChange, DontDelete|ReadOnly, 0, -1 },
00432 { 0, 0, 0, 0, -1 },
00433 { 1, DOMMutationEvent::RelatedNode, DontDelete|ReadOnly, 0, -1 },
00434 { 34, DOMMutationEvent::AttrName, DontDelete|ReadOnly, 0, -1 },
00435 { 24, DOMMutationEvent::PrevValue, DontDelete|ReadOnly, 0, 5 },
00436 { 43, DOMMutationEvent::NewValue, DontDelete|ReadOnly, 0, -1 }
00437 };
00438
00439 const struct HashTable DOMMutationEventTable = { 2, 6, DOMMutationEventTableEntries, 5, DOMMutationEventTableStrings};
00440
00441 }
00442
00443 using namespace KJS;
00444
00445 namespace KJS {
00446
00447 static const char DOMMutationEventProtoTableStrings[] = {
00448 "\0"
00449 "initMutationEvent\0"
00450 };
00451
00452
00453 static const struct HashEntry DOMMutationEventProtoTableEntries[] = {
00454 { 1, DOMMutationEvent::InitMutationEvent, DontDelete|Function, 8, -1 }
00455 };
00456
00457 const struct HashTable DOMMutationEventProtoTable = { 2, 1, DOMMutationEventProtoTableEntries, 1, DOMMutationEventProtoTableStrings};
00458
00459 }