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;
*/
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;
public void checkExceptionHandlers(
TypeBinding[] raisedExceptions,
- AstNode location,
+ ASTNode location,
FlowInfo flowInfo,
BlockScope scope) {
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...
public void checkExceptionHandlers(
TypeBinding raisedException,
- AstNode location,
+ ASTNode location,
FlowInfo flowInfo,
BlockScope scope) {
// 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...
void removeFinalAssignmentIfAny(Reference reference) {
}
- public AstNode subRoutine() {
+ public ASTNode subRoutine() {
return null;
}