X-Git-Url: http://git.phpeclipse.com diff --git a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/core/util/CommentRecorderParser.java b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/core/util/CommentRecorderParser.java index ae22db0..25ff589 100644 --- a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/core/util/CommentRecorderParser.java +++ b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/core/util/CommentRecorderParser.java @@ -10,13 +10,11 @@ *******************************************************************************/ package net.sourceforge.phpdt.internal.core.util; +import net.sourceforge.phpdt.internal.compiler.ast.CompilationUnitDeclaration; import net.sourceforge.phpdt.internal.compiler.impl.CompilerOptions; import net.sourceforge.phpdt.internal.compiler.parser.UnitParser; import net.sourceforge.phpdt.internal.compiler.problem.ProblemReporter; import net.sourceforge.phpdt.internal.compiler.problem.ProblemSeverities; -import net.sourceforge.phpeclipse.internal.compiler.ast.CompilationUnitDeclaration; - -import org.eclipse.core.resources.IResource; /** * Internal parser used for parsing source to create DOM AST nodes. @@ -84,28 +82,28 @@ public class CommentRecorderParser extends UnitParser { // } // /* (non-Javadoc) -// * @see org.eclipse.jdt.internal.compiler.parser.Parser#consumeClassHeader() +// * @see net.sourceforge.phpdt.internal.compiler.parser.Parser#consumeClassHeader() // */ // protected void consumeClassHeader() { // pushOnCommentsStack(0, this.scanner.commentPtr); // super.consumeClassHeader(); // } // /* (non-Javadoc) -// * @see org.eclipse.jdt.internal.compiler.parser.Parser#consumeEmptyClassMemberDeclaration() +// * @see net.sourceforge.phpdt.internal.compiler.parser.Parser#consumeEmptyClassMemberDeclaration() // */ // protected void consumeEmptyClassMemberDeclaration() { // pushOnCommentsStack(0, this.scanner.commentPtr); // super.consumeEmptyClassMemberDeclaration(); // } // /* (non-Javadoc) -// * @see org.eclipse.jdt.internal.compiler.parser.Parser#consumeEmptyTypeDeclaration() +// * @see net.sourceforge.phpdt.internal.compiler.parser.Parser#consumeEmptyTypeDeclaration() // */ // protected void consumeEmptyTypeDeclaration() { // pushOnCommentsStack(0, this.scanner.commentPtr); // super.consumeEmptyTypeDeclaration(); // } // /* (non-Javadoc) -// * @see org.eclipse.jdt.internal.compiler.parser.Parser#consumeInterfaceHeader() +// * @see net.sourceforge.phpdt.internal.compiler.parser.Parser#consumeInterfaceHeader() // */ // protected void consumeInterfaceHeader() { // pushOnCommentsStack(0, this.scanner.commentPtr); @@ -114,7 +112,7 @@ public class CommentRecorderParser extends UnitParser { /** * Insure that start position is always positive. - * @see org.eclipse.jdt.internal.compiler.parser.Parser#containsComment(int, int) + * @see net.sourceforge.phpdt.internal.compiler.parser.Parser#containsComment(int, int) */ public boolean containsComment(int sourceStart, int sourceEnd) { int iComment = this.scanner.commentPtr; @@ -133,7 +131,7 @@ public class CommentRecorderParser extends UnitParser { } /* (non-Javadoc) - * @see org.eclipse.jdt.internal.compiler.parser.Parser#endParse(int) + * @see net.sourceforge.phpdt.internal.compiler.parser.Parser#endParse(int) */ protected CompilationUnitDeclaration endParse(int act) { CompilationUnitDeclaration unit = super.endParse(act); @@ -146,7 +144,7 @@ public class CommentRecorderParser extends UnitParser { /* (non-Javadoc) * Save all source comments currently stored before flushing them. - * @see org.eclipse.jdt.internal.compiler.parser.Parser#flushCommentsDefinedPriorTo(int) + * @see net.sourceforge.phpdt.internal.compiler.parser.Parser#flushCommentsDefinedPriorTo(int) */ public int flushCommentsDefinedPriorTo(int position) { @@ -204,7 +202,7 @@ public class CommentRecorderParser extends UnitParser { } /* (non-Javadoc) - * @see org.eclipse.jdt.internal.compiler.parser.Parser#initialize() + * @see net.sourceforge.phpdt.internal.compiler.parser.Parser#initialize() */ public void initialize(boolean phpMode) { super.initialize(phpMode); @@ -213,7 +211,7 @@ public class CommentRecorderParser extends UnitParser { /* (non-Javadoc) * Create and store a specific comment recorder scanner. - * @see org.eclipse.jdt.internal.compiler.parser.Parser#initializeScanner() + * @see net.sourceforge.phpdt.internal.compiler.parser.Parser#initializeScanner() */ public void initializeScanner() { this.scanner = new CommentRecorderScanner( @@ -257,7 +255,7 @@ public class CommentRecorderParser extends UnitParser { } /* (non-Javadoc) * Save all source comments currently stored before flushing them. - * @see org.eclipse.jdt.internal.compiler.parser.Parser#resetModifiers() + * @see net.sourceforge.phpdt.internal.compiler.parser.Parser#resetModifiers() */ protected void resetModifiers() { pushOnCommentsStack(0, this.scanner.commentPtr);