Ignore:
Timestamp:
Nov 19, 2002, 2:02:26 PM (23 years ago)
Author:
darin
Message:

JavaScriptCore:

  • a first step towards atomic identifiers in JavaScript

Most places that work with identifiers now use Identifier
instead of UString.

  • kjs/identifier.cpp: Added.
  • kjs/identifier.h: Added.
  • JavaScriptCore.pbproj/project.pbxproj: Added files.
  • kjs/array_object.cpp:
  • kjs/array_object.h:
  • kjs/completion.cpp:
  • kjs/completion.h:
  • kjs/date_object.cpp:
  • kjs/date_object.h:
  • kjs/function.cpp:
  • kjs/function.h:
  • kjs/function_object.cpp:
  • kjs/grammar.cpp:
  • kjs/grammar.cpp.h:
  • kjs/grammar.h:
  • kjs/grammar.y:
  • kjs/internal.cpp:
  • kjs/internal.h:
  • kjs/lexer.cpp:
  • kjs/lookup.cpp:
  • kjs/lookup.h:
  • kjs/math_object.cpp:
  • kjs/math_object.h:
  • kjs/nodes.cpp:
  • kjs/nodes.h:
  • kjs/number_object.cpp:
  • kjs/number_object.h:
  • kjs/object.cpp:
  • kjs/object.h:
  • kjs/property_map.cpp:
  • kjs/property_map.h:
  • kjs/reference.cpp:
  • kjs/reference.h:
  • kjs/regexp_object.cpp:
  • kjs/regexp_object.h:
  • kjs/string_object.cpp:
  • kjs/string_object.h:

WebCore:

  • a first step towards atomic identifiers in JavaScript

Most places that work with identifiers now use Identifier
instead of UString.

  • khtml/ecma/kjs_binding.cpp:
  • khtml/ecma/kjs_binding.h:
  • khtml/ecma/kjs_css.cpp:
  • khtml/ecma/kjs_css.h:
  • khtml/ecma/kjs_dom.cpp:
  • khtml/ecma/kjs_dom.h:
  • khtml/ecma/kjs_events.cpp:
  • khtml/ecma/kjs_events.h:
  • khtml/ecma/kjs_html.cpp:
  • khtml/ecma/kjs_html.h:
  • khtml/ecma/kjs_navigator.cpp:
  • khtml/ecma/kjs_navigator.h:
  • khtml/ecma/kjs_range.cpp:
  • khtml/ecma/kjs_range.h:
  • khtml/ecma/kjs_traversal.cpp:
  • khtml/ecma/kjs_traversal.h:
  • khtml/ecma/kjs_views.cpp:
  • khtml/ecma/kjs_views.h:
  • khtml/ecma/kjs_window.cpp:
  • khtml/ecma/kjs_window.h:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/kjs/array_object.cpp

    r2753 r2760  
    6666}
    6767
    68 Value ArrayInstanceImp::get(ExecState *exec, const UString &propertyName) const
     68Value ArrayInstanceImp::get(ExecState *exec, const Identifier &propertyName) const
    6969{
    7070  if (propertyName == lengthPropertyName)
     
    9292
    9393// Special implementation of [[Put]] - see ECMA 15.4.5.1
    94 void ArrayInstanceImp::put(ExecState *exec, const UString &propertyName, const Value &value, int attr)
     94void ArrayInstanceImp::put(ExecState *exec, const Identifier &propertyName, const Value &value, int attr)
    9595{
    9696  if (propertyName == lengthPropertyName) {
     
    118118}
    119119
    120 bool ArrayInstanceImp::hasProperty(ExecState *exec, const UString &propertyName) const
     120bool ArrayInstanceImp::hasProperty(ExecState *exec, const Identifier &propertyName) const
    121121{
    122122  if (propertyName == lengthPropertyName)
     
    143143}
    144144
    145 bool ArrayInstanceImp::deleteProperty(ExecState *exec, const UString &propertyName)
     145bool ArrayInstanceImp::deleteProperty(ExecState *exec, const Identifier &propertyName)
    146146{
    147147  if (propertyName == lengthPropertyName)
     
    294294}
    295295
    296 Value ArrayPrototypeImp::get(ExecState *exec, const UString &propertyName) const
     296Value ArrayPrototypeImp::get(ExecState *exec, const Identifier &propertyName) const
    297297{
    298298  //fprintf( stderr, "ArrayPrototypeImp::get(%s)\n", propertyName.ascii() );
Note: See TracChangeset for help on using the changeset viewer.