Changeset 29508 in webkit for trunk/JavaScriptCore/kjs/string_object.h
- Timestamp:
- Jan 15, 2008, 10:43:15 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/kjs/string_object.h
r28110 r29508 82 82 * @internal 83 83 * 84 * Classes to implement all methods that are properties of the84 * Functions to implement all methods that are properties of the 85 85 * String.prototype object 86 86 */ 87 #define FOR_EACH_CLASS(macro) \88 macro(StringProtoFuncToString) \89 macro(StringProtoFuncValueOf) \90 macro(StringProtoFuncCharAt) \91 macro(StringProtoFuncCharCodeAt) \92 macro(StringProtoFuncConcat) \93 macro(StringProtoFuncIndexOf) \94 macro(StringProtoFuncLastIndexOf) \95 macro(StringProtoFuncMatch) \96 macro(StringProtoFuncReplace) \97 macro(StringProtoFuncSearch) \98 macro(StringProtoFuncSlice) \99 macro(StringProtoFuncSplit) \100 macro(StringProtoFuncSubstr) \101 macro(StringProtoFuncSubstring) \102 macro(StringProtoFuncToLowerCase) \103 macro(StringProtoFuncToUpperCase) \104 macro(StringProtoFuncToLocaleLowerCase) \105 macro(StringProtoFuncToLocaleUpperCase) \106 macro(StringProtoFuncLocaleCompare) \107 87 108 #define FOR_EACH_CLASS_NOT_PURE_ECMA(macro) \ 109 macro(StringProtoFuncBig) \ 110 macro(StringProtoFuncSmall) \ 111 macro(StringProtoFuncBlink) \ 112 macro(StringProtoFuncBold) \ 113 macro(StringProtoFuncFixed) \ 114 macro(StringProtoFuncItalics) \ 115 macro(StringProtoFuncStrike) \ 116 macro(StringProtoFuncSub) \ 117 macro(StringProtoFuncSup) \ 118 macro(StringProtoFuncFontcolor) \ 119 macro(StringProtoFuncFontsize) \ 120 macro(StringProtoFuncAnchor) \ 121 macro(StringProtoFuncLink) \ 88 JSValue* stringProtoFuncToString(ExecState*, JSObject*, const List&); 89 JSValue* stringProtoFuncValueOf(ExecState*, JSObject*, const List&); 90 JSValue* stringProtoFuncCharAt(ExecState*, JSObject*, const List&); 91 JSValue* stringProtoFuncCharCodeAt(ExecState*, JSObject*, const List&); 92 JSValue* stringProtoFuncConcat(ExecState*, JSObject*, const List&); 93 JSValue* stringProtoFuncIndexOf(ExecState*, JSObject*, const List&); 94 JSValue* stringProtoFuncLastIndexOf(ExecState*, JSObject*, const List&); 95 JSValue* stringProtoFuncMatch(ExecState*, JSObject*, const List&); 96 JSValue* stringProtoFuncReplace(ExecState*, JSObject*, const List&); 97 JSValue* stringProtoFuncSearch(ExecState*, JSObject*, const List&); 98 JSValue* stringProtoFuncSlice(ExecState*, JSObject*, const List&); 99 JSValue* stringProtoFuncSplit(ExecState*, JSObject*, const List&); 100 JSValue* stringProtoFuncSubstr(ExecState*, JSObject*, const List&); 101 JSValue* stringProtoFuncSubstring(ExecState*, JSObject*, const List&); 102 JSValue* stringProtoFuncToLowerCase(ExecState*, JSObject*, const List&); 103 JSValue* stringProtoFuncToUpperCase(ExecState*, JSObject*, const List&); 104 JSValue* stringProtoFuncToLocaleLowerCase(ExecState*, JSObject*, const List&); 105 JSValue* stringProtoFuncToLocaleUpperCase(ExecState*, JSObject*, const List&); 106 JSValue* stringProtoFuncLocaleCompare(ExecState*, JSObject*, const List&); 122 107 123 FOR_EACH_CLASS(KJS_IMPLEMENT_PROTOTYPE_FUNCTION_WITH_CREATE)124 108 #ifndef KJS_PURE_ECMA 125 FOR_EACH_CLASS_NOT_PURE_ECMA(KJS_IMPLEMENT_PROTOTYPE_FUNCTION_WITH_CREATE) 126 #endif 127 128 #undef FOR_EACH_CLASS 129 #undef FOR_EACH_CLASS_NOT_PURE_ECMA 130 109 JSValue* stringProtoFuncBig(ExecState*, JSObject*, const List&); 110 JSValue* stringProtoFuncSmall(ExecState*, JSObject*, const List&); 111 JSValue* stringProtoFuncBlink(ExecState*, JSObject*, const List&); 112 JSValue* stringProtoFuncBold(ExecState*, JSObject*, const List&); 113 JSValue* stringProtoFuncFixed(ExecState*, JSObject*, const List&); 114 JSValue* stringProtoFuncItalics(ExecState*, JSObject*, const List&); 115 JSValue* stringProtoFuncStrike(ExecState*, JSObject*, const List&); 116 JSValue* stringProtoFuncSub(ExecState*, JSObject*, const List&); 117 JSValue* stringProtoFuncSup(ExecState*, JSObject*, const List&); 118 JSValue* stringProtoFuncFontcolor(ExecState*, JSObject*, const List&); 119 JSValue* stringProtoFuncFontsize(ExecState*, JSObject*, const List&); 120 JSValue* stringProtoFuncAnchor(ExecState*, JSObject*, const List&); 121 JSValue* stringProtoFuncLink(ExecState*, JSObject*, const List&); 122 #endif // KJS_PURE_ECMA 131 123 132 124 /**
Note:
See TracChangeset
for help on using the changeset viewer.