* IBM Corporation - initial API and implementation
*******************************************************************************/
package net.sourceforge.phpeclipse.internal.compiler.ast;
-
import java.util.ArrayList;
import net.sourceforge.phpdt.core.compiler.CharOperation;
import net.sourceforge.phpdt.internal.compiler.IAbstractSyntaxTreeVisitor;
import net.sourceforge.phpdt.internal.compiler.impl.ReferenceContext;
import net.sourceforge.phpdt.internal.compiler.lookup.CompilationUnitScope;
-import net.sourceforge.phpdt.internal.compiler.lookup.ImportBinding;
import net.sourceforge.phpdt.internal.compiler.lookup.LocalTypeBinding;
import net.sourceforge.phpdt.internal.compiler.problem.AbortCompilationUnit;
import net.sourceforge.phpdt.internal.compiler.problem.AbortMethod;
import net.sourceforge.phpdt.internal.compiler.problem.ProblemReporter;
import net.sourceforge.phpdt.internal.compiler.problem.ProblemSeverities;
-public class CompilationUnitDeclaration extends AstNode implements ProblemSeverities, ReferenceContext {
+public class CompilationUnitDeclaration extends ASTNode implements ProblemSeverities, ReferenceContext {
public ImportReference currentPackage;
public ImportReference[] imports;
// public TypeDeclaration[] types;
public ArrayList types;
+
//public char[][] name;
public int[][] comments;
if (types != null)
for (int i = 0; i < types.size(); i++) {
- s += ((AstNode) types.get(i)).toString(tab) + "\n"; //$NON-NLS-1$
+ s += ((ASTNode) types.get(i)).toString(tab) + "\n"; //$NON-NLS-1$
}
return s;
}