package net.sourceforge.phpeclipse.internal.compiler.ast;
import net.sourceforge.phpdt.core.compiler.CharOperation;
+import net.sourceforge.phpdt.internal.compiler.ASTVisitor;
import net.sourceforge.phpdt.internal.compiler.CompilationResult;
-import net.sourceforge.phpdt.internal.compiler.IAbstractSyntaxTreeVisitor;
import net.sourceforge.phpdt.internal.compiler.flow.ExceptionHandlingFlowContext;
import net.sourceforge.phpdt.internal.compiler.flow.FlowInfo;
import net.sourceforge.phpdt.internal.compiler.flow.InitializationFlowContext;
public class MethodDeclaration extends AbstractMethodDeclaration {
public TypeReference returnType;
+ public static final int FUNCTION_DEFINITION = 1;
+ public static final int METHOD_DEFINITION = 2;
+ public int type;
/**
* MethodDeclaration constructor comment.
return returnType.toString(tab) + " "; //$NON-NLS-1$
}
- public void traverse(IAbstractSyntaxTreeVisitor visitor, ClassScope classScope) {
+ public void traverse(ASTVisitor visitor, ClassScope classScope) {
if (visitor.visit(this, classScope)) {
if (returnType != null)