JavaScriptCore/generated/StringPrototype.lut.h
changeset 0 4f2f89ce4247
child 2 303757a437d3
equal deleted inserted replaced
-1:000000000000 0:4f2f89ce4247
       
     1 // Automatically generated from u:\yaels-qtwebkit\JavaScriptCore\runtime\StringPrototype.cpp using ../../JavaScriptCore/create_hash_table. DO NOT EDIT!
       
     2 
       
     3 #include "Lookup.h"
       
     4 
       
     5 namespace JSC {
       
     6 #if ENABLE(JIT)
       
     7 #define THUNK_GENERATOR(generator) , generator
       
     8 #else
       
     9 #define THUNK_GENERATOR(generator)
       
    10 #endif
       
    11 
       
    12 static const struct HashTableValue stringTableValues[36] = {
       
    13    { "toString", DontEnum|Function, (intptr_t)static_cast<NativeFunction>(stringProtoFuncToString), (intptr_t)0 THUNK_GENERATOR(0) },
       
    14    { "valueOf", DontEnum|Function, (intptr_t)static_cast<NativeFunction>(stringProtoFuncToString), (intptr_t)0 THUNK_GENERATOR(0) },
       
    15    { "charAt", DontEnum|Function, (intptr_t)static_cast<NativeFunction>(stringProtoFuncCharAt), (intptr_t)1 THUNK_GENERATOR(charAtThunkGenerator) },
       
    16    { "charCodeAt", DontEnum|Function, (intptr_t)static_cast<NativeFunction>(stringProtoFuncCharCodeAt), (intptr_t)1 THUNK_GENERATOR(charCodeAtThunkGenerator) },
       
    17    { "concat", DontEnum|Function, (intptr_t)static_cast<NativeFunction>(stringProtoFuncConcat), (intptr_t)1 THUNK_GENERATOR(0) },
       
    18    { "indexOf", DontEnum|Function, (intptr_t)static_cast<NativeFunction>(stringProtoFuncIndexOf), (intptr_t)1 THUNK_GENERATOR(0) },
       
    19    { "lastIndexOf", DontEnum|Function, (intptr_t)static_cast<NativeFunction>(stringProtoFuncLastIndexOf), (intptr_t)1 THUNK_GENERATOR(0) },
       
    20    { "match", DontEnum|Function, (intptr_t)static_cast<NativeFunction>(stringProtoFuncMatch), (intptr_t)1 THUNK_GENERATOR(0) },
       
    21    { "replace", DontEnum|Function, (intptr_t)static_cast<NativeFunction>(stringProtoFuncReplace), (intptr_t)2 THUNK_GENERATOR(0) },
       
    22    { "search", DontEnum|Function, (intptr_t)static_cast<NativeFunction>(stringProtoFuncSearch), (intptr_t)1 THUNK_GENERATOR(0) },
       
    23    { "slice", DontEnum|Function, (intptr_t)static_cast<NativeFunction>(stringProtoFuncSlice), (intptr_t)2 THUNK_GENERATOR(0) },
       
    24    { "split", DontEnum|Function, (intptr_t)static_cast<NativeFunction>(stringProtoFuncSplit), (intptr_t)2 THUNK_GENERATOR(0) },
       
    25    { "substr", DontEnum|Function, (intptr_t)static_cast<NativeFunction>(stringProtoFuncSubstr), (intptr_t)2 THUNK_GENERATOR(0) },
       
    26    { "substring", DontEnum|Function, (intptr_t)static_cast<NativeFunction>(stringProtoFuncSubstring), (intptr_t)2 THUNK_GENERATOR(0) },
       
    27    { "toLowerCase", DontEnum|Function, (intptr_t)static_cast<NativeFunction>(stringProtoFuncToLowerCase), (intptr_t)0 THUNK_GENERATOR(0) },
       
    28    { "toUpperCase", DontEnum|Function, (intptr_t)static_cast<NativeFunction>(stringProtoFuncToUpperCase), (intptr_t)0 THUNK_GENERATOR(0) },
       
    29    { "localeCompare", DontEnum|Function, (intptr_t)static_cast<NativeFunction>(stringProtoFuncLocaleCompare), (intptr_t)1 THUNK_GENERATOR(0) },
       
    30    { "toLocaleLowerCase", DontEnum|Function, (intptr_t)static_cast<NativeFunction>(stringProtoFuncToLowerCase), (intptr_t)0 THUNK_GENERATOR(0) },
       
    31    { "toLocaleUpperCase", DontEnum|Function, (intptr_t)static_cast<NativeFunction>(stringProtoFuncToUpperCase), (intptr_t)0 THUNK_GENERATOR(0) },
       
    32    { "big", DontEnum|Function, (intptr_t)static_cast<NativeFunction>(stringProtoFuncBig), (intptr_t)0 THUNK_GENERATOR(0) },
       
    33    { "small", DontEnum|Function, (intptr_t)static_cast<NativeFunction>(stringProtoFuncSmall), (intptr_t)0 THUNK_GENERATOR(0) },
       
    34    { "blink", DontEnum|Function, (intptr_t)static_cast<NativeFunction>(stringProtoFuncBlink), (intptr_t)0 THUNK_GENERATOR(0) },
       
    35    { "bold", DontEnum|Function, (intptr_t)static_cast<NativeFunction>(stringProtoFuncBold), (intptr_t)0 THUNK_GENERATOR(0) },
       
    36    { "fixed", DontEnum|Function, (intptr_t)static_cast<NativeFunction>(stringProtoFuncFixed), (intptr_t)0 THUNK_GENERATOR(0) },
       
    37    { "italics", DontEnum|Function, (intptr_t)static_cast<NativeFunction>(stringProtoFuncItalics), (intptr_t)0 THUNK_GENERATOR(0) },
       
    38    { "strike", DontEnum|Function, (intptr_t)static_cast<NativeFunction>(stringProtoFuncStrike), (intptr_t)0 THUNK_GENERATOR(0) },
       
    39    { "sub", DontEnum|Function, (intptr_t)static_cast<NativeFunction>(stringProtoFuncSub), (intptr_t)0 THUNK_GENERATOR(0) },
       
    40    { "sup", DontEnum|Function, (intptr_t)static_cast<NativeFunction>(stringProtoFuncSup), (intptr_t)0 THUNK_GENERATOR(0) },
       
    41    { "fontcolor", DontEnum|Function, (intptr_t)static_cast<NativeFunction>(stringProtoFuncFontcolor), (intptr_t)1 THUNK_GENERATOR(0) },
       
    42    { "fontsize", DontEnum|Function, (intptr_t)static_cast<NativeFunction>(stringProtoFuncFontsize), (intptr_t)1 THUNK_GENERATOR(0) },
       
    43    { "anchor", DontEnum|Function, (intptr_t)static_cast<NativeFunction>(stringProtoFuncAnchor), (intptr_t)1 THUNK_GENERATOR(0) },
       
    44    { "link", DontEnum|Function, (intptr_t)static_cast<NativeFunction>(stringProtoFuncLink), (intptr_t)1 THUNK_GENERATOR(0) },
       
    45    { "trim", DontEnum|Function, (intptr_t)static_cast<NativeFunction>(stringProtoFuncTrim), (intptr_t)0 THUNK_GENERATOR(0) },
       
    46    { "trimLeft", DontEnum|Function, (intptr_t)static_cast<NativeFunction>(stringProtoFuncTrimLeft), (intptr_t)0 THUNK_GENERATOR(0) },
       
    47    { "trimRight", DontEnum|Function, (intptr_t)static_cast<NativeFunction>(stringProtoFuncTrimRight), (intptr_t)0 THUNK_GENERATOR(0) },
       
    48    { 0, 0, 0, 0 THUNK_GENERATOR(0) }
       
    49 };
       
    50 
       
    51 #undef THUNK_GENERATOR
       
    52 extern JSC_CONST_HASHTABLE HashTable stringTable =
       
    53     { 133, 127, stringTableValues, 0 };
       
    54 } // namespace