1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-23 22:52:11 +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 IASTNodeLocation getLocationInfo(int offset);
public IASTNodeLocation[] getLocationInfo(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)
* @see org.eclipse.cdt.core.dom.ast.IASTTranslationUnit#getLocationInfo(int, int)

View file

@ -131,18 +131,7 @@ public class CPPASTTranslationUnit extends CPPASTNode implements
// TODO Auto-generated method stub
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)
*