Syntax highlighting is changeable.
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpdt / internal / compiler / flow / FlowContext.java
index 360ffea..11624b5 100644 (file)
@@ -19,7 +19,7 @@ import net.sourceforge.phpdt.internal.compiler.lookup.TypeBinding;
 import net.sourceforge.phpdt.internal.compiler.lookup.TypeConstants;
 import net.sourceforge.phpdt.internal.compiler.lookup.VariableBinding;
 import net.sourceforge.phpeclipse.internal.compiler.ast.AbstractMethodDeclaration;
-import net.sourceforge.phpeclipse.internal.compiler.ast.AstNode;
+import net.sourceforge.phpeclipse.internal.compiler.ast.ASTNode;
 import net.sourceforge.phpeclipse.internal.compiler.ast.Reference;
 import net.sourceforge.phpeclipse.internal.compiler.ast.TryStatement;
 
@@ -29,12 +29,12 @@ import net.sourceforge.phpeclipse.internal.compiler.ast.TryStatement;
  */
 public class FlowContext implements TypeConstants {
        
-       public AstNode associatedNode;
+       public ASTNode associatedNode;
        public FlowContext parent;
 
        public final static FlowContext NotContinuableContext = new FlowContext(null, null);
                
-       public FlowContext(FlowContext parent, AstNode associatedNode) {
+       public FlowContext(FlowContext parent, ASTNode associatedNode) {
 
                this.parent = parent;
                this.associatedNode = associatedNode;
@@ -47,7 +47,7 @@ public class FlowContext implements TypeConstants {
        
        public void checkExceptionHandlers(
                TypeBinding[] raisedExceptions,
-               AstNode location,
+               ASTNode location,
                FlowInfo flowInfo,
                BlockScope scope) {
 
@@ -73,7 +73,7 @@ public class FlowContext implements TypeConstants {
                FlowContext traversedContext = this;
 
                while (traversedContext != null) {
-                       AstNode sub;
+                       ASTNode sub;
                        if (((sub = traversedContext.subRoutine()) != null) && sub.cannotReturn()) {
                                // traversing a non-returning subroutine means that all unhandled 
                                // exceptions will actually never get sent...
@@ -182,7 +182,7 @@ public class FlowContext implements TypeConstants {
 
        public void checkExceptionHandlers(
                TypeBinding raisedException,
-               AstNode location,
+               ASTNode location,
                FlowInfo flowInfo,
                BlockScope scope) {
 
@@ -193,7 +193,7 @@ public class FlowContext implements TypeConstants {
                // until the point where it is safely handled (Smarter - see comment at the end)
                FlowContext traversedContext = this;
                while (traversedContext != null) {
-                       AstNode sub;
+                       ASTNode sub;
                        if (((sub = traversedContext.subRoutine()) != null) && sub.cannotReturn()) {
                                // traversing a non-returning subroutine means that all unhandled 
                                // exceptions will actually never get sent...
@@ -456,7 +456,7 @@ public class FlowContext implements TypeConstants {
        void removeFinalAssignmentIfAny(Reference reference) {
        }
 
-       public AstNode subRoutine() {
+       public ASTNode subRoutine() {
 
                return null;
        }