00001
00002
00003 using namespace KJS;
00004
00005 namespace KJS {
00006
00007 static const char DOMRangeTableStrings[] = {
00008 "\0"
00009 "commonAncestorContainer\0"
00010 "startContainer\0"
00011 "endContainer\0"
00012 "startOffset\0"
00013 "collapsed\0"
00014 "endOffset\0"
00015 };
00016
00017
00018 static const struct HashEntry DOMRangeTableEntries[] = {
00019 { 0, 0, 0, 0, -1 },
00020 { 0, 0, 0, 0, -1 },
00021 { 75, DOMRange::EndOffset, DontDelete|ReadOnly, 0, -1 },
00022 { 40, DOMRange::EndContainer, DontDelete|ReadOnly, 0, 7 },
00023 { 53, DOMRange::StartOffset, DontDelete|ReadOnly, 0, -1 },
00024 { 25, DOMRange::StartContainer, DontDelete|ReadOnly, 0, -1 },
00025 { 65, DOMRange::Collapsed, DontDelete|ReadOnly, 0, -1 },
00026 { 1, DOMRange::CommonAncestorContainer, DontDelete|ReadOnly, 0, -1 }
00027 };
00028
00029 const struct HashTable DOMRangeTable = { 2, 8, DOMRangeTableEntries, 7, DOMRangeTableStrings};
00030
00031 }
00032
00033 using namespace KJS;
00034
00035 namespace KJS {
00036
00037 static const char DOMRangeProtoTableStrings[] = {
00038 "\0"
00039 "createContextualFragment\0"
00040 "compareBoundaryPoints\0"
00041 "selectNodeContents\0"
00042 "surroundContents\0"
00043 "extractContents\0"
00044 "deleteContents\0"
00045 "setStartBefore\0"
00046 "cloneContents\0"
00047 "setStartAfter\0"
00048 "setEndBefore\0"
00049 "setEndAfter\0"
00050 "cloneRange\0"
00051 "insertNode\0"
00052 "selectNode\0"
00053 "collapse\0"
00054 "setStart\0"
00055 "toString\0"
00056 "detach\0"
00057 "setEnd\0"
00058 };
00059
00060
00061 static const struct HashEntry DOMRangeProtoTableEntries[] = {
00062 { 0, 0, 0, 0, -1 },
00063 { 216, DOMRange::Collapse, DontDelete|Function, 1, -1 },
00064 { 183, DOMRange::CloneRange, DontDelete|Function, 0, -1 },
00065 { 0, 0, 0, 0, -1 },
00066 { 171, DOMRange::SetEndAfter, DontDelete|Function, 1, -1 },
00067 { 243, DOMRange::Detach, DontDelete|Function, 0, -1 },
00068 { 48, DOMRange::SelectNodeContents, DontDelete|Function, 1, 19 },
00069 { 0, 0, 0, 0, -1 },
00070 { 225, DOMRange::SetStart, DontDelete|Function, 2, 17 },
00071 { 0, 0, 0, 0, -1 },
00072 { 205, DOMRange::SelectNode, DontDelete|Function, 1, 21 },
00073 { 100, DOMRange::DeleteContents, DontDelete|Function, 0, 20 },
00074 { 1, DOMRange::CreateContextualFragment, DontDelete|Function, 1, -1 },
00075 { 144, DOMRange::SetStartAfter, DontDelete|Function, 1, -1 },
00076 { 194, DOMRange::InsertNode, DontDelete|Function, 1, -1 },
00077 { 130, DOMRange::CloneContents, DontDelete|Function, 0, -1 },
00078 { 250, DOMRange::SetEnd, DontDelete|Function, 2, 18 },
00079 { 115, DOMRange::SetStartBefore, DontDelete|Function, 1, 22 },
00080 { 158, DOMRange::SetEndBefore, DontDelete|Function, 1, -1 },
00081 { 26, DOMRange::CompareBoundaryPoints, DontDelete|Function, 2, -1 },
00082 { 84, DOMRange::ExtractContents, DontDelete|Function, 0, -1 },
00083 { 67, DOMRange::SurroundContents, DontDelete|Function, 1, -1 },
00084 { 234, DOMRange::ToString, DontDelete|Function, 0, -1 }
00085 };
00086
00087 const struct HashTable DOMRangeProtoTable = { 2, 23, DOMRangeProtoTableEntries, 17, DOMRangeProtoTableStrings};
00088
00089 }
00090
00091 using namespace KJS;
00092
00093 namespace KJS {
00094
00095 static const char RangeConstructorTableStrings[] = {
00096 "\0"
00097 "START_TO_START\0"
00098 "END_TO_START\0"
00099 "START_TO_END\0"
00100 "END_TO_END\0"
00101 };
00102
00103
00104 static const struct HashEntry RangeConstructorTableEntries[] = {
00105 { 0, 0, 0, 0, -1 },
00106 { 29, DOM::Range::START_TO_END, DontDelete|ReadOnly, 0, 5 },
00107 { 0, 0, 0, 0, -1 },
00108 { 42, DOM::Range::END_TO_END, DontDelete|ReadOnly, 0, -1 },
00109 { 1, DOM::Range::START_TO_START, DontDelete|ReadOnly, 0, -1 },
00110 { 16, DOM::Range::END_TO_START, DontDelete|ReadOnly, 0, -1 }
00111 };
00112
00113 const struct HashTable RangeConstructorTable = { 2, 6, RangeConstructorTableEntries, 5, RangeConstructorTableStrings};
00114
00115 }