flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mschma...@apache.org
Subject svn commit: r1453330 - in /flex/falcon/trunk/compiler/src/org/apache/flex/compiler: internal/tree/as/TypedExpressionNode.java tree/as/ITypedExpressionNode.java
Date Wed, 06 Mar 2013 13:40:44 GMT
Author: mschmalle
Date: Wed Mar  6 13:40:44 2013
New Revision: 1453330

URL: http://svn.apache.org/r1453330
Log:
Flex:Falcon
- Added hasTypedOperator to ITypedExpressionNode

Modified:
    flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/as/TypedExpressionNode.java
    flex/falcon/trunk/compiler/src/org/apache/flex/compiler/tree/as/ITypedExpressionNode.java

Modified: flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/as/TypedExpressionNode.java
URL: http://svn.apache.org/viewvc/flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/as/TypedExpressionNode.java?rev=1453330&r1=1453329&r2=1453330&view=diff
==============================================================================
--- flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/as/TypedExpressionNode.java
(original)
+++ flex/falcon/trunk/compiler/src/org/apache/flex/compiler/internal/tree/as/TypedExpressionNode.java
Wed Mar  6 13:40:44 2013
@@ -280,24 +280,24 @@ public class TypedExpressionNode extends
     {
         return typeNode;
     }
-    
-    //
-    // Other methods
-    //
 
-    // TODO Add to interface?
+    @Override
     public boolean hasTypedOperator()
     {
         return typeOperatorStart != ISourceLocation.UNKNOWN && typeOperatorEnd !=
ISourceLocation.UNKNOWN;
     }
-
-    // TODO Add to interface?
+    
+    //
+    // Other methods
+    //
+    
+    // Add to interface?
     public int getTypedOperatorStart()
     {
         return typeOperatorStart;
     }
 
-    // TODO Add to interface?
+    // Add to interface?
     public int getTypedOperatorEnd()
     {
         return typeOperatorEnd;

Modified: flex/falcon/trunk/compiler/src/org/apache/flex/compiler/tree/as/ITypedExpressionNode.java
URL: http://svn.apache.org/viewvc/flex/falcon/trunk/compiler/src/org/apache/flex/compiler/tree/as/ITypedExpressionNode.java?rev=1453330&r1=1453329&r2=1453330&view=diff
==============================================================================
--- flex/falcon/trunk/compiler/src/org/apache/flex/compiler/tree/as/ITypedExpressionNode.java
(original)
+++ flex/falcon/trunk/compiler/src/org/apache/flex/compiler/tree/as/ITypedExpressionNode.java
Wed Mar  6 13:40:44 2013
@@ -52,4 +52,11 @@ public interface ITypedExpressionNode ex
      * @return an {@link IExpressionNode}
      */
     IExpressionNode getTypeNode();
+    
+    /**
+     * Whether the node contains an actual existing operator location.
+     * 
+     * @return True if a the <code>.<</code> actually exists in source.
+     */
+    boolean hasTypedOperator();
 }



Mime
View raw message