1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-24 09:25:31 +02:00

Add in Resource/WorkingCopy locations.

This commit is contained in:
John Camelon 2004-12-03 20:37:40 +00:00
parent 03272b1adb
commit 7426918742
2 changed files with 43 additions and 0 deletions

View file

@ -0,0 +1,21 @@
/**********************************************************************
* Copyright (c) 2004 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Common Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/cpl-v10.html
*
* Contributors:
* IBM - Initial API and implementation
**********************************************************************/
package org.eclipse.cdt.core.dom.ast;
import org.eclipse.core.resources.IResource;
/**
* @author jcamelon
*/
public interface IASTResourceLocation extends IASTFileLocation {
public IResource getResource();
}

View file

@ -0,0 +1,22 @@
/**********************************************************************
* Copyright (c) 2004 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Common Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/cpl-v10.html
*
* Contributors:
* IBM - Initial API and implementation
**********************************************************************/
package org.eclipse.cdt.core.dom.ast;
import org.eclipse.cdt.core.model.IWorkingCopy;
/**
* @author jcamelon
*/
public interface IASTWorkingCopyLocation extends IASTResourceLocation {
public IWorkingCopy getWorkingCopy();
}