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:
parent
5cd81de8ff
commit
db13892245
3 changed files with 1 additions and 22 deletions
|
@ -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);
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
*
|
||||
|
|
Loading…
Add table
Reference in a new issue