0 Replies Latest reply on Apr 23, 2008 9:44 AM by (Paul_Reilly)

    [svn] 1356: Incorporated Pakash's InterfaceCompiler AST generation work.

    Level 1
      Revision: 1356
      Author: preilly@adobe.com
      Date: 2008-04-23 10:44:48 -0700 (Wed, 23 Apr 2008)

      Log Message:
      -----------
      Incorporated Pakash's InterfaceCompiler AST generation work.

      checkintests Passed: YES

      Needs QA: Not yet

      Needs DOC: NO

      API Change: NO

      Code-level description of changes:

      i18n/I18nCompiler.java

      Removed profile() from the As3Configuration subclass, because it's
      not used.

      mxml/InterfaceGenerator.java

      Initial checkin.

      mxml/AbstractGenerator.java

      Initial checkin.

      mxml/InterfaceCompiler.java

      Removed profile() from the As3Configuration subclass, because it's
      not used.

      Modified parse2() to call generateSkeletonAST() when
      -generate-abstract-syntax-tree is set to true.

      Modified generateSkeleton() to return a Source object to be more
      consistent with ImplementationCompiler.

      Added generateSkeletonAST().

      Modified compileInterface() to skip the metadataOnly check when
      -generate-abstract-syntax-tree is set to true.

      mxml/ImplementationGenerator.java

      Modified class to extend AbstractGenerator. As a result, removed
      context, nodeFactory, and programNode variables. Also removed
      generateMetaData(), getContext(), and getSyntaxTree(), which were
      moved to AbstractGenerator, so they could be shared with
      InterfaceGenerator.

      Modified Paths:
      --------------
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/i18n/I18nCompiler.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/ImplementationGenerator.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/InterfaceCompiler.java

      Added Paths:
      -----------
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/AbstractGenerator.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/InterfaceGenerator.java