1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-08 18:26:01 +02:00

Removed never used method from IASTTranslationUnit.

This commit is contained in:
John Camelon 2005-02-08 23:27:29 +00:00
parent 5cd81de8ff
commit db13892245
3 changed files with 1 additions and 22 deletions

View file

@ -59,8 +59,6 @@ public interface IASTTranslationUnit extends IASTNode {
*/ */
public IASTName[] getReferences(IBinding binding); public IASTName[] getReferences(IBinding binding);
public IASTNodeLocation getLocationInfo(int offset);
public IASTNodeLocation[] getLocationInfo(int offset, int length); public IASTNodeLocation[] getLocationInfo(int offset, int length);
public IASTNode[] selectNodesForLocation(String path, int offset, int length); public IASTNode[] selectNodesForLocation(String path, int offset, int length);

View file

@ -113,14 +113,6 @@ public class CASTTranslationUnit extends CASTNode implements IASTTranslationUnit
} }
/* (non-Javadoc)
* @see org.eclipse.cdt.core.dom.ast.IASTTranslationUnit#getLocationInfo(int)
*/
public IASTNodeLocation getLocationInfo(int offset) {
if( resolver == null ) return null;
return resolver.getLocation(offset);
}
/* (non-Javadoc) /* (non-Javadoc)
* @see org.eclipse.cdt.core.dom.ast.IASTTranslationUnit#getLocationInfo(int, int) * @see org.eclipse.cdt.core.dom.ast.IASTTranslationUnit#getLocationInfo(int, int)

View file

@ -132,17 +132,6 @@ public class CPPASTTranslationUnit extends CPPASTNode implements
return null; return null;
} }
/*
* (non-Javadoc)
*
* @see org.eclipse.cdt.core.dom.ast.IASTTranslationUnit#getLocationInfo(int)
*/
public IASTNodeLocation getLocationInfo(int offset) {
if (resolver == null)
return null;
return resolver.getLocation(offset);
}
/* /*
* (non-Javadoc) * (non-Javadoc)
* *