flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gordonsm...@apache.org
Subject svn commit: r1441616 [1/2] - in /flex/falcon/trunk/compiler/src/org/apache/flex/compiler: internal/parsing/as/ internal/parsing/mxml/ internal/tree/mxml/ mxml/ problems/
Date Fri, 01 Feb 2013 20:24:13 GMT
Author: gordonsmith
Date: Fri Feb  1 20:24:12 2013
New Revision: 1441616

URL: http://svn.apache.org/viewvc?rev=1441616&view=rev
Log:
Falcon: Introduced IMXMLTagAttributeData to represent MXML attributes more abstractly. Clients using IMXMLData now access attributes through this interface rather than using the MXMLTagAttributeData class.

Added:
    flex/falcon/trunk/compiler/src/org/apache/flex/compiler/mxml/IMXMLTagAttributeData.java   (with props)
Modified:
    flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/parsing/as/BaseASParser.java
    flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/parsing/mxml/MXMLScopeBuilder.java
    flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLApplicationNode.java
    flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLArrayNode.java
    flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLBindingAttributeNode.java
    flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLBindingNode.java
    flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLClassDefinitionNode.java
    flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLClassNode.java
    flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLClassReferenceNodeBase.java
    flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLClearNode.java
    flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLCompilerDirectiveNodeBase.java
    flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLCompilerDirectiveParser.java
    flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLComponentNode.java
    flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLDataBindingParser.java
    flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLDeferredInstanceNode.java
    flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLDefinitionNode.java
    flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLDocumentNode.java
    flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLEmbedNode.java
    flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLEventSpecifierNode.java
    flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLExpressionNodeBase.java
    flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLFactoryNode.java
    flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLImplementsNode.java
    flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLInstanceNode.java
    flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLModelNode.java
    flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLModelPropertyContainerNodeBase.java
    flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLModelPropertyNode.java
    flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLNodeBase.java
    flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLPropertySpecifierNode.java
    flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLReparentNode.java
    flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLResourceNode.java
    flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLScriptNode.java
    flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLSpecifierNodeBase.java
    flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLStateNode.java
    flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLStringNode.java
    flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLStyleNode.java
    flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLStyleSpecifierNode.java
    flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLTreeBuilder.java
    flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLVectorNode.java
    flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLXMLNode.java
    flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/XMLBuilder.java
    flex/falcon/trunk/compiler/src/org/apache/flex/compiler/mxml/MXMLTagAttributeData.java
    flex/falcon/trunk/compiler/src/org/apache/flex/compiler/mxml/MXMLTagData.java
    flex/falcon/trunk/compiler/src/org/apache/flex/compiler/problems/MXMLAttributeVersionProblem.java
    flex/falcon/trunk/compiler/src/org/apache/flex/compiler/problems/MXMLDuplicateAttributeProblem.java
    flex/falcon/trunk/compiler/src/org/apache/flex/compiler/problems/MXMLDuplicateIDProblem.java
    flex/falcon/trunk/compiler/src/org/apache/flex/compiler/problems/MXMLEmptyAttributeProblem.java
    flex/falcon/trunk/compiler/src/org/apache/flex/compiler/problems/MXMLEmptyEventHandlerProblem.java
    flex/falcon/trunk/compiler/src/org/apache/flex/compiler/problems/MXMLInvalidDefinitionNameProblem.java
    flex/falcon/trunk/compiler/src/org/apache/flex/compiler/problems/MXMLInvalidIDProblem.java
    flex/falcon/trunk/compiler/src/org/apache/flex/compiler/problems/MXMLInvalidItemCreationPolicyProblem.java
    flex/falcon/trunk/compiler/src/org/apache/flex/compiler/problems/MXMLInvalidItemDestructionPolicyProblem.java
    flex/falcon/trunk/compiler/src/org/apache/flex/compiler/problems/MXMLInvalidSourceAttributeProblem.java
    flex/falcon/trunk/compiler/src/org/apache/flex/compiler/problems/MXMLInvalidVectorFixedAttributeProblem.java
    flex/falcon/trunk/compiler/src/org/apache/flex/compiler/problems/MXMLInvalidVectorTypeAttributeProblem.java
    flex/falcon/trunk/compiler/src/org/apache/flex/compiler/problems/MXMLNoAllowedAttributesProblem.java
    flex/falcon/trunk/compiler/src/org/apache/flex/compiler/problems/MXMLOtherLanguageNamespaceProblem.java
    flex/falcon/trunk/compiler/src/org/apache/flex/compiler/problems/MXMLPrivateAttributeProblem.java
    flex/falcon/trunk/compiler/src/org/apache/flex/compiler/problems/MXMLSemanticProblem.java
    flex/falcon/trunk/compiler/src/org/apache/flex/compiler/problems/MXMLSyntaxProblem.java
    flex/falcon/trunk/compiler/src/org/apache/flex/compiler/problems/MXMLUnexpectedAttributeProblem.java
    flex/falcon/trunk/compiler/src/org/apache/flex/compiler/problems/MXMLUnknownXMLFormatProblem.java

Modified: flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/parsing/as/BaseASParser.java
URL: http://svn.apache.org/viewvc/flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/parsing/as/BaseASParser.java?rev=1441616&r1=1441615&r2=1441616&view=diff
==============================================================================
--- flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/parsing/as/BaseASParser.java (original)
+++ flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/parsing/as/BaseASParser.java Fri Feb  1 20:24:12 2013
@@ -595,7 +595,7 @@ abstract class BaseASParser extends LLkP
             final Reader scriptReader,
             final Collection<ICompilerProblem> problems,
             final IProjectConfigVariables variables,
