X-Git-Url: http://secure.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 d0cf93d..9133d69 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 @@ -16,6 +16,8 @@ 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. * @@ -82,28 +84,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); @@ -112,7 +114,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; @@ -131,7 +133,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); @@ -144,7 +146,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) { @@ -202,7 +204,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); @@ -211,7 +213,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( @@ -255,7 +257,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);