Lines Matching refs:JSString
24 #include "JSString.h"
34 void JSString::Rope::destructNonRecursive()
64 JSString::Rope::~Rope()
69 // Overview: this methods converts a JSString from holding a string in rope form
79 void JSString::resolveRope(ExecState* exec) const
142 JSValue JSString::toPrimitive(ExecState*, PreferredPrimitiveType) const
144 return const_cast<JSString*>(this);
147 bool JSString::getPrimitiveNumber(ExecState* exec, double& number, JSValue& result)
154 bool JSString::toBoolean(ExecState*) const
159 double JSString::toNumber(ExecState* exec) const
164 UString JSString::toString(ExecState* exec) const
169 UString JSString::toThisString(ExecState* exec) const
174 JSString* JSString::toThisJSString(ExecState*)
179 inline StringObject* StringObject::create(ExecState* exec, JSString* string)
184 JSObject* JSString::toObject(ExecState* exec) const
186 return StringObject::create(exec, const_cast<JSString*>(this));
189 JSObject* JSString::toThisObject(ExecState* exec) const
191 return StringObject::create(exec, const_cast<JSString*>(this));
194 bool JSString::getOwnPropertySlot(ExecState* exec, const Identifier& propertyName, PropertySlot& slot)
215 bool JSString::getStringPropertyDescriptor(ExecState* exec, const Identifier& propertyName, PropertyDescriptor& descriptor)
232 bool JSString::getOwnPropertyDescriptor(ExecState* exec, const Identifier& propertyName, PropertyDescriptor& descriptor)
242 bool JSString::getOwnPropertySlot(ExecState* exec, unsigned propertyName, PropertySlot& slot)
248 return JSString::getOwnPropertySlot(exec, Identifier::from(exec, propertyName), slot);