-            final SourceLocation location)
+            final ISourceLocation location)
     {
         assert scriptReader != null : "reader can't be null.";
         assert problems != null : "Problem container can't be null";

Modified: flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/parsing/mxml/MXMLScopeBuilder.java
URL: http://svn.apache.org/viewvc/flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/parsing/mxml/MXMLScopeBuilder.java?rev=1441616&r1=1441615&r2=1441616&view=diff
==============================================================================
--- flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/parsing/mxml/MXMLScopeBuilder.java (original)
+++ flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/parsing/mxml/MXMLScopeBuilder.java Fri Feb  1 20:24:12 2013
@@ -55,11 +55,11 @@ import org.apache.flex.compiler.internal
 import org.apache.flex.compiler.internal.units.MXMLCompilationUnit;
 import org.apache.flex.compiler.internal.workspaces.Workspace;
 import org.apache.flex.compiler.mxml.IMXMLData;
+import org.apache.flex.compiler.mxml.IMXMLTagAttributeData;
 import org.apache.flex.compiler.mxml.IMXMLTextData.TextType;
 import org.apache.flex.compiler.mxml.IMXMLLanguageConstants;
 import org.apache.flex.compiler.mxml.IMXMLTypeConstants;
 import org.apache.flex.compiler.mxml.MXMLNamespaceAttributeData;
-import org.apache.flex.compiler.mxml.MXMLTagAttributeData;
 import org.apache.flex.compiler.mxml.MXMLTagAttributeValue;
 import org.apache.flex.compiler.mxml.MXMLTagData;
 import org.apache.flex.compiler.mxml.MXMLTextData;
@@ -263,11 +263,11 @@ public class MXMLScopeBuilder
         TypeScope oldClassScope = currentClassScope;
         
         // Walk the attributes looking for 'name'.
-        MXMLTagAttributeData[] definitionTagAttrs = definitionTag.getAttributeDatas();
+        IMXMLTagAttributeData[] definitionTagAttrs = definitionTag.getAttributeDatas();
         String definitionName = null;
         int nameStart = -1;
         int nameEnd = -1;
-        for (MXMLTagAttributeData attr : definitionTagAttrs)
+        for (IMXMLTagAttributeData attr : definitionTagAttrs)
         {
             if ((!(attr instanceof MXMLNamespaceAttributeData)) && (attr.hasValue()))
             {
@@ -407,7 +407,7 @@ public class MXMLScopeBuilder
                 processState(tag, qname);
         }
 
-        MXMLTagAttributeData idAttribute = tag.getTagAttributeData("id");
+        IMXMLTagAttributeData idAttribute = tag.getTagAttributeData("id");
         String id = tag.getRawAttributeValue("id");
         if (id != null)
             processID(tag, idAttribute);
@@ -433,7 +433,7 @@ public class MXMLScopeBuilder
     {
         assert fileScope.isScriptTag(scriptTag);
         
-        MXMLTagAttributeData sourceAttribute = scriptTag.getTagAttributeData(IMXMLLanguageConstants.ATTRIBUTE_SOURCE);
+        IMXMLTagAttributeData sourceAttribute = scriptTag.getTagAttributeData(IMXMLLanguageConstants.ATTRIBUTE_SOURCE);
         if (sourceAttribute != null)
         {
             // script tag with source attribute
@@ -578,11 +578,11 @@ public class MXMLScopeBuilder
         TypeScope oldClassScope = currentClassScope;
         
         // Walk the attributes looking for 'className'.
-        MXMLTagAttributeData[] definitionTagAttrs = componentTag.getAttributeDatas();
+        IMXMLTagAttributeData[] definitionTagAttrs = componentTag.getAttributeDatas();
         String className = null;
         int nameStart = -1;
         int nameEnd = -1;
-        for (MXMLTagAttributeData attr : definitionTagAttrs)
+        for (IMXMLTagAttributeData attr : definitionTagAttrs)
         {
             if ((!(attr instanceof MXMLNamespaceAttributeData)) && (attr.hasValue()))
             {
@@ -646,7 +646,7 @@ public class MXMLScopeBuilder
 
         // if there is no name attribute, ignore it as a state, as name is
         // a required attribute
-        MXMLTagAttributeData nameAttribute = tag.getTagAttributeData(IMXMLLanguageConstants.ATTRIBUTE_NAME);
+        IMXMLTagAttributeData nameAttribute = tag.getTagAttributeData(IMXMLLanguageConstants.ATTRIBUTE_NAME);
         if (nameAttribute == null)
             return;
 
@@ -686,7 +686,7 @@ public class MXMLScopeBuilder
      */
     private void processSourceAttribute(MXMLTagData tag)
     {
-        MXMLTagAttributeData sourceAttribute = tag.getTagAttributeData(IMXMLLanguageConstants.ATTRIBUTE_SOURCE);
+        IMXMLTagAttributeData sourceAttribute = tag.getTagAttributeData(IMXMLLanguageConstants.ATTRIBUTE_SOURCE);
         if (sourceAttribute != null)
         {
             String sourcePath = MXMLNodeBase.resolveSourceAttributePath(null, sourceAttribute, null);
@@ -722,7 +722,7 @@ public class MXMLScopeBuilder
         }
     }
 
-    private void processID(MXMLTagData tag, MXMLTagAttributeData idAttribute)
+    private void processID(MXMLTagData tag, IMXMLTagAttributeData idAttribute)
     {
         String id = idAttribute.getRawValue();
         IReference typeRef = fileScope.resolveTagToReference(tag);

Modified: flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLApplicationNode.java
URL: http://svn.apache.org/viewvc/flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLApplicationNode.java?rev=1441616&r1=1441615&r2=1441616&view=diff
==============================================================================
--- flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLApplicationNode.java (original)
+++ flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLApplicationNode.java Fri Feb  1 20:24:12 2013
@@ -20,7 +20,7 @@
 package org.apache.flex.compiler.internal.tree.mxml;
 
 import org.apache.flex.compiler.internal.tree.as.NodeBase;
-import org.apache.flex.compiler.mxml.MXMLTagAttributeData;
+import org.apache.flex.compiler.mxml.IMXMLTagAttributeData;
 import org.apache.flex.compiler.mxml.MXMLTagData;
 import org.apache.flex.compiler.tree.ASTNodeID;
 import org.apache.flex.compiler.tree.mxml.IMXMLApplicationNode;
@@ -53,7 +53,7 @@ class MXMLApplicationNode extends MXMLDo
 
     @Override
     protected void processTagSpecificAttribute(MXMLTreeBuilder builder, MXMLTagData tag,
-                                               MXMLTagAttributeData attribute,
+                                               IMXMLTagAttributeData attribute,
                                                MXMLNodeInfo info)
     {
         String value = attribute.getRawValue();

Modified: flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLArrayNode.java
URL: http://svn.apache.org/viewvc/flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLArrayNode.java?rev=1441616&r1=1441615&r2=1441616&view=diff
==============================================================================
--- flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLArrayNode.java (original)
+++ flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLArrayNode.java Fri Feb  1 20:24:12 2013
@@ -23,6 +23,7 @@ import java.util.ArrayList;
 import java.util.EnumSet;
 import java.util.List;
 
+import org.apache.flex.compiler.common.ISourceLocation;
 import org.apache.flex.compiler.common.SourceLocation;
 import org.apache.flex.compiler.constants.IASLanguageConstants;
 import org.apache.flex.compiler.definitions.IClassDefinition;
@@ -255,7 +256,7 @@ class MXMLArrayNode extends MXMLInstance
         setChildren(children.toArray(new IMXMLNode[0]));
     }
 
-    public void initialize(MXMLTreeBuilder builder, SourceLocation location,
+    public void initialize(MXMLTreeBuilder builder, ISourceLocation location,
                            List<?> value)
     {
         setLocation(location);

Modified: flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLBindingAttributeNode.java
URL: http://svn.apache.org/viewvc/flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLBindingAttributeNode.java?rev=1441616&r1=1441615&r2=1441616&view=diff
==============================================================================
--- flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLBindingAttributeNode.java (original)
+++ flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLBindingAttributeNode.java Fri Feb  1 20:24:12 2013
@@ -31,7 +31,7 @@ import org.apache.flex.compiler.internal
 import org.apache.flex.compiler.internal.tree.as.ExpressionNodeBase;
 import org.apache.flex.compiler.internal.tree.as.NodeBase;
 import org.apache.flex.compiler.internal.workspaces.Workspace;
-import org.apache.flex.compiler.mxml.MXMLTagAttributeData;
+import org.apache.flex.compiler.mxml.IMXMLTagAttributeData;
 import org.apache.flex.compiler.problems.ICompilerProblem;
 import org.apache.flex.compiler.tree.ASTNodeID;
 import org.apache.flex.compiler.tree.as.IASNode;
@@ -102,7 +102,7 @@ class MXMLBindingAttributeNode extends M
     }
 
     public void initializeFromAttribute(MXMLTreeBuilder builder,
-                                       MXMLTagAttributeData attribute)
+                                        IMXMLTagAttributeData attribute)
     {
         attributeName = attribute.getName();
         setLocation(attribute);
@@ -115,7 +115,7 @@ class MXMLBindingAttributeNode extends M
     }
 
     private IExpressionNode createExpressionNode(MXMLTreeBuilder builder,
-                                                 MXMLTagAttributeData attribute)
+                                                 IMXMLTagAttributeData attribute)
     {
         Workspace workspace = builder.getWorkspace();
         Collection<ICompilerProblem> problems = builder.getProblems();

Modified: flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLBindingNode.java
URL: http://svn.apache.org/viewvc/flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLBindingNode.java?rev=1441616&r1=1441615&r2=1441616&view=diff
==============================================================================
--- flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLBindingNode.java (original)
+++ flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLBindingNode.java Fri Feb  1 20:24:12 2013
@@ -23,7 +23,7 @@ import org.apache.flex.compiler.constant
 import org.apache.flex.compiler.internal.projects.FlexProject;
 import org.apache.flex.compiler.internal.tree.as.NodeBase;
 import org.apache.flex.compiler.mxml.IMXMLLanguageConstants;
-import org.apache.flex.compiler.mxml.MXMLTagAttributeData;
+import org.apache.flex.compiler.mxml.IMXMLTagAttributeData;
 import org.apache.flex.compiler.mxml.MXMLTagData;
 import org.apache.flex.compiler.problems.ICompilerProblem;
 import org.apache.flex.compiler.problems.MXMLEmptyAttributeProblem;
@@ -92,7 +92,7 @@ class MXMLBindingNode extends MXMLNodeBa
 
     @Override
     protected void processTagSpecificAttribute(MXMLTreeBuilder builder, MXMLTagData tag,
-                                               MXMLTagAttributeData attribute,
+                                               IMXMLTagAttributeData attribute,
                                                MXMLNodeInfo info)
     {
         if (attribute.isSpecialAttribute(ATTRIBUTE_SOURCE))
@@ -139,8 +139,8 @@ class MXMLBindingNode extends MXMLNodeBa
 
         // Do some semantic checks.
 
-        MXMLTagAttributeData sourceAttribute = tag.getTagAttributeData(ATTRIBUTE_SOURCE);
-        MXMLTagAttributeData destinationAttribute = tag.getTagAttributeData(ATTRIBUTE_DESTINATION);
+        IMXMLTagAttributeData sourceAttribute = tag.getTagAttributeData(ATTRIBUTE_SOURCE);
+        IMXMLTagAttributeData destinationAttribute = tag.getTagAttributeData(ATTRIBUTE_DESTINATION);
 
         String trimmedSourceValue = null;
         String trimmedDestinationValue = null;

Modified: flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLClassDefinitionNode.java
URL: http://svn.apache.org/viewvc/flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLClassDefinitionNode.java?rev=1441616&r1=1441615&r2=1441616&view=diff
==============================================================================
--- flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLClassDefinitionNode.java (original)
+++ flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLClassDefinitionNode.java Fri Feb  1 20:24:12 2013
@@ -42,9 +42,9 @@ import org.apache.flex.compiler.internal
 import org.apache.flex.compiler.internal.scopes.TypeScope;
 import org.apache.flex.compiler.internal.tree.as.ImportNode;
 import org.apache.flex.compiler.internal.tree.as.NodeBase;
+import org.apache.flex.compiler.mxml.IMXMLTagAttributeData;
 import org.apache.flex.compiler.mxml.IStateDefinition;
 import org.apache.flex.compiler.mxml.IStateGroupDefinition;
-import org.apache.flex.compiler.mxml.MXMLTagAttributeData;
 import org.apache.flex.compiler.mxml.MXMLTagData;
 import org.apache.flex.compiler.mxml.StateDefinition;
 import org.apache.flex.compiler.mxml.StateGroupDefinition;
@@ -234,7 +234,7 @@ public class MXMLClassDefinitionNode ext
 
     @Override
     protected void processTagSpecificAttribute(MXMLTreeBuilder builder, MXMLTagData tag,
-                                               MXMLTagAttributeData attribute,
+                                               IMXMLTagAttributeData attribute,
                                                MXMLNodeInfo info)
     {
         if (attribute.isSpecialAttribute(ATTRIBUTE_IMPLEMENTS))

Modified: flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLClassNode.java
URL: http://svn.apache.org/viewvc/flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLClassNode.java?rev=1441616&r1=1441615&r2=1441616&view=diff
==============================================================================
--- flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLClassNode.java (original)
+++ flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLClassNode.java Fri Feb  1 20:24:12 2013
@@ -19,7 +19,7 @@
 
 package org.apache.flex.compiler.internal.tree.mxml;
 
-import org.apache.flex.compiler.common.SourceLocation;
+import org.apache.flex.compiler.common.ISourceLocation;
 import org.apache.flex.compiler.constants.IASLanguageConstants;
 import org.apache.flex.compiler.definitions.IDefinition;
 import org.apache.flex.compiler.definitions.ITypeDefinition;
@@ -110,7 +110,7 @@ class MXMLClassNode extends MXMLExpressi
     }
 
     protected void initializeFromFragments(MXMLTreeBuilder builder,
-                                           SourceLocation location,
+                                           ISourceLocation location,
                                            ISourceFragment[] fragments)
     {
         setLocation(location);
@@ -138,7 +138,7 @@ class MXMLClassNode extends MXMLExpressi
     }
     
     @Override
-    public void initialize(MXMLTreeBuilder builder, SourceLocation location,
+    public void initialize(MXMLTreeBuilder builder, ISourceLocation location,
                            String type, NodeBase expressionNode)
     {
         super.initialize(builder, location, type, expressionNode);

Modified: flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLClassReferenceNodeBase.java
URL: http://svn.apache.org/viewvc/flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLClassReferenceNodeBase.java?rev=1441616&r1=1441615&r2=1441616&view=diff
==============================================================================
--- flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLClassReferenceNodeBase.java (original)
+++ flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLClassReferenceNodeBase.java Fri Feb  1 20:24:12 2013
@@ -37,7 +37,7 @@ import org.apache.flex.compiler.internal
 import org.apache.flex.compiler.internal.projects.FlexProject;
 import org.apache.flex.compiler.internal.scopes.ASProjectScope;
 import org.apache.flex.compiler.internal.tree.as.NodeBase;
-import org.apache.flex.compiler.mxml.MXMLTagAttributeData;
+import org.apache.flex.compiler.mxml.IMXMLTagAttributeData;
 import org.apache.flex.compiler.mxml.MXMLTagData;
 import org.apache.flex.compiler.mxml.MXMLTextData;
 import org.apache.flex.compiler.mxml.MXMLUnitData;
@@ -365,7 +365,7 @@ abstract class MXMLClassReferenceNodeBas
 
     @Override
     protected void processTagSpecificAttribute(MXMLTreeBuilder builder, MXMLTagData tag,
-                                               MXMLTagAttributeData attribute,
+                                               IMXMLTagAttributeData attribute,
                                                MXMLNodeInfo info)
     {
 

Modified: flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLClearNode.java
URL: http://svn.apache.org/viewvc/flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLClearNode.java?rev=1441616&r1=1441615&r2=1441616&view=diff
==============================================================================
--- flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLClearNode.java (original)
+++ flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLClearNode.java Fri Feb  1 20:24:12 2013
@@ -19,7 +19,7 @@
 
 package org.apache.flex.compiler.internal.tree.mxml;
 
-import org.apache.flex.compiler.common.SourceLocation;
+import org.apache.flex.compiler.common.ISourceLocation;
 import org.apache.flex.compiler.internal.tree.as.NodeBase;
 import org.apache.flex.compiler.tree.ASTNodeID;
 import org.apache.flex.compiler.tree.mxml.IMXMLClearNode;
@@ -53,7 +53,7 @@ class MXMLClearNode extends MXMLCompiler
     }
 
     @Override
-    public void initializeFromText(MXMLTreeBuilder builder, String text, SourceLocation location)
+    public void initializeFromText(MXMLTreeBuilder builder, String text, ISourceLocation location)
     {
         // nothing to do
     }

Modified: flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLCompilerDirectiveNodeBase.java
URL: http://svn.apache.org/viewvc/flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLCompilerDirectiveNodeBase.java?rev=1441616&r1=1441615&r2=1441616&view=diff
==============================================================================
--- flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLCompilerDirectiveNodeBase.java (original)
+++ flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLCompilerDirectiveNodeBase.java Fri Feb  1 20:24:12 2013
@@ -19,7 +19,7 @@
 
 package org.apache.flex.compiler.internal.tree.mxml;
 
-import org.apache.flex.compiler.common.SourceLocation;
+import org.apache.flex.compiler.common.ISourceLocation;
 import org.apache.flex.compiler.definitions.metadata.IMetaTagAttribute;
 import org.apache.flex.compiler.internal.parsing.as.ASParser;
 import org.apache.flex.compiler.internal.tree.as.NodeBase;
@@ -53,9 +53,9 @@ abstract class MXMLCompilerDirectiveNode
         return attributes;
     }
 
-    public abstract void initializeFromText(MXMLTreeBuilder builder, String text, SourceLocation location);
+    public abstract void initializeFromText(MXMLTreeBuilder builder, String text, ISourceLocation location);
 
-    protected void parseTextAndSetAttributes(MXMLTreeBuilder builder, String text, SourceLocation location, String attributeName)
+    protected void parseTextAndSetAttributes(MXMLTreeBuilder builder, String text, ISourceLocation location, String attributeName)
     {
         MetaTagsNode metaTags = ASParser.parseAtFunction(builder.getWorkspace(), text,
                 location.getSourcePath(), location.getAbsoluteStart(), location.getLine(), location.getColumn(), builder.getProblems());

Modified: flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLCompilerDirectiveParser.java
URL: http://svn.apache.org/viewvc/flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLCompilerDirectiveParser.java?rev=1441616&r1=1441615&r2=1441616&view=diff
==============================================================================
--- flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLCompilerDirectiveParser.java (original)
+++ flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLCompilerDirectiveParser.java Fri Feb  1 20:24:12 2013
@@ -19,7 +19,7 @@
 
 package org.apache.flex.compiler.internal.tree.mxml;
 
-import org.apache.flex.compiler.common.SourceLocation;
+import org.apache.flex.compiler.common.ISourceLocation;
 import org.apache.flex.compiler.constants.IMetaAttributeConstants;
 import org.apache.flex.compiler.constants.IASLanguageConstants.BuiltinType;
 import org.apache.flex.compiler.definitions.ITypeDefinition;
@@ -49,7 +49,7 @@ class MXMLCompilerDirectiveParser
      * @return MXMLInstanceNode or null if no at function contained within text
      */
     public static MXMLInstanceNode parse(MXMLTreeBuilder builder, IMXMLNode parent,
-                                         SourceLocation location, String text, ITypeDefinition type)
+                                         ISourceLocation location, String text, ITypeDefinition type)
     {
         String atFunctionName = getAtFunctionName(text);
         if (atFunctionName == null)
@@ -78,7 +78,7 @@ class MXMLCompilerDirectiveParser
     }
 
     private static MXMLCompilerDirectiveNodeBase parseAtFunction(
-            MXMLTreeBuilder builder, IMXMLNode parent, SourceLocation location,
+            MXMLTreeBuilder builder, IMXMLNode parent, ISourceLocation location,
             String functionName, String text, ITypeDefinition type)
     {
         MXMLCompilerDirectiveNodeBase result = null;

Modified: flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLComponentNode.java
URL: http://svn.apache.org/viewvc/flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLComponentNode.java?rev=1441616&r1=1441615&r2=1441616&view=diff
==============================================================================
--- flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLComponentNode.java (original)
+++ flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLComponentNode.java Fri Feb  1 20:24:12 2013
@@ -26,7 +26,7 @@ import org.apache.flex.compiler.internal
 import org.apache.flex.compiler.internal.scopes.MXMLFileScope;
 import org.apache.flex.compiler.internal.scopes.TypeScope;
 import org.apache.flex.compiler.internal.tree.as.NodeBase;
-import org.apache.flex.compiler.mxml.MXMLTagAttributeData;
+import org.apache.flex.compiler.mxml.IMXMLTagAttributeData;
 import org.apache.flex.compiler.mxml.MXMLTagData;
 import org.apache.flex.compiler.problems.ICompilerProblem;
 import org.apache.flex.compiler.problems.MXMLSemanticProblem;
@@ -91,7 +91,7 @@ class MXMLComponentNode extends MXMLFact
 
     @Override
     protected void processTagSpecificAttribute(MXMLTreeBuilder builder, MXMLTagData tag,
-                                               MXMLTagAttributeData attribute,
+                                               IMXMLTagAttributeData attribute,
                                                MXMLNodeInfo info)
     {
         if (attribute.isSpecialAttribute(ATTRIBUTE_CLASS_NAME))

Modified: flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLDataBindingParser.java
URL: http://svn.apache.org/viewvc/flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLDataBindingParser.java?rev=1441616&r1=1441615&r2=1441616&view=diff
==============================================================================
--- flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLDataBindingParser.java (original)
+++ flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLDataBindingParser.java Fri Feb  1 20:24:12 2013
@@ -24,7 +24,7 @@ import java.util.ArrayList;
 import java.util.Collection;
 import java.util.List;
 
-import org.apache.flex.compiler.common.SourceLocation;
+import org.apache.flex.compiler.common.ISourceLocation;
 import org.apache.flex.compiler.internal.mxml.MXMLDialect;
 import org.apache.flex.compiler.internal.parsing.ISourceFragment;
 import org.apache.flex.compiler.internal.parsing.SourceFragment;
@@ -85,7 +85,7 @@ class MXMLDataBindingParser
      * text is found, an {@code IMXMLConcatenatedDataBindingNode} is returned.
      */
     public static Object parse(IMXMLNode parent,
-                               SourceLocation sourceLocation,
+                               ISourceLocation sourceLocation,
                                ISourceFragment[] fragments,
                                Collection<ICompilerProblem> problems,
                                Workspace workspace,
@@ -267,7 +267,7 @@ class MXMLDataBindingParser
     }
 
     private static IASNode createNode(IMXMLNode parent,
-                                      SourceLocation sourceLocation,
+                                      ISourceLocation sourceLocation,
                                       List<FragmentList> listOfFragmentLists,
                                       Collection<ICompilerProblem> problems,
                                       Workspace workspace,
@@ -328,7 +328,7 @@ class MXMLDataBindingParser
 
     private static ILiteralNode createStringLiteralNode(
             MXMLConcatenatedDataBindingNode parent,
-            SourceLocation sourceLocation,
+            ISourceLocation sourceLocation,
             List<ISourceFragment> fragmentList)
     {
         ISourceFragment[] fragments = fragmentList.toArray(new ISourceFragment[0]);
@@ -350,7 +350,7 @@ class MXMLDataBindingParser
 
     private static IMXMLSingleDataBindingNode createDataBindingNode(
             IMXMLNode parent,
-            SourceLocation sourceLocation,
+            ISourceLocation sourceLocation,
             List<ISourceFragment> fragments,
             Collection<ICompilerProblem> problems,
             Workspace workspace)
@@ -385,8 +385,7 @@ class MXMLDataBindingParser
     }
 
     // Makes a databinding node whose expression is just an empty string
-    private static IMXMLSingleDataBindingNode createEmptyDatabindingNode(IMXMLNode parent,
-            SourceLocation sourceLocation)
+    private static IMXMLSingleDataBindingNode createEmptyDatabindingNode(IMXMLNode parent, ISourceLocation sourceLocation)
     {
         MXMLSingleDataBindingNode result = new MXMLSingleDataBindingNode((NodeBase)parent);
 

Modified: flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLDeferredInstanceNode.java
URL: http://svn.apache.org/viewvc/flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLDeferredInstanceNode.java?rev=1441616&r1=1441615&r2=1441616&view=diff
==============================================================================
--- flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLDeferredInstanceNode.java (original)
+++ flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLDeferredInstanceNode.java Fri Feb  1 20:24:12 2013
@@ -21,6 +21,7 @@ package org.apache.flex.compiler.interna
 
 import java.util.List;
 
+import org.apache.flex.compiler.common.ISourceLocation;
 import org.apache.flex.compiler.common.SourceLocation;
 import org.apache.flex.compiler.constants.IASLanguageConstants;
 import org.apache.flex.compiler.definitions.IClassDefinition;
@@ -173,7 +174,7 @@ class MXMLDeferredInstanceNode extends M
     }
 
     public void initializeFromFragments(MXMLTreeBuilder builder,
-                                        SourceLocation location,
+                                        ISourceLocation location,
                                         ISourceFragment[] fragments)
     {
         // This node represents an instance of mx.core.DeferredInstanceFromClass.

Modified: flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLDefinitionNode.java
URL: http://svn.apache.org/viewvc/flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLDefinitionNode.java?rev=1441616&r1=1441615&r2=1441616&view=diff
==============================================================================
--- flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLDefinitionNode.java (original)
+++ flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLDefinitionNode.java Fri Feb  1 20:24:12 2013
@@ -26,7 +26,7 @@ import org.apache.flex.compiler.internal
 import org.apache.flex.compiler.internal.scopes.MXMLFileScope;
 import org.apache.flex.compiler.internal.tree.as.NodeBase;
 import org.apache.flex.compiler.mxml.IMXMLLanguageConstants;
-import org.apache.flex.compiler.mxml.MXMLTagAttributeData;
+import org.apache.flex.compiler.mxml.IMXMLTagAttributeData;
 import org.apache.flex.compiler.mxml.MXMLTagData;
 import org.apache.flex.compiler.problems.ICompilerProblem;
 import org.apache.flex.compiler.problems.MXMLEmptyAttributeProblem;
@@ -83,7 +83,7 @@ class MXMLDefinitionNode extends MXMLNod
 
     @Override
     protected void processTagSpecificAttribute(MXMLTreeBuilder builder, MXMLTagData tag,
-                                               MXMLTagAttributeData attribute,
+                                               IMXMLTagAttributeData attribute,
                                                MXMLNodeInfo info)
     {
         if (attribute.isSpecialAttribute(ATTRIBUTE_NAME))

Modified: flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLDocumentNode.java
URL: http://svn.apache.org/viewvc/flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLDocumentNode.java?rev=1441616&r1=1441615&r2=1441616&view=diff
==============================================================================
--- flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLDocumentNode.java (original)
+++ flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLDocumentNode.java Fri Feb  1 20:24:12 2013
@@ -24,7 +24,7 @@ import java.util.Map;
 
 import org.apache.flex.compiler.internal.scopes.MXMLFileScope;
 import org.apache.flex.compiler.internal.tree.as.NodeBase;
-import org.apache.flex.compiler.mxml.MXMLTagAttributeData;
+import org.apache.flex.compiler.mxml.IMXMLTagAttributeData;
 import org.apache.flex.compiler.mxml.MXMLTagData;
 import org.apache.flex.compiler.problems.ICompilerProblem;
 import org.apache.flex.compiler.problems.MXMLPrivateTagLocationProblem;
@@ -136,7 +136,7 @@ public class MXMLDocumentNode extends MX
      * attributes on the root tag.
      */
     @Override
-    protected void processTagSpecificAttribute(MXMLTreeBuilder builder, MXMLTagData tag, MXMLTagAttributeData attribute, MXMLNodeInfo info)
+    protected void processTagSpecificAttribute(MXMLTreeBuilder builder, MXMLTagData tag, IMXMLTagAttributeData attribute, MXMLNodeInfo info)
     {
         final String name = attribute.getName();
         rootAttributes.put(name, attribute.getRawValue());

Modified: flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLEmbedNode.java
URL: http://svn.apache.org/viewvc/flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLEmbedNode.java?rev=1441616&r1=1441615&r2=1441616&view=diff
==============================================================================
--- flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLEmbedNode.java (original)
+++ flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLEmbedNode.java Fri Feb  1 20:24:12 2013
@@ -25,7 +25,7 @@ import java.util.LinkedList;
 import java.util.List;
 
 import org.apache.flex.compiler.common.IEmbedResolver;
-import org.apache.flex.compiler.common.SourceLocation;
+import org.apache.flex.compiler.common.ISourceLocation;
 import org.apache.flex.compiler.constants.IMetaAttributeConstants;
 import org.apache.flex.compiler.definitions.IClassDefinition;
 import org.apache.flex.compiler.exceptions.CodegenInterruptedException;
@@ -83,7 +83,7 @@ class MXMLEmbedNode extends MXMLCompiler
 
     @Override
     public void initializeFromText(MXMLTreeBuilder builder,
-                                   String text, SourceLocation location)
+                                   String text, ISourceLocation location)
     {
         parseTextAndSetAttributes(builder, text, location, IMetaAttributeConstants.ATTRIBUTE_EMBED);
 

Modified: flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLEventSpecifierNode.java
URL: http://svn.apache.org/viewvc/flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLEventSpecifierNode.java?rev=1441616&r1=1441615&r2=1441616&view=diff
==============================================================================
--- flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLEventSpecifierNode.java (original)
+++ flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLEventSpecifierNode.java Fri Feb  1 20:24:12 2013
@@ -38,7 +38,7 @@ import org.apache.flex.compiler.internal
 import org.apache.flex.compiler.internal.tree.as.NodeBase;
 import org.apache.flex.compiler.internal.tree.as.ScopedBlockNode;
 import org.apache.flex.compiler.internal.workspaces.Workspace;
-import org.apache.flex.compiler.mxml.MXMLTagAttributeData;
+import org.apache.flex.compiler.mxml.IMXMLTagAttributeData;
 import org.apache.flex.compiler.mxml.MXMLTagData;
 import org.apache.flex.compiler.mxml.MXMLTextData;
 import org.apache.flex.compiler.problems.ICompilerProblem;
@@ -133,7 +133,7 @@ class MXMLEventSpecifierNode extends MXM
      */
     @Override
     protected void initializeFromAttribute(MXMLTreeBuilder builder,
-                                           MXMLTagAttributeData attribute,
+                                           IMXMLTagAttributeData attribute,
                                            MXMLNodeInfo info)
     {
         super.initializeFromAttribute(builder, attribute, info);

Modified: flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLExpressionNodeBase.java
URL: http://svn.apache.org/viewvc/flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLExpressionNodeBase.java?rev=1441616&r1=1441615&r2=1441616&view=diff
==============================================================================
--- flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLExpressionNodeBase.java (original)
+++ flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLExpressionNodeBase.java Fri Feb  1 20:24:12 2013
@@ -20,6 +20,8 @@
 package org.apache.flex.compiler.internal.tree.mxml;
 
 import java.util.EnumSet;
+
+import org.apache.flex.compiler.common.ISourceLocation;
 import org.apache.flex.compiler.common.SourceLocation;
 import org.apache.flex.compiler.definitions.IDefinition;
 import org.apache.flex.compiler.definitions.ITypeDefinition;
@@ -102,7 +104,7 @@ abstract class MXMLExpressionNodeBase ex
      * This initialization method is used when implicit <int> etc. nodes are
      * created, such as for property values.
      */
-    public void initialize(MXMLTreeBuilder builder, SourceLocation location,
+    public void initialize(MXMLTreeBuilder builder, ISourceLocation location,
                            String type, NodeBase expressionNode)
     {
         setLocation(location);

Modified: flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLFactoryNode.java
URL: http://svn.apache.org/viewvc/flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLFactoryNode.java?rev=1441616&r1=1441615&r2=1441616&view=diff
==============================================================================
--- flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLFactoryNode.java (original)
+++ flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLFactoryNode.java Fri Feb  1 20:24:12 2013
@@ -19,7 +19,7 @@
 
 package org.apache.flex.compiler.internal.tree.mxml;
 
-import org.apache.flex.compiler.common.SourceLocation;
+import org.apache.flex.compiler.common.ISourceLocation;
 import org.apache.flex.compiler.internal.parsing.ISourceFragment;
 import org.apache.flex.compiler.internal.projects.FlexProject;
 import org.apache.flex.compiler.internal.tree.as.NodeBase;
@@ -81,7 +81,7 @@ class MXMLFactoryNode extends MXMLInstan
     }
 
     protected void initializeFromFragments(MXMLTreeBuilder builder,
-                                           SourceLocation location,
+                                           ISourceLocation location,
                                            ISourceFragment[] fragments)
     {
         initialize(builder);

Modified: flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLImplementsNode.java
URL: http://svn.apache.org/viewvc/flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLImplementsNode.java?rev=1441616&r1=1441615&r2=1441616&view=diff
==============================================================================
--- flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLImplementsNode.java (original)
+++ flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLImplementsNode.java Fri Feb  1 20:24:12 2013
@@ -36,7 +36,7 @@ import org.apache.flex.compiler.internal
 import org.apache.flex.compiler.internal.tree.as.NodeBase;
 import org.apache.flex.compiler.internal.workspaces.Workspace;
 import org.apache.flex.compiler.mxml.IMXMLLanguageConstants;
-import org.apache.flex.compiler.mxml.MXMLTagAttributeData;
+import org.apache.flex.compiler.mxml.IMXMLTagAttributeData;
 import org.apache.flex.compiler.problems.ICompilerProblem;
 import org.apache.flex.compiler.tree.ASTNodeID;
 import org.apache.flex.compiler.tree.as.IASNode;
@@ -116,7 +116,7 @@ class MXMLImplementsNode extends MXMLNod
      * <code>implements</code> attribute.
      */
     protected void initializeFromAttribute(MXMLTreeBuilder builder,
-                                           MXMLTagAttributeData attribute)
+                                           IMXMLTagAttributeData attribute)
     {
         setLocation(attribute);
         adjustOffsets(builder);

Modified: flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLInstanceNode.java
URL: http://svn.apache.org/viewvc/flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLInstanceNode.java?rev=1441616&r1=1441615&r2=1441616&view=diff
==============================================================================
--- flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLInstanceNode.java (original)
+++ flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLInstanceNode.java Fri Feb  1 20:24:12 2013
@@ -28,8 +28,8 @@ import org.apache.flex.compiler.internal
 import org.apache.flex.compiler.internal.projects.FlexProject;
 import org.apache.flex.compiler.internal.scopes.ASScope;
 import org.apache.flex.compiler.internal.tree.as.NodeBase;
+import org.apache.flex.compiler.mxml.IMXMLTagAttributeData;
 import org.apache.flex.compiler.mxml.IMXMLTypeConstants;
-import org.apache.flex.compiler.mxml.MXMLTagAttributeData;
 import org.apache.flex.compiler.mxml.MXMLTagData;
 import org.apache.flex.compiler.problems.ICompilerProblem;
 import org.apache.flex.compiler.problems.MXMLAttributeVersionProblem;
@@ -167,7 +167,7 @@ class MXMLInstanceNode extends MXMLClass
 
     @Override
     protected void processTagSpecificAttribute(MXMLTreeBuilder builder, MXMLTagData tag,
-                                               MXMLTagAttributeData attribute,
+                                               IMXMLTagAttributeData attribute,
                                                MXMLNodeInfo info)
     {
         if (attribute.isSpecialAttribute(ATTRIBUTE_ID))
@@ -190,7 +190,7 @@ class MXMLInstanceNode extends MXMLClass
     }
 
     private String processIDAttribute(MXMLTreeBuilder builder,
-                                      MXMLTagAttributeData attribute)
+                                      IMXMLTagAttributeData attribute)
     {
         String value = attribute.getRawValue();
 
@@ -223,7 +223,7 @@ class MXMLInstanceNode extends MXMLClass
     }
 
     protected String processItemCreationPolicyAttribute(MXMLTreeBuilder builder,
-                                                        MXMLTagAttributeData attribute)
+                                                        IMXMLTagAttributeData attribute)
     {
         MXMLDialect mxmlDialect = builder.getMXMLDialect();
         if (mxmlDialect == MXMLDialect.MXML_2006)
@@ -250,7 +250,7 @@ class MXMLInstanceNode extends MXMLClass
     }
 
     protected String processItemDestructionPolicyAttribute(MXMLTreeBuilder builder,
-                                                           MXMLTagAttributeData attribute)
+                                                           IMXMLTagAttributeData attribute)
     {
         MXMLDialect mxmlDialect = builder.getMXMLDialect();
         if (mxmlDialect == MXMLDialect.MXML_2006)

Modified: flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLModelNode.java
URL: http://svn.apache.org/viewvc/flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLModelNode.java?rev=1441616&r1=1441615&r2=1441616&view=diff
==============================================================================
--- flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLModelNode.java (original)
+++ flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLModelNode.java Fri Feb  1 20:24:12 2013
@@ -23,7 +23,7 @@ import org.apache.flex.compiler.internal
 import org.apache.flex.compiler.internal.tree.as.NodeBase;
 import org.apache.flex.compiler.mxml.IMXMLData;
 import org.apache.flex.compiler.mxml.IMXMLLanguageConstants;
-import org.apache.flex.compiler.mxml.MXMLTagAttributeData;
+import org.apache.flex.compiler.mxml.IMXMLTagAttributeData;
 import org.apache.flex.compiler.mxml.MXMLTagData;
 import org.apache.flex.compiler.problems.ICompilerProblem;
 import org.apache.flex.compiler.problems.MXMLDualContentProblem;
@@ -97,7 +97,7 @@ class MXMLModelNode extends MXMLInstance
 
     @Override
     protected void processTagSpecificAttribute(MXMLTreeBuilder builder, MXMLTagData tag,
-                                               MXMLTagAttributeData attribute,
+                                               IMXMLTagAttributeData attribute,
                                                MXMLNodeInfo info)
     {
         if (attribute.isSpecialAttribute(ATTRIBUTE_SOURCE))

Modified: flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLModelPropertyContainerNodeBase.java
URL: http://svn.apache.org/viewvc/flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLModelPropertyContainerNodeBase.java?rev=1441616&r1=1441615&r2=1441616&view=diff
==============================================================================
--- flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLModelPropertyContainerNodeBase.java (original)
+++ flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLModelPropertyContainerNodeBase.java Fri Feb  1 20:24:12 2013
@@ -23,7 +23,7 @@ import java.util.ArrayList;
 import java.util.List;
 
 import org.apache.flex.compiler.internal.tree.as.NodeBase;
-import org.apache.flex.compiler.mxml.MXMLTagAttributeData;
+import org.apache.flex.compiler.mxml.IMXMLTagAttributeData;
 import org.apache.flex.compiler.mxml.MXMLTagData;
 import org.apache.flex.compiler.tree.as.IASNode;
 import org.apache.flex.compiler.tree.mxml.IMXMLModelPropertyContainerNode;
@@ -136,7 +136,7 @@ abstract class MXMLModelPropertyContaine
     }
 
     protected void initializeFromAttribute(MXMLTreeBuilder builder,
-                                           MXMLTagAttributeData attribute)
+                                           IMXMLTagAttributeData attribute)
     {
         /*
          * For Model, namespaces are just ignored, so we can just use the short
@@ -157,7 +157,7 @@ abstract class MXMLModelPropertyContaine
 
     @Override
     protected void processTagSpecificAttribute(MXMLTreeBuilder builder, MXMLTagData tag,
-                                               MXMLTagAttributeData attribute,
+                                               IMXMLTagAttributeData attribute,
                                                MXMLNodeInfo info)
     {
         if (attribute.getPrefix() != null)

Modified: flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLModelPropertyNode.java
URL: http://svn.apache.org/viewvc/flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLModelPropertyNode.java?rev=1441616&r1=1441615&r2=1441616&view=diff
==============================================================================
--- flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLModelPropertyNode.java (original)
+++ flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLModelPropertyNode.java Fri Feb  1 20:24:12 2013
@@ -23,13 +23,13 @@ import java.util.Collection;
 import java.util.EnumSet;
 import java.util.List;
 
-import org.apache.flex.compiler.common.SourceLocation;
+import org.apache.flex.compiler.common.ISourceLocation;
 import org.apache.flex.compiler.definitions.ITypeDefinition;
 import org.apache.flex.compiler.internal.definitions.ClassDefinition;
 import org.apache.flex.compiler.internal.mxml.MXMLDialect.TextParsingFlags;
 import org.apache.flex.compiler.internal.parsing.ISourceFragment;
 import org.apache.flex.compiler.internal.tree.as.NodeBase;
-import org.apache.flex.compiler.mxml.MXMLTagAttributeData;
+import org.apache.flex.compiler.mxml.IMXMLTagAttributeData;
 import org.apache.flex.compiler.mxml.MXMLTagData;
 import org.apache.flex.compiler.mxml.MXMLTextData;
 import org.apache.flex.compiler.problems.ICompilerProblem;
@@ -98,19 +98,19 @@ class MXMLModelPropertyNode extends MXML
 
     @Override
     protected void initializeFromAttribute(MXMLTreeBuilder builder,
-                                           MXMLTagAttributeData attribute)
+                                           IMXMLTagAttributeData attribute)
     {
         super.initializeFromAttribute(builder, attribute);
 
         Collection<ICompilerProblem> problems = builder.getProblems();
         ISourceFragment[] fragments = attribute.getValueFragments(problems);
-        SourceLocation location = attribute.getValueLocation();
+        ISourceLocation location = attribute.getValueLocation();
         instanceNode = createInstanceNode(builder, fragments, location);
     }
 
     @Override
     protected void processTagSpecificAttribute(MXMLTreeBuilder builder, MXMLTagData tag,
-                                               MXMLTagAttributeData attribute,
+                                               IMXMLTagAttributeData attribute,
                                                MXMLNodeInfo info)
     {
         MXMLModelPropertyNode propertyNode = new MXMLModelPropertyNode(this);
@@ -149,7 +149,7 @@ class MXMLModelPropertyNode extends MXML
 
     private MXMLInstanceNode createInstanceNode(MXMLTreeBuilder builder,
                                                 ISourceFragment[] fragments,
-                                                SourceLocation location)
+                                                ISourceLocation location)
     {
         ITypeDefinition anyType = ClassDefinition.getAnyTypeClassDefinition();
         MXMLClassDefinitionNode classNode =

Modified: flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLNodeBase.java
URL: http://svn.apache.org/viewvc/flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLNodeBase.java?rev=1441616&r1=1441615&r2=1441616&view=diff
==============================================================================
--- flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLNodeBase.java (original)
+++ flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLNodeBase.java Fri Feb  1 20:24:12 2013
@@ -48,10 +48,10 @@ import org.apache.flex.compiler.internal
 import org.apache.flex.compiler.internal.tree.as.NodeBase;
 import org.apache.flex.compiler.internal.tree.as.ScopedBlockNode;
 import org.apache.flex.compiler.internal.workspaces.Workspace;
+import org.apache.flex.compiler.mxml.IMXMLTagAttributeData;
 import org.apache.flex.compiler.mxml.IMXMLTextData.TextType;
 import org.apache.flex.compiler.mxml.MXMLData;
 import org.apache.flex.compiler.mxml.MXMLNamespaceAttributeData;
-import org.apache.flex.compiler.mxml.MXMLTagAttributeData;
 import org.apache.flex.compiler.mxml.MXMLTagData;
 import org.apache.flex.compiler.mxml.MXMLTextData;
 import org.apache.flex.compiler.mxml.MXMLUnitData;
@@ -156,7 +156,7 @@ public abstract class MXMLNodeBase exten
      * @return A resolved and normalized path to the external file.
      */
     public static String resolveSourceAttributePath(MXMLTreeBuilder builder,
-                                                    MXMLTagAttributeData attribute,
+                                                    IMXMLTagAttributeData attribute,
                                                     MXMLNodeInfo info)
     {
         if (info != null)
@@ -268,7 +268,7 @@ public abstract class MXMLNodeBase exten
         MXMLNodeInfo info = createNodeInfo(builder);
 
         // Process each attribute.
-        for (MXMLTagAttributeData attribute : tag.getAttributeDatas())
+        for (IMXMLTagAttributeData attribute : tag.getAttributeDatas())
         {
             processAttribute(builder, tag, attribute, info);
         }
@@ -373,7 +373,7 @@ public abstract class MXMLNodeBase exten
      * attribute.
      */
     private void processAttribute(MXMLTreeBuilder builder, MXMLTagData tag,
-                                  MXMLTagAttributeData attribute,
+                                  IMXMLTagAttributeData attribute,
                                   MXMLNodeInfo info)
     {
         if (attribute instanceof MXMLNamespaceAttributeData)
@@ -429,7 +429,7 @@ public abstract class MXMLNodeBase exten
      * @return <code>true</code> if the attribute is a private attribute and
      * <code>false</code> otherwise.
      */
-    private static boolean isPrivateAttribute(MXMLTagAttributeData attribute)
+    private static boolean isPrivateAttribute(IMXMLTagAttributeData attribute)
     {
         String attributeURI = attribute.getURI();
         if (attributeURI == null)
@@ -465,7 +465,7 @@ public abstract class MXMLNodeBase exten
      * attribute.
      */
     private void processPrivateAttribute(MXMLTreeBuilder builder, MXMLTagData tag,
-                                         MXMLTagAttributeData attribute)
+                                         IMXMLTagAttributeData attribute)
     {
         ICompilerProblem problem = new MXMLPrivateAttributeProblem(attribute);
         builder.addProblem(problem);
@@ -491,7 +491,7 @@ public abstract class MXMLNodeBase exten
      * attribute.
      */
     protected void processTagSpecificAttribute(MXMLTreeBuilder builder, MXMLTagData tag,
-                                               MXMLTagAttributeData attribute,
+                                               IMXMLTagAttributeData attribute,
                                                MXMLNodeInfo info)
     {
         ICompilerProblem problem = new MXMLUnexpectedAttributeProblem(attribute);
@@ -754,7 +754,7 @@ public abstract class MXMLNodeBase exten
      * 
      * @param attribute The MXML attribute from which this node was created.
      */
-    protected void setLocation(MXMLTagAttributeData attribute)
+    protected void setLocation(IMXMLTagAttributeData attribute)
     {
         String sourcePath = attribute.getSourcePath();
         int start = attribute.getAbsoluteStart();
@@ -818,7 +818,7 @@ public abstract class MXMLNodeBase exten
      * <code>&lt;Reparent&gt;</code> tag.
      */
     protected String[] processIncludeInOrExcludeFromAttribute(
-            MXMLTreeBuilder builder, MXMLTagAttributeData attribute)
+            MXMLTreeBuilder builder, IMXMLTagAttributeData attribute)
     {
         MXMLDialect mxmlDialect = builder.getMXMLDialect();
         if (mxmlDialect == MXMLDialect.MXML_2006)

Modified: flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLPropertySpecifierNode.java
URL: http://svn.apache.org/viewvc/flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLPropertySpecifierNode.java?rev=1441616&r1=1441615&r2=1441616&view=diff
==============================================================================
--- flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLPropertySpecifierNode.java (original)
+++ flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLPropertySpecifierNode.java Fri Feb  1 20:24:12 2013
@@ -23,7 +23,7 @@ import java.util.Collection;
 import java.util.EnumSet;
 import java.util.List;
 
-import org.apache.flex.compiler.common.SourceLocation;
+import org.apache.flex.compiler.common.ISourceLocation;
 import org.apache.flex.compiler.constants.IASLanguageConstants;
 import org.apache.flex.compiler.definitions.IClassDefinition;
 import org.apache.flex.compiler.definitions.IDefinition;
@@ -36,7 +36,7 @@ import org.apache.flex.compiler.internal
 import org.apache.flex.compiler.internal.scopes.ASScope;
 import org.apache.flex.compiler.internal.scopes.MXMLFileScope;
 import org.apache.flex.compiler.internal.tree.as.NodeBase;
-import org.apache.flex.compiler.mxml.MXMLTagAttributeData;
+import org.apache.flex.compiler.mxml.IMXMLTagAttributeData;
 import org.apache.flex.compiler.mxml.MXMLTagData;
 import org.apache.flex.compiler.mxml.MXMLTextData;
 import org.apache.flex.compiler.mxml.MXMLUnitData;
@@ -193,7 +193,7 @@ class MXMLPropertySpecifierNode extends 
      */
     @Override
     protected void initializeFromAttribute(MXMLTreeBuilder builder,
-                                           MXMLTagAttributeData attribute,
+                                           IMXMLTagAttributeData attribute,
                                            MXMLNodeInfo info)
     {
         super.initializeFromAttribute(builder, attribute, info);
@@ -212,14 +212,14 @@ class MXMLPropertySpecifierNode extends 
     }
 
     private void processFragments(MXMLTreeBuilder builder,
-                                  SourceLocation sourceLocation,
+                                  ISourceLocation sourceLocation,
                                   MXMLNodeInfo info)
     {
         ITypeDefinition propertyType = getPropertyType(builder);
 
         ISourceFragment[] fragments = info.getSourceFragments();
 
-        SourceLocation location = info.getSourceLocation();
+        ISourceLocation location = info.getSourceLocation();
         if (location == null)
             location = sourceLocation;
 

Modified: flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLReparentNode.java
URL: http://svn.apache.org/viewvc/flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLReparentNode.java?rev=1441616&r1=1441615&r2=1441616&view=diff
==============================================================================
--- flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLReparentNode.java (original)
+++ flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLReparentNode.java Fri Feb  1 20:24:12 2013
@@ -22,7 +22,7 @@ package org.apache.flex.compiler.interna
 import org.apache.flex.compiler.internal.mxml.MXMLDialect;
 import org.apache.flex.compiler.internal.tree.as.NodeBase;
 import org.apache.flex.compiler.mxml.IMXMLLanguageConstants;
-import org.apache.flex.compiler.mxml.MXMLTagAttributeData;
+import org.apache.flex.compiler.mxml.IMXMLTagAttributeData;
 import org.apache.flex.compiler.mxml.MXMLTagData;
 import org.apache.flex.compiler.problems.ICompilerProblem;
 import org.apache.flex.compiler.problems.MXMLEmptyAttributeProblem;
@@ -87,7 +87,7 @@ class MXMLReparentNode extends MXMLNodeB
 
     @Override
     protected void processTagSpecificAttribute(MXMLTreeBuilder builder, MXMLTagData tag,
-                                               MXMLTagAttributeData attribute,
+                                               IMXMLTagAttributeData attribute,
                                                MXMLNodeInfo info)
     {
         if (attribute.isSpecialAttribute(ATTRIBUTE_TARGET))
@@ -104,7 +104,7 @@ class MXMLReparentNode extends MXMLNodeB
     }
 
     private String processTargetAttribute(MXMLTreeBuilder builder,
-                                          MXMLTagAttributeData attribute)
+                                          IMXMLTagAttributeData attribute)
     {
         MXMLDialect mxmlDialect = builder.getMXMLDialect();
 

Modified: flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLResourceNode.java
URL: http://svn.apache.org/viewvc/flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLResourceNode.java?rev=1441616&r1=1441615&r2=1441616&view=diff
==============================================================================
--- flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLResourceNode.java (original)
+++ flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLResourceNode.java Fri Feb  1 20:24:12 2013
@@ -19,7 +19,7 @@
 
 package org.apache.flex.compiler.internal.tree.mxml;
 
-import org.apache.flex.compiler.common.SourceLocation;
+import org.apache.flex.compiler.common.ISourceLocation;
 import org.apache.flex.compiler.constants.IMetaAttributeConstants;
 import org.apache.flex.compiler.definitions.ITypeDefinition;
 import org.apache.flex.compiler.definitions.metadata.IMetaTagAttribute;
@@ -90,7 +90,7 @@ class MXMLResourceNode extends MXMLCompi
 
     @Override
     public void initializeFromText(MXMLTreeBuilder builder,
-                                   String text, SourceLocation location)
+                                   String text, ISourceLocation location)
     {
         parseTextAndSetAttributes(builder, text, location,
                                   IMetaAttributeConstants.ATTRIBUTE_RESOURCE);

Modified: flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLScriptNode.java
URL: http://svn.apache.org/viewvc/flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLScriptNode.java?rev=1441616&r1=1441615&r2=1441616&view=diff
==============================================================================
--- flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLScriptNode.java (original)
+++ flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLScriptNode.java Fri Feb  1 20:24:12 2013
@@ -41,7 +41,7 @@ import org.apache.flex.compiler.internal
 import org.apache.flex.compiler.internal.tree.as.ScopedBlockNode;
 import org.apache.flex.compiler.internal.workspaces.Workspace;
 import org.apache.flex.compiler.mxml.IMXMLLanguageConstants;
-import org.apache.flex.compiler.mxml.MXMLTagAttributeData;
+import org.apache.flex.compiler.mxml.IMXMLTagAttributeData;
 import org.apache.flex.compiler.mxml.MXMLTagData;
 import org.apache.flex.compiler.mxml.MXMLTextData;
 import org.apache.flex.compiler.mxml.MXMLUnitData;
@@ -109,7 +109,7 @@ class MXMLScriptNode extends MXMLNodeBas
 
     @Override
     protected void processTagSpecificAttribute(MXMLTreeBuilder builder, MXMLTagData tag,
-                                               MXMLTagAttributeData attribute,
+                                               IMXMLTagAttributeData attribute,
                                                MXMLNodeInfo info)
     {
         if (attribute.isSpecialAttribute(ATTRIBUTE_SOURCE))

Modified: flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLSpecifierNodeBase.java
URL: http://svn.apache.org/viewvc/flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLSpecifierNodeBase.java?rev=1441616&r1=1441615&r2=1441616&view=diff
==============================================================================
--- flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLSpecifierNodeBase.java (original)
+++ flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLSpecifierNodeBase.java Fri Feb  1 20:24:12 2013
@@ -21,7 +21,7 @@ package org.apache.flex.compiler.interna
 
 import org.apache.flex.compiler.definitions.IDefinition;
 import org.apache.flex.compiler.internal.tree.as.NodeBase;
-import org.apache.flex.compiler.mxml.MXMLTagAttributeData;
+import org.apache.flex.compiler.mxml.IMXMLTagAttributeData;
 import org.apache.flex.compiler.mxml.MXMLTextData;
 import org.apache.flex.compiler.tree.mxml.IMXMLSpecifierNode;
 
@@ -151,7 +151,7 @@ abstract class MXMLSpecifierNodeBase ext
      * node start and end offset from local to absolute offsets.
      */
     protected void initializeFromAttribute(MXMLTreeBuilder builder,
-                                           MXMLTagAttributeData attribute,
+                                           IMXMLTagAttributeData attribute,
                                            MXMLNodeInfo info)
     {
         setLocation(attribute);

Modified: flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLStateNode.java
URL: http://svn.apache.org/viewvc/flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLStateNode.java?rev=1441616&r1=1441615&r2=1441616&view=diff
==============================================================================
--- flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLStateNode.java (original)
+++ flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLStateNode.java Fri Feb  1 20:24:12 2013
@@ -24,8 +24,8 @@ import org.apache.flex.compiler.common.I
 import org.apache.flex.compiler.constants.INamespaceConstants;
 import org.apache.flex.compiler.definitions.IDefinition;
 import org.apache.flex.compiler.internal.tree.as.NodeBase;
+import org.apache.flex.compiler.mxml.IMXMLTagAttributeData;
 import org.apache.flex.compiler.mxml.IStateDefinition;
-import org.apache.flex.compiler.mxml.MXMLTagAttributeData;
 import org.apache.flex.compiler.mxml.MXMLTagData;
 import org.apache.flex.compiler.mxml.StateDefinition;
 import org.apache.flex.compiler.problems.ICompilerProblem;
@@ -166,7 +166,7 @@ class MXMLStateNode extends MXMLInstance
 
     @Override
     protected void processTagSpecificAttribute(MXMLTreeBuilder builder, MXMLTagData tag,
-                                               MXMLTagAttributeData attribute,
+                                               IMXMLTagAttributeData attribute,
                                                MXMLNodeInfo info)
     {
         String value = attribute.getRawValue();
@@ -189,7 +189,7 @@ class MXMLStateNode extends MXMLInstance
 
     @Override
     protected String[] processIncludeInOrExcludeFromAttribute(MXMLTreeBuilder builder,
-                                                              MXMLTagAttributeData attribute)
+                                                              IMXMLTagAttributeData attribute)
     {
         // TODO Report the correct problem.
         ICompilerProblem problem = new MXMLSemanticProblem(attribute);
@@ -199,7 +199,7 @@ class MXMLStateNode extends MXMLInstance
 
     @Override
     protected String processItemCreationPolicyAttribute(MXMLTreeBuilder builder,
-                                                        MXMLTagAttributeData attribute)
+                                                        IMXMLTagAttributeData attribute)
     {
         // TODO Report the correct problem.
         ICompilerProblem problem = new MXMLSemanticProblem(attribute);
@@ -209,7 +209,7 @@ class MXMLStateNode extends MXMLInstance
 
     @Override
     protected String processItemDestructionPolicyAttribute(MXMLTreeBuilder builder,
-                                                           MXMLTagAttributeData attribute)
+                                                           IMXMLTagAttributeData attribute)
     {
         // TODO Report the correct problem.
         ICompilerProblem problem = new MXMLSemanticProblem(attribute);

Modified: flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLStringNode.java
URL: http://svn.apache.org/viewvc/flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLStringNode.java?rev=1441616&r1=1441615&r2=1441616&view=diff
==============================================================================
--- flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLStringNode.java (original)
+++ flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLStringNode.java Fri Feb  1 20:24:12 2013
@@ -19,11 +19,11 @@
 
 package org.apache.flex.compiler.internal.tree.mxml;
 
-import org.apache.flex.compiler.common.SourceLocation;
+import org.apache.flex.compiler.common.ISourceLocation;
 import org.apache.flex.compiler.constants.IASLanguageConstants;
 import org.apache.flex.compiler.internal.parsing.SourceFragment;
 import org.apache.flex.compiler.internal.tree.as.NodeBase;
-import org.apache.flex.compiler.mxml.MXMLTagAttributeData;
+import org.apache.flex.compiler.mxml.IMXMLTagAttributeData;
 import org.apache.flex.compiler.mxml.MXMLTagData;
 import org.apache.flex.compiler.problems.ICompilerProblem;
 import org.apache.flex.compiler.problems.MXMLDualContentProblem;
@@ -76,7 +76,7 @@ class MXMLStringNode extends MXMLExpress
 
     @Override
     protected void processTagSpecificAttribute(MXMLTreeBuilder builder, MXMLTagData tag,
-                                               MXMLTagAttributeData attribute,
+                                               IMXMLTagAttributeData attribute,
                                                MXMLNodeInfo info)
     {
         if (attribute.isSpecialAttribute(ATTRIBUTE_SOURCE))
@@ -89,7 +89,7 @@ class MXMLStringNode extends MXMLExpress
                 String text = builder.readExternalFile(attribute, sourcePath);
                 if (text != null)
                 {
-                    SourceLocation location = attribute.getValueLocation();
+                    ISourceLocation location = attribute.getValueLocation();
                     SourceFragment fragment = new SourceFragment(text, text,
                             location.getStart(), location.getLine(), location.getColumn());
 

Modified: flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLStyleNode.java
URL: http://svn.apache.org/viewvc/flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLStyleNode.java?rev=1441616&r1=1441615&r2=1441616&view=diff
==============================================================================
--- flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLStyleNode.java (original)
+++ flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLStyleNode.java Fri Feb  1 20:24:12 2013
@@ -28,7 +28,7 @@ import org.apache.flex.compiler.internal
 import org.apache.flex.compiler.internal.css.CSSDocument;
 import org.apache.flex.compiler.internal.tree.as.NodeBase;
 import org.apache.flex.compiler.mxml.IMXMLLanguageConstants;
-import org.apache.flex.compiler.mxml.MXMLTagAttributeData;
+import org.apache.flex.compiler.mxml.IMXMLTagAttributeData;
 import org.apache.flex.compiler.mxml.MXMLTagData;
 import org.apache.flex.compiler.mxml.MXMLTextData;
 import org.apache.flex.compiler.problems.ICompilerProblem;
@@ -105,7 +105,7 @@ class MXMLStyleNode extends MXMLNodeBase
 
     @Override
     protected void processTagSpecificAttribute(MXMLTreeBuilder builder, MXMLTagData tag,
-                                               MXMLTagAttributeData attribute,
+                                               IMXMLTagAttributeData attribute,
                                                MXMLNodeInfo info)
     {
         if (attribute.isSpecialAttribute(ATTRIBUTE_SOURCE))

Modified: flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLStyleSpecifierNode.java
URL: http://svn.apache.org/viewvc/flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLStyleSpecifierNode.java?rev=1441616&r1=1441615&r2=1441616&view=diff
==============================================================================
--- flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLStyleSpecifierNode.java (original)
+++ flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLStyleSpecifierNode.java Fri Feb  1 20:24:12 2013
@@ -25,7 +25,7 @@ import org.apache.flex.compiler.common.I
 import org.apache.flex.compiler.definitions.IDefinition;
 import org.apache.flex.compiler.definitions.IStyleDefinition;
 import org.apache.flex.compiler.internal.tree.as.NodeBase;
-import org.apache.flex.compiler.mxml.MXMLTagAttributeData;
+import org.apache.flex.compiler.mxml.IMXMLTagAttributeData;
 import org.apache.flex.compiler.mxml.MXMLTagData;
 import org.apache.flex.compiler.problems.MXMLInvalidStyleProblem;
 import org.apache.flex.compiler.tree.ASTNodeID;
@@ -61,7 +61,7 @@ class MXMLStyleSpecifierNode extends MXM
     }
 
     @Override
-    protected void initializeFromAttribute(MXMLTreeBuilder builder, MXMLTagAttributeData attribute, MXMLNodeInfo info)
+    protected void initializeFromAttribute(MXMLTreeBuilder builder, IMXMLTagAttributeData attribute, MXMLNodeInfo info)
     {
         super.initializeFromAttribute(builder, attribute, info);
         validateStyle(builder, attribute);

Modified: flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLTreeBuilder.java
URL: http://svn.apache.org/viewvc/flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLTreeBuilder.java?rev=1441616&r1=1441615&r2=1441616&view=diff
==============================================================================
--- flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLTreeBuilder.java (original)
+++ flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLTreeBuilder.java Fri Feb  1 20:24:12 2013
@@ -33,6 +33,7 @@ import org.apache.commons.io.IOUtils;
 
 import org.apache.flex.compiler.common.DependencyType;
 import org.apache.flex.compiler.common.IFileSpecificationGetter;
+import org.apache.flex.compiler.common.ISourceLocation;
 import org.apache.flex.compiler.common.SourceLocation;
 import org.apache.flex.compiler.constants.IASLanguageConstants;
 import org.apache.flex.compiler.definitions.IDefinition;
@@ -56,7 +57,7 @@ import org.apache.flex.compiler.internal
 import org.apache.flex.compiler.internal.workspaces.Workspace;
 import org.apache.flex.compiler.mxml.IMXMLData;
 import org.apache.flex.compiler.mxml.IMXMLDataManager;
-import org.apache.flex.compiler.mxml.MXMLTagAttributeData;
+import org.apache.flex.compiler.mxml.IMXMLTagAttributeData;
 import org.apache.flex.compiler.problems.ICompilerProblem;
 import org.apache.flex.compiler.problems.MXMLInvalidPercentageProblem;
 import org.apache.flex.compiler.problems.MXMLInvalidSourceAttributeProblem;
@@ -451,7 +452,7 @@ public class MXMLTreeBuilder
      */
     private MXMLLiteralNode createLiteralNode(IMXMLNode propertyNode, ITypeDefinition type,
                                               ISourceFragment[] fragments,
-                                              SourceLocation location,
+                                              ISourceLocation location,
                                               EnumSet<TextParsingFlags> flags,
                                               Object defaultValue)
     {
@@ -479,7 +480,7 @@ public class MXMLTreeBuilder
 
     public NodeBase parseExpressionNode(ITypeDefinition type,
                                         ISourceFragment[] fragments,
-                                        SourceLocation location,
+                                        ISourceLocation location,
                                         EnumSet<TextParsingFlags> flags,
                                         Object defaultValue,
                                         MXMLClassDefinitionNode classNode,
@@ -526,7 +527,7 @@ public class MXMLTreeBuilder
      */
     public NodeBase createExpressionNode(IMXMLNode propertyNode, ITypeDefinition type,
                                          ISourceFragment[] fragments,
-                                         SourceLocation location,
+                                         ISourceLocation location,
                                          EnumSet<TextParsingFlags> flags,
                                          Object defaultValue,
                                          MXMLClassDefinitionNode classNode)
@@ -626,7 +627,7 @@ public class MXMLTreeBuilder
      */
     public MXMLInstanceNode createInstanceNode(NodeBase parent, ITypeDefinition type,
                                                ISourceFragment[] fragments,
-                                               SourceLocation location,
+                                               ISourceLocation location,
                                                EnumSet<TextParsingFlags> flags,
                                                MXMLClassDefinitionNode classNode)
     {
@@ -755,14 +756,14 @@ public class MXMLTreeBuilder
     /**
      * Reads an external file specified by a <code>source</code> attribute.
      * 
-     * @param sourceAttribute The {@link MXMLTagAttributeData} representing the
+     * @param sourceAttribute The {@link IMXMLTagAttributeData} representing the
      * <code>source</code> attribute.
      * @param resolvedSourcePath The path to the file specified by the attribute,
      * resolved and normalized.
      * @return A String containing the contents of the file, or <code>null</code>
      * if the file does not exist or cannot be read.
      */
-    public String readExternalFile(MXMLTagAttributeData sourceAttribute,
+    public String readExternalFile(IMXMLTagAttributeData sourceAttribute,
                                    String resolvedSourcePath)
     {
         final IFileSpecificationGetter fileSpecGetter = getFileSpecificationGetter();
@@ -798,14 +799,14 @@ public class MXMLTreeBuilder
      * Gets the {@link IMXMLData} representation of an external file specified by
      * a <code>source</code> attribute.
      * 
-     * @param sourceAttribute The {@link MXMLTagAttributeData} representing the
+     * @param sourceAttribute The {@link IMXMLTagAttributeData} representing the
      * <code>source</code> attribute.
      * @param resolvedSourcePath The path to the file specified by the attribute,
      * resolved and normalized.
      * @return An {@link IMXMLData} object representing the contents of the file,
      * or <code>null</code> if the file does not exist or cannot be read.
      */
-    public IMXMLData getExternalMXMLData(MXMLTagAttributeData sourceAttribute,
+    public IMXMLData getExternalMXMLData(IMXMLTagAttributeData sourceAttribute,
                                          String resolvedSourcePath)
     {
         File file = new File(resolvedSourcePath);

Modified: flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLVectorNode.java
URL: http://svn.apache.org/viewvc/flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLVectorNode.java?rev=1441616&r1=1441615&r2=1441616&view=diff
==============================================================================
--- flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLVectorNode.java (original)
+++ flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLVectorNode.java Fri Feb  1 20:24:12 2013
@@ -36,7 +36,7 @@ import org.apache.flex.compiler.internal
 import org.apache.flex.compiler.internal.projects.FlexProject;
 import org.apache.flex.compiler.internal.scopes.ASProjectScope;
 import org.apache.flex.compiler.internal.tree.as.NodeBase;
-import org.apache.flex.compiler.mxml.MXMLTagAttributeData;
+import org.apache.flex.compiler.mxml.IMXMLTagAttributeData;
 import org.apache.flex.compiler.mxml.MXMLTagData;
 import org.apache.flex.compiler.tree.ASTNodeID;
 import org.apache.flex.compiler.tree.mxml.IMXMLVectorNode;
@@ -94,7 +94,7 @@ class MXMLVectorNode extends MXMLInstanc
 
     @Override
     protected void processTagSpecificAttribute(MXMLTreeBuilder builder, MXMLTagData tag,
-                                               MXMLTagAttributeData attribute,
+                                               IMXMLTagAttributeData attribute,
                                                MXMLNodeInfo info)
     {
         String value = attribute.getRawValue();

Modified: flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLXMLNode.java
URL: http://svn.apache.org/viewvc/flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLXMLNode.java?rev=1441616&r1=1441615&r2=1441616&view=diff
==============================================================================
--- flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLXMLNode.java (original)
+++ flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/mxml/MXMLXMLNode.java Fri Feb  1 20:24:12 2013
@@ -26,13 +26,12 @@ import org.apache.flex.compiler.definiti
 import org.apache.flex.compiler.internal.projects.FlexProject;
 import org.apache.flex.compiler.internal.scopes.ASProjectScope;
 import org.apache.flex.compiler.internal.tree.as.NodeBase;
-import org.apache.flex.compiler.mxml.MXMLTagAttributeData;
+import org.apache.flex.compiler.mxml.IMXMLTagAttributeData;
 import org.apache.flex.compiler.mxml.MXMLTagData;
 import org.apache.flex.compiler.problems.ICompilerProblem;
 import org.apache.flex.compiler.problems.MXMLDualContentProblem;
 import org.apache.flex.compiler.problems.MXMLUnknownXMLFormatProblem;
 import org.apache.flex.compiler.problems.MXMLXMLOnlyOneRootTagProblem;
-//import org.apache.flex.compiler.problems.MXMLXMLRequireContentProblem;
 import org.apache.flex.compiler.projects.ICompilerProject;
 import org.apache.flex.compiler.tree.ASTNodeID;
 import org.apache.flex.compiler.tree.mxml.IMXMLNode;
@@ -88,7 +87,7 @@ class MXMLXMLNode extends MXMLInstanceNo
 
     @Override
     protected void processTagSpecificAttribute(MXMLTreeBuilder builder, MXMLTagData tag,
-                                               MXMLTagAttributeData attribute,
+                                               IMXMLTagAttributeData attribute,
                                                MXMLNodeInfo info)
     {
         if (attribute.isSpecialAttribute(ATTRIBUTE_SOURCE))



Mime
View raw message