0 Replies Latest reply on Mar 27, 2008 7:02 AM by (Paul_Reilly)

    [svn] 954: Fixed ASC so that Context.input can be null.

    Level 1
      Revision: 954
      Author: preilly@adobe.com
      Date: 2008-03-27 08:02:13 -0700 (Thu, 27 Mar 2008)

      Log Message:
      -----------
      Fixed ASC so that Context.input can be null. This will be the case
      when the AST (abstract syntax tree) is generated.

      checkintests Passed: YES

      Needs QA: NO

      Needs DOC: NO

      API Change: NO

      Code-level description of changes:

      asc/semantics/CodeGenerator.java

      Added checks for a null context.input before using it.

      asc/parser/SelectorNode.java

      Made class abstract, so SyntaxTreeDumper can be sure that it
      doesn't have to handle this class directly, only it's subclasses.

      asc/parser/PackageIdentifiersNode.java

      Made IS_DEFINITION_FLAG private and added isDefinition() for use
      by SyntaxTreeDumper and toString().

      asc/embedding/LintEvaluator.java

      Added checks for a null context.input before using it.

      Modified Paths:
      --------------
      flex/sdk/trunk/modules/asc/src/java/macromedia/asc/embedding/LintEvaluator.java
      flex/sdk/trunk/modules/asc/src/java/macromedia/asc/parser/PackageIdentifiersNode.java
      flex/sdk/trunk/modules/asc/src/java/macromedia/asc/parser/SelectorNode.java
      flex/sdk/trunk/modules/asc/src/java/macromedia/asc/semantics/CodeGenerator.java