Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Schorn2008-03-03 12:56:38 +0000
committerMarkus Schorn2008-03-03 12:56:38 +0000
commit4aa04977c3f65d67dfa55325bb248fe5f6fb30af (patch)
treec8bf6e660c1bf8f292d086d29b7c6d1bda454188 /core/org.eclipse.cdt.core/model/org
parent90846e6bfa87c27ceef67ade5c5e3eecd24784d6 (diff)
downloadorg.eclipse.cdt-4aa04977c3f65d67dfa55325bb248fe5f6fb30af.tar.gz
org.eclipse.cdt-4aa04977c3f65d67dfa55325bb248fe5f6fb30af.tar.xz
org.eclipse.cdt-4aa04977c3f65d67dfa55325bb248fe5f6fb30af.zip
Combines IASTTranslationUnit.selectNodeForLocation() and ILanguage.getSelectedNodes() into new API.
Diffstat (limited to 'core/org.eclipse.cdt.core/model/org')
-rw-r--r--core/org.eclipse.cdt.core/model/org/eclipse/cdt/core/model/ILanguage.java8
1 files changed, 2 insertions, 6 deletions
diff --git a/core/org.eclipse.cdt.core/model/org/eclipse/cdt/core/model/ILanguage.java b/core/org.eclipse.cdt.core/model/org/eclipse/cdt/core/model/ILanguage.java
index 3d7c49cdbd4..30f86e68acf 100644
--- a/core/org.eclipse.cdt.core/model/org/eclipse/cdt/core/model/ILanguage.java
+++ b/core/org.eclipse.cdt.core/model/org/eclipse/cdt/core/model/ILanguage.java
@@ -95,13 +95,9 @@ public interface ILanguage extends IAdaptable {
/**
* Gather the list of IASTNames that appear the selection with the given start offset
* and length in the given ITranslationUnit.
- *
- * @param tu
- * @param start
- * @param length
- * @param style
- * @return
+ * @deprecated use {@link IASTTranslationUnit#getNodeSelector(String)}, instead.
*/
+ @Deprecated
public IASTName[] getSelectedNames(IASTTranslationUnit ast, int start, int length);
/**

Back to the top