0 Replies Latest reply on May 19, 2009 9:17 AM by Peter Farland

    [svn:fx-trunk] 7071: Providing assignable lvalue context while parsing rvalues in preparation to fix bugs such as SDK-17748 and SDK-18877 .

    Peter Farland Level 3

      Revision: 7071

      Author:   pfarland@adobe.com

      Date:     2009-05-19 08:17:09 -0700 (Tue, 19 May 2009)

       

      Log Message:

      ***********

      Providing assignable lvalue context while parsing rvalues in preparation to fix bugs such as SDK-17748 and SDK-18877. This change makes the compiler aware of a new piece of metadata . When parsing text values, this metadata instructs the TextParser to not look for literal syntax for Arrays, Booleans, Numbers, etc... and instead just treat the content as String. However, it will still honor { } binding syntax and @function syntax.

       

      Once TLF and Gumbo text components are updated to use this metadata on the appropriate properties we will be able to close the bugs mentioned above.

       

      QE: Not yet

      Doc: No

      Checkintests: Pass

      Cyclone Tests: Mxunit, Mxunit - compc, Mxunit - rsl, Mxmlcunit, Compiler api all pass.

      Reviewer: Paul

       

      Ticket Links:

      ************

          http://bugs.adobe.com/jira/browse/SDK-17748

          http://bugs.adobe.com/jira/browse/SDK-18877

       

      Modified Paths:

      **************

          flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/builder/AbstractBuilder.java

          flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/builder/ArrayBuilder.java

          flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/builder/ComponentBuilder.jav a

          flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/builder/DocumentBuilder.java

          flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/builder/PrimitiveBuilder.jav a

          flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/builder/VectorBuilder.java

          flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/lang/NodeTypeResolver.java

          flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/lang/StandardDefs.java

          flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/lang/TextParser.java

          flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/lang/ValueNodeHandler.java

          flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/reflect/Effect.java

          flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/reflect/Property.java

          flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/reflect/Style.java

          flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/reflect/TypeTable.java

          flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/StatesModel.java

          flex/sdk/trunk/modules/compiler/src/java/flex2/compiler_en.properties

       

      Added Paths:

      ***********

          flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/reflect/Assignable.java

          flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/reflect/DynamicProperty.